[MacPorts] #14771: expect 5.43.0 fails to build with ld error

MacPorts trac at macosforge.org
Mon Mar 24 13:12:55 PDT 2008


#14771: expect 5.43.0 fails to build with ld error
------------------------------------+---------------------------------------
 Reporter:  bretthoerner at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:  Port Bugs                            
Component:  ports                   |     Version:  1.6.0                                
 Keywords:  expect                  |  
------------------------------------+---------------------------------------
 {{{
 brett at passenger:~$ sudo port -v install expect
 --->  Fetching expect
 --->  expect-5.43.0.tar.gz doesn't seem to exist in
 /opt/local/var/macports/distfiles/expect
 --->  Attempting to fetch expect-5.43.0.tar.gz from
 http://expect.nist.gov/src/
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100  513k  100  513k    0     0   276k      0  0:00:01  0:00:01 --:--:--
 335k
 --->  tcl8.4.14-src.tar.gz doesn't seem to exist in
 /opt/local/var/macports/distfiles/expect
 --->  Attempting to fetch tcl8.4.14-src.tar.gz from
 http://downloads.sourceforge.net/tcl
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100 3461k  100 3461k    0     0   280k      0  0:00:12  0:00:12 --:--:--
 338k
 --->  Verifying checksum(s) for expect
 --->  Checksumming expect-5.43.0.tar.gz
 --->  Checksumming tcl8.4.14-src.tar.gz
 --->  Extracting expect
 --->  Extracting expect-5.43.0.tar.gz
 /usr/bin/gnutar: Read 3584 bytes from -
 --->  Extracting tcl8.4.14-src.tar.gz
 --->  Configuring expect
 configuring Expect 5.43.0
 checking for autoconf... yes
 checking configure up to date... yes
 checking host system type... Invalid configuration `i386-apple-
 darwin9.2.2': system `darwin9.2.2' not recognized

 checking target system type... Invalid configuration `i386-apple-
 darwin9.2.2': system `darwin9.2.2' not recognized

 checking build system type... Invalid configuration `i386-apple-
 darwin9.2.2': system `darwin9.2.2' not recognized

 checking shell to use within Make...
 checking for gcc... /usr/bin/gcc-4.0
 checking whether the C compiler (/usr/bin/gcc-4.0 -O2 -L/opt/local/lib)
 works... yes
 checking whether the C compiler (/usr/bin/gcc-4.0 -O2 -L/opt/local/lib) is
 a cross-compiler... no
 checking whether we are using GNU C... yes
 checking whether /usr/bin/gcc-4.0 accepts -g... yes
 checking for building with threads... no (default)
 checking for Tcl configuration... found /opt/local/lib/tclConfig.sh
 checking Tcl build library...
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix
 -ltcl8.5   -framework CoreFoundation
 checking for Tcl_CreateCommand... yes
 checking if Tcl library build specification is valid... yes
 checking for Tk configuration... found /opt/local/lib/tkConfig.sh
 checking for Tk_Init... yes
 checking if Tk library build specification is valid... yes
 checking whether the compiler (/usr/bin/gcc-4.0) actually works... yes
 checking for a BSD compatible install... /usr/bin/install
 checking for ranlib... ranlib
 checking how to run the C preprocessor... /usr/bin/cpp-4.0
 checking if running LynxOS... no
 checking for ANSI C header files... yes
 checking for pid_t... yes
 checking return type of signal handlers... void
 checking whether time.h and sys/time.h may both be included... yes
 checking for sys/wait.h that is POSIX.1 compatible... yes
 checking if running Mach... no
 checking if running MachTen... no
 checking if on Pyramid... no
 checking if on Apollo... no
 checking if on Interactive... no
 checking stty to use... /bin/stty
 checking if stty reads stdout... yes
 checking if running Solaris... no
 checking for sin... yes
 checking for Tcl private headers... found in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/tcl8.4.14/generic
 checking type of library to build... unshared
 creating cache .././config.cache
 checking for gcc... /usr/bin/gcc-4.0
 checking whether we are using GNU C... yes
 checking for Tcl configuration... found /opt/local/lib/tclConfig.sh
 checking Tcl build library...
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix
 -ltcl8.5   -framework CoreFoundation
 checking for Tcl_CreateCommand... yes
 checking if Tcl library build specification is valid... yes
 checking whether the compiler (/usr/bin/gcc-4.0) actually works... yes
 checking for a BSD compatible install... /usr/bin/install
 checking for ranlib... ranlib
 checking how to run the C preprocessor... /usr/bin/cpp-4.0
 checking if running LynxOS... no
 checking for Tcl private headers... found in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/tcl8.4.14/generic
 checking if we are running Linux... no
 checking for strchr... yes
 checking for stdlib.h... yes
 checking type of library to build... both shared and unshared
 updating cache .././config.cache
 creating ./config.status
 creating Makefile
 creating pkgIndex
 creating tcldbgcf.h
 Begin tests for function/library dependencies.  Tests may be repeated
 up to three times.  First test is for building Expect's shared library.
 Second set is for building with Tcl.  Third is for building with Tk.
 checking for gethostname... yes
 checking for gethostname... yes
 checking for gethostname... yes
 checking for socket... yes
 checking for socket... yes
 checking for socket... yes
 checking for select... yes
 checking for select... yes
 checking for select... yes
 checking for getpseudotty... no
 checking for getpseudotty in -lseq... no
 checking for getpseudotty... no
 checking for getpseudotty in -lseq... no
 checking for getpseudotty... no
 checking for getpseudotty in -lseq... no
 checking for openpty... yes
 checking for openpty... yes
 checking for openpty... yes
 checking if running Sequent running SVR4... no
 checking for sys/sysmacros.h... no
 checking for stdlib.h... yes
 checking for inttypes.h... yes
 checking for varargs.h... no
 checking for unistd.h... yes
 checking for sys/stropts.h... no
 checking for sys/sysconfig.h... no
 checking for sys/fcntl.h... yes
 checking for sys/select.h... yes
 checking for sys/time.h... yes
 checking for sys/ptem.h... no
 checking for sys/strredir.h... no
 checking for sys/strpty.h... no
 checking for sys/bsdtypes.h... no
 checking for memmove... yes
 checking for sysconf... yes
 checking for strftime... yes
 checking for strchr... yes
 checking for timezone... yes
 checking for siglongjmp... yes
 checking for memcpy... yes
 checking if WNOHANG requires _POSIX_SOURCE... no
 checking if any value exists for WNOHANG... yes
 checking union wait... yes
 checking mask type of select... none
 checking if signals need to be re-armed... no
 checking if on Convex... no
 checking if on NeXT... no
 checking if on HP... no
 checking sane default stty arguments...
 checking for HP style pty allocation... no
 checking for HP style pty trapping... no
 checking for AIX new-style pty allocation... no
 checking for SGI old-style pty allocation... no
 checking for SCO style pty allocation... no
 checking for SVR4 style pty allocation... no
 checking for OSF/1 style pty allocation... no
 checking for tcgetattr... yes
 checking for tcsetattr... yes
 checking for struct sgttyb... yes
 checking for struct termio... no
 checking for struct termios... yes
 checking if TCGETS or TCGETA in termios.h... no
 checking if TIOCGWINSZ in termios.h... yes
 checking for Cray-style ptys... no
 checking for select... yes
 checking for poll... yes
 checking event handling... via select
 checking for _getpty... no
 checking for getpty... no
 checking whether setpgrp takes no argument... yes
 checking for SV-style timezone... yes
 checking for Tk private headers... checking for tk.h... yes
 is installed
 checking for long file names... yes
 checking for type of library to build... unshared
 creating ./config.status
 creating Makefile
 creating pkgIndex
 creating expect_cf.h
 configuring in testsuite
 running /bin/sh ./configure  --prefix=/opt/local --disable-shared
 --mandir=/opt/local/share/man --with-tcl=/opt/local/lib --with-
 tclinclude=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/tcl8.4.14/generic/
 --cache-file=.././config.cache --srcdir=.
 loading cache .././config.cache
 checking for Tcl configuration... (cached) found
 /opt/local/lib/tclConfig.sh
 checking Tcl build library...
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix
 -ltcl8.5   -framework CoreFoundation
 checking for Tcl_CreateCommand... (cached) yes
 checking if Tcl library build specification is valid... yes
 checking for gcc... (cached) /usr/bin/gcc-4.0
 checking whether the C compiler (/usr/bin/gcc-4.0 -O2 -L/opt/local/lib)
 works... yes
 checking whether the C compiler (/usr/bin/gcc-4.0 -O2 -L/opt/local/lib) is
 a cross-compiler... no
 checking whether we are using GNU C... (cached) yes
 checking whether /usr/bin/gcc-4.0 accepts -g... yes
 checking whether the compiler (/usr/bin/gcc-4.0) actually works... yes
 checking how to run the C preprocessor... /usr/bin/cpp-4.0
 checking if running LynxOS... (cached) no
 checking for Tcl private headers... (cached) found in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/tcl8.4.14/generic
 updating cache .././config.cache
 creating ./config.status
 creating Makefile
 --->  Building expect with target all
 /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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_main_exp.c
 exp_main_exp.c: In function 'main':
 exp_main_exp.c:28: warning: incompatible implicit declaration of built-in
 function 'exit'
 exp_main_exp.c:33: warning: incompatible implicit declaration of built-in
 function 'exit'
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_main_exp.c -o shared/exp_main_exp.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_command.c
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_command.c -o shared/exp_command.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  expect.c
 expect.c: In function 'exp_eval_with_one_arg':
 expect.c:346: warning: assignment 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  expect.c -o shared/expect.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  pty_termios.c
 pty_termios.c: In function 'exp_init_pty':
 pty_termios.c:350: warning: incompatible implicit declaration of built-in
 function 'strlen'
 pty_termios.c: In function 'exp_getptymaster':
 pty_termios.c:494: warning: incompatible implicit declaration of built-in
 function 'strcpy'
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  pty_termios.c -o shared/pty_termios.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_inter.c
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_inter.c -o shared/exp_inter.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_regexp.c
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_regexp.c -o shared/exp_regexp.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_tty.c
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_tty.c -o shared/exp_tty.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_log.c
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_log.c -o shared/exp_log.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_main_sub.c
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_main_sub.c -o shared/exp_main_sub.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_pty.c
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_pty.c -o shared/exp_pty.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_trap.c
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_trap.c -o shared/exp_trap.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_console.c
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_console.c -o shared/exp_console.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_strf.c
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_strf.c -o shared/exp_strf.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_glob.c
 exp_glob.c: In function 'Exp_StringCaseMatch2':
 exp_glob.c:113: warning: incompatible implicit declaration of built-in
 function 'strlen'
 exp_glob.c:117: warning: incompatible implicit declaration of built-in
 function 'strlen'
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_glob.c -o shared/exp_glob.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_win.c
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_win.c -o shared/exp_win.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_clib.c
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_clib.c -o shared/exp_clib.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_closetcl.c
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_closetcl.c -o shared/exp_closetcl.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_memmove.c
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_memmove.c -o shared/exp_memmove.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_tty_comm.c
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_tty_comm.c -o shared/exp_tty_comm.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_select.c
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_select.c -o shared/exp_select.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_event.c
 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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_event.c -o shared/exp_event.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
 -I/usr/X11/include -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
 -DDFLT_STTY="\"sane\""  exp_chan.c
 exp_chan.c: In function 'expWaitOnAny':
 exp_chan.c:526: warning: passing argument 2 of 'waitpid' from incompatible
 pointer type
 exp_chan.c: In function 'expWaitOnOne':
 exp_chan.c:545: warning: passing argument 1 of 'wait' from incompatible
 pointer 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
 -I/usr/X11/include -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
 -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
 -I/usr/X11/include -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
 -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
 -I/usr/X11/include -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
 -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     -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.1/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: 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
 -I/usr/X11/include -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
 -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
 -I/usr/X11/include -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
 -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
 -I/usr/X11/include -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
 -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     -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.1/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

 Warning: the following items did not execute (for expect):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Status 1 encountered during processing.
 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14771>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list