[MacPorts] #13827: expect fails to build
#13827: expect fails to build ----------------------------------+----------------------------------------- Reporter: liontooth@cogweb.net | Owner: macports-tickets@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
#13827: expect fails to build on Leopard -----------------------------------+---------------------------------------- Reporter: liontooth@cogweb.net | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: leopard -----------------------------------+---------------------------------------- Changes (by afb@macports.org): * keywords: => leopard * summary: expect fails to build => expect fails to build on Leopard -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13827#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13827: expect fails to build on Leopard -----------------------------------+---------------------------------------- Reporter: liontooth@cogweb.net | Owner: markd@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: leopard -----------------------------------+---------------------------------------- Changes (by ryandesign@macports.org): * cc: markd@macports.org (removed) * owner: macports-tickets@lists.macosforge.org => markd@macports.org Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13827#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13827: expect fails to build on Leopard -----------------------------------+---------------------------------------- Reporter: liontooth@cogweb.net | Owner: markd@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: leopard -----------------------------------+---------------------------------------- Changes (by markd@macports.org): * cc: liontooth@cogweb.net, markd@macports.org (added) Comment: Tcl 8.5.0 seems to have broken expect. I could install it fine until I upgraded Tcl. Not sure what the solution is right now. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13827#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13827: expect fails to build with tcl 8.5 -----------------------------------+---------------------------------------- Reporter: liontooth@cogweb.net | Owner: markd@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: leopard -----------------------------------+---------------------------------------- Changes (by ryandesign@macports.org): * cc: ryandesign@macports.org, bretthoerner@gmail.com (added) * summary: expect fails to build on Leopard => expect fails to build with tcl 8.5 Comment: Has duplicate #14771. I experience the same error on Tiger. FYI: Mac OS X already includes expect in `/usr/bin/expect` (though at least on Tiger it's the older version 5.42.0). -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13827#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13827: expect fails to build with tcl 8.5 -----------------------------------+---------------------------------------- Reporter: liontooth@cogweb.net | Owner: markd@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: leopard -----------------------------------+---------------------------------------- Changes (by mcalhoun@macports.org): * cc: max@clarksys.com (added) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13827#comment:5> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts