Subject: pkg/29363: pkgsrc devel/popt does not complete build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <almeyers@consult-meyers.com>
List: pkgsrc-bugs
Date: 02/13/2005 21:20:00
>Number:         29363
>Category:       pkg
>Synopsis:       pkgsrc devel/popt does not complete build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 13 21:20:00 +0000 2005
>Originator:     A L Meyers
>Release:        latest cvs version of pkgsrc bootstrapped to Mandrake Linux 10.1 i386
>Organization:
>Environment:
[alm@localhost bin]$ uname -a
Linux localhost.localdomain 2.6.8.1-12mdk #1 Fri Oct 1 12:53:41 CEST 2004 i686 AMD Athlon(tm) XP 2800+ unknown GNU/Linux
[alm@localhost bin]$


>Description:
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.  -I/usr/include  -Wall -O2 -I/usr/include -c `test -f 'test1.c' || echo './'`test1.c
libtool --mode=link gcc  -Wall -O2 -I/usr/include  -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o test1 -all-static test1.o libpopt.la
gcc -Wall -O2 -Wl,-R/usr/pkg/lib -o test1 -static test1.o  ./.libs/libpopt.a -L/usr/pkgsrc/devel/popt/work/.buildlink/lib
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[2]: *** [test1] Fehler 1
make[2]: Leaving directory `/usr/pkgsrc/devel/popt/work/popt-1.7'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/pkgsrc/devel/popt/work/popt-1.7'
make: *** [all] Fehler 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/devel/popt
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/devel/popt/work/.work.log
===>
*** Error code 1

>How-To-Repeat:
run "bmake install" in devel/popt/
>Fix:
none known