[MacPorts] #13827: expect fails to build
MacPorts
trac at macosforge.org
Fri Jan 4 15:43:56 PST 2008
#13827: expect fails to build
----------------------------------+-----------------------------------------
Reporter: liontooth at cogweb.net | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: |
----------------------------------+-----------------------------------------
I was happy to see expect in macports, but it has a build problem on
Leopard:
{{{
port install expect
---> Fetching tcl
---> Attempting to fetch tcl8.5.0-src.tar.gz from
http://downloads.sourceforge.net/tcl
---> Attempting to fetch tcl8.5.0-src.tar.gz from
http://easynews.dl.sourceforge.net/tcl
---> Verifying checksum(s) for tcl
---> Extracting tcl
---> Configuring tcl
---> Building tcl with target all
---> Staging tcl into destroot
---> Installing tcl 8.5.0_0
---> Activating tcl 8.5.0_0
---> Cleaning tcl
---> Fetching expect
---> Attempting to fetch expect-5.43.0.tar.gz from
http://expect.nist.gov/src/
---> Attempting to fetch tcl8.4.14-src.tar.gz from
http://downloads.sourceforge.net/tcl
---> Verifying checksum(s) for expect
---> Extracting expect
---> Configuring expect
---> Building expect with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/expect-5.43"
&& make all " returned error 2
Command output: else true; fi ; \
/usr/bin/gcc-4.0 -c -I. -I.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/tcl8.4.14/generic
-DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\"
-DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER
-DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe
-I/opt/local/include -DDFLT_STTY="\"sane\"" exp_chan.c -o
shared/exp_chan.o ; \
fi
/usr/bin/gcc-4.0 -c -I. -I.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/tcl8.4.14/generic
-DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\"
-DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER
-DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe
-I/opt/local/include -DDFLT_STTY="\"sane\"" Dbg.c
Dbg.c: In function 'PrintStackBelow':
Dbg.c:469: warning: passing argument 3 of 'print_objv' discards qualifiers
from pointer target type
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
if [ ! -d shared ] ; then \
mkdir shared ; \
else true; fi ; \
/usr/bin/gcc-4.0 -c -I. -I.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/tcl8.4.14/generic
-DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\"
-DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER
-DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe
-I/opt/local/include -DDFLT_STTY="\"sane\"" Dbg.c -o shared/Dbg.o ; \
fi
rm -f libexpect5.43.a
ar cr libexpect5.43.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: file: libexpect5.43.a(exp_regexp.o) has no symbols
ranlib: file: libexpect5.43.a(exp_closetcl.o) has no symbols
ranlib: file: libexpect5.43.a(exp_memmove.o) has no symbols
ranlib libexpect5.43.a
ranlib: file: libexpect5.43.a(exp_regexp.o) has no symbols
ranlib: file: libexpect5.43.a(exp_closetcl.o) has no symbols
ranlib: file: libexpect5.43.a(exp_memmove.o) has no symbols
/usr/bin/gcc-4.0 -O2 -O2 -pipe -I/opt/local/include -L/opt/local/lib
-prebind -headerpad_max_install_names -Wl,-search_paths_first -o expect
exp_main_exp.o libexpect5.43.a
-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.0/unix
-ltcl8.5 -L/opt/local/lib -framework CoreFoundation
Undefined symbols:
"_Tcl_CloseObjCmd", referenced from:
_Exp_CloseObjCmd in libexpect5.43.a(exp_command.o)
"_Tcl_ReturnObjCmd", referenced from:
_Exp_InterReturnObjCmd in libexpect5.43.a(exp_command.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [expect] Error 1
Error: Status 1 encountered during processing.
}}}
Cheers,
Dave
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13827>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list