pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/31049: tcl-expect in pkgsrc doesn't build on 3.0_Beta



>Number:         31049
>Category:       pkg
>Synopsis:       tcl-expect won't compile properly on 3.0_Beta
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 23 19:20:00 +0000 2005
>Originator:     bharder%methodlogic.net@localhost
>Release:        NetBSD 3.0_BETA
>Organization:
         method digital logic
>Environment:
        
        
System: NetBSD manchester.methodlogic.net 3.0_BETA NetBSD 3.0_BETA 
(MANCHESTER2) #3: Sat Aug 13 23:52:21 EDT 2005 
root%manchester.methodlogic.net@localhost:/usr/src/sys/arch/i386/compile/MANCHESTER2
 i386
Architecture: i386
Machine: i386
>Description:
Trying to build tcl-expect fails:

myhost# make
===> *** No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> Checksum SHA1 OK for expect-5.43.0.tar.gz.
=> Checksum RMD160 OK for expect-5.43.0.tar.gz.
===> Extracting for tcl-expect-5.43.0
===> Required installed package tcl>=8.4.7nb1: tcl-8.4.11 found
===> Required installed package libtool-base>=1.5.18nb1: libtool-base-1.5.18nb4 
found
===> Patching for tcl-expect-5.43.0
===> Applying pkgsrc patches for tcl-expect-5.43.0
===> Overriding tools for tcl-expect-5.43.0

[...]

exp_chan.c: In function `expWaitOnAny':
exp_chan.c:526: warning: passing arg 2 of `waitpid' from incompatible pointer 
type
exp_chan.c: In function `expWaitOnOne':
exp_chan.c:545: warning: passing arg 1 of `wait' from incompatible pointer type
 cc -pipe -O2 -I/usr/pkgsrc/lang/tcl-expect/work/.buildlink/include 
-DDFLT_STTY=\"sane\" -I. 
-I/usr/pkgsrc/lang/tcl-expect/work/.buildlink/include/tcl/generic 
-DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/usr/pkg/lib/tcl/expect5.43\" 
-DEXECSCRIPTDIR=\"/usr/pkg/lib/tcl/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST 
-DSTTY_BIN=\"/bin/stty\" -O2 -O2 -DDFLT_STTY=\"sane\" -DEXP_VERSION=\"5.43.0\" 
-DSCRIPTDIR=\"/usr/pkg/lib/tcl/expect5.43\" 
-DEXECSCRIPTDIR=\"/usr/pkg/lib/tcl/expect5.43\" -DSTTY_BIN=\"/bin/stty\" -c 
exp_chan.c -o exp_chan.o >/dev/null 2>&1
libtool  --mode=compile cc -pipe -O2 -I/usr/pkg/include -I/usr/include 
-DDFLT_STTY="\"sane\""  -I. -I. -I/usr/pkg/include/tcl/generic  
-I/usr/X11R6/include  -DEXP_VERSION=\"5.43.0\"  
-DSCRIPTDIR=\"/usr/pkg/lib/tcl/expect5.43\"  
-DEXECSCRIPTDIR=\"/usr/pkg/lib/tcl/expect5.43\"  -DTCL_DEBUGGER  
-DUSE_NON_CONST  -DSTTY_BIN=\"/bin/stty\" -O2 -I/usr/pkg/include -I/usr/include 
-O2 -I/usr/include -DDFLT_STTY="\"sane\"" -I. -I. 
-I/usr/pkg/include/tcl/generic  -I/usr/X11R6/include  -DEXP_VERSION=\"5.43.0\"  
-DSCRIPTDIR=\"/usr/pkg/lib/tcl/expect5.43\"  
-DEXECSCRIPTDIR=\"/usr/pkg/lib/tcl/expect5.43\"  -DTCL_DEBUGGER  
-DUSE_NON_CONST  -DSTTY_BIN=\"/bin/stty\" -c ./Dbg.c
 cc -pipe -O2 -I/usr/pkgsrc/lang/tcl-expect/work/.buildlink/include 
-DDFLT_STTY=\"sane\" -I. 
-I/usr/pkgsrc/lang/tcl-expect/work/.buildlink/include/tcl/generic 
-DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/usr/pkg/lib/tcl/expect5.43\" 
-DEXECSCRIPTDIR=\"/usr/pkg/lib/tcl/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST 
-DSTTY_BIN=\"/bin/stty\" -O2 -O2 -DDFLT_STTY=\"sane\" -DEXP_VERSION=\"5.43.0\" 
-DSCRIPTDIR=\"/usr/pkg/lib/tcl/expect5.43\" 
-DEXECSCRIPTDIR=\"/usr/pkg/lib/tcl/expect5.43\" -DSTTY_BIN=\"/bin/stty\" -c 
./Dbg.c  -fPIC -DPIC -o .libs/Dbg.o
 cc -pipe -O2 -I/usr/pkgsrc/lang/tcl-expect/work/.buildlink/include 
-DDFLT_STTY=\"sane\" -I. 
-I/usr/pkgsrc/lang/tcl-expect/work/.buildlink/include/tcl/generic 
-DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/usr/pkg/lib/tcl/expect5.43\" 
-DEXECSCRIPTDIR=\"/usr/pkg/lib/tcl/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST 
-DSTTY_BIN=\"/bin/stty\" -O2 -O2 -DDFLT_STTY=\"sane\" -DEXP_VERSION=\"5.43.0\" 
-DSCRIPTDIR=\"/usr/pkg/lib/tcl/expect5.43\" 
-DEXECSCRIPTDIR=\"/usr/pkg/lib/tcl/expect5.43\" -DSTTY_BIN=\"/bin/stty\" -c 
./Dbg.c -o Dbg.o >/dev/null 2>&1
rm -f libexpect543.a
ar cr libexpect543.a exp_command.o expect.o pty_termios.o exp_inter.o 
exp_regexp.o exp_tty.o  exp_log.o exp_main_sub.o exp_pty.o exp_trap.o  
exp_console.o exp_strf.o exp_glob.o exp_win.o exp_clib.o  exp_closetcl.o 
exp_memmove.o exp_tty_comm.o  exp_select.o exp_event.o  exp_chan.o Dbg.o
ranlib libexpect543.a
libtool  --mode=link cc -pipe -O2 -I/usr/pkg/include -I/usr/include -O2 
-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,
cc -pipe -O2 -I/usr/pkgsrc/lang/tcl-expect/work/.buildlink/include -O2 
-DDFLT_STTY=\"sane\" -Wl,-R/usr/pkg/lib -o expect exp_main_exp.o -Wl,-rpath  
libexpect543.a -L/usr/pkgsrc/lang/tcl-expect/work/.buildlink/lib 
/usr/pkgsrc/lang/tcl-expect/work/.buildlink/lib/libtcl84.so -lpthread -lm 
-lutil -Wl,--rpath -Wl,/usr/pkgsrc/lang/tcl-expect/work/.buildlink/lib 
-Wl,--rpath -Wl,/usr/pkgsrc/lang/tcl-expect/work/.buildlink/lib
exp_main_exp.o(.text+0x39): In function `main':
: undefined reference to `Expect_Init'
exp_main_exp.o(.text+0x4a): In function `main':
: undefined reference to `exp_parse_argv'
exp_main_exp.o(.text+0x50): In function `main':
: undefined reference to `exp_interactive'
exp_main_exp.o(.text+0x5c): In function `main':
: undefined reference to `exp_cmdfile'
exp_main_exp.o(.text+0x65): In function `main':
: undefined reference to `exp_cmdfilename'
exp_main_exp.o(.text+0x96): In function `main':
: undefined reference to `exp_interpret_cmdfilename'
exp_main_exp.o(.text+0xaa): In function `main':
: undefined reference to `exp_interpret_cmdfile'
exp_main_exp.o(.text+0xb7): In function `main':
: undefined reference to `exp_interpreter'
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/tcl-expect/work/expect-5.43
*** Error code 1

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

Stop.
make: stopped in /usr/pkgsrc/lang/tcl-expect
myhost#
Script done on Sat Aug 20 14:19:00 2005
>How-To-Repeat:
as root: cd /usr/pkgsrc/lang/tcl-expect && make
>Fix:
        

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index