Subject: Re: pkg/32170: lang/tcl-expect fails to build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <joerg@britannica.bec.de>
List: pkgsrc-bugs
Date: 11/27/2005 10:44:02
The following reply was made to PR pkg/32170; it has been noted by GNATS.

From: joerg@britannica.bec.de
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/32170: lang/tcl-expect fails to build
Date: Sun, 27 Nov 2005 11:42:48 +0100

 On Sat, Nov 26, 2005 at 11:26:00PM +0000, dogcow@babymeat.com wrote:
 > 	
 > >How-To-Repeat:
 > pts/6 dogcow@mercury: /usr/pkgsrc/lang/tcl-expect 2912 % make
 > ===> Checking for vulnerabilities in tcl-expect-5.43.0
 > ===> Building for tcl-expect-5.43.0
 > libtool  --mode=link cc -pipe -O2 -march=athlon-xp -finline-functions -ffast-math -fomit-frame-pointer -pipe -I/usr/pkg/include -I/usr/include -O2 -march=athlon-xp -I/usr/include -DDFLT_STTY="\"sane\"" -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o expect exp_main_exp.o libexpect543.a -L/usr/pkg/lib -ltcl84 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib   -lpthread -lm -lutil -Wl,-rpath,
 >   [ note the last argument at the EOL. ]
 >  -pipe -O2 -march=athlon-xp -finline-functions -ffast-math -fomit-frame-pointer -pipe -I/var/tmp/pkgsrc/lang/tcl-expect/work.i386/.buildlink/include -O2 -march=athlon-xp -DDFLT_STTY=\"sane\" -Wl,-R/usr/pkg/lib -o expect exp_main_exp.o -Wl,-rpath  libexpect543.a -L/var/tmp/pkgsrc/lang/tcl-expect/work.i386/.buildlink/lib /var/tmp/pkgsrc/lang/tcl-expect/work.i386/.buildlink/lib/libtcl84.so -lpthread -lm -lutil -Wl,--rpath -Wl,/var/tmp/pkgsrc/lang/tcl-expect/work.i386/.buildlink/lib -Wl,--rpath -Wl,/var/tmp/pkgsrc/lang/tcl-expect/work.i386/.buildlink/lib 
 >   [ note '-Wl,-rpath  libexpect543.a' - presumably, why the library isn't
 >     linked. ]
 > exp_main_exp.o(.text+0x35): In function `main':
 > : undefined reference to `Expect_Init'
 > [other symptoms of not finding libexpect543.a deleted]
 
 Can you please provide the config.log from the work directory?
 
 Joerg