expect fails to build on Panther
Ryan Schmidt
ryandesign at macports.org
Mon Jan 26 01:31:41 PST 2009
On Jan 25, 2009, at 08:35, Chris Janton wrote:
> admin at x:admin:143 $ uname -a
> Darwin xxxx 7.9.0
> Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005;
> root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc
>
> admin at x:admin:133 $ port -v
> MacPorts 1.700
>
> admin at x:admin:131 $ port installed | grep tcl
> tcl @8.5.5_0
> tcl @8.5.6_0 (active)
>
> admin at x:admin:125 $ sudo port upgrade outdated
> ---> Fetching expect
> ---> Verifying checksum(s) for expect
> ---> Extracting expect
> ---> Applying patches to expect
> ---> Configuring expect
> ---> Building expect
> 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: exp_main_tk.c:351: error: parse error before '&' token
> exp_main_tk.c:351: error: conflicting types for `Tcl_DStringFree'
> /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_devel
> _expect/work/tcl8.4.14/generic/tclDecls.h:416: error: previous
> declaration of `Tcl_DStringFree'
> exp_main_tk.c:351: warning: data definition has no type or storage
> class
> exp_main_tk.c:355: warning: parameter names (without types) in
> function declaration
> exp_main_tk.c:355: error: conflicting types for `Tcl_ResetResult'
> /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_devel
> _expect/work/tcl8.4.14/generic/tclDecls.h:716: error: previous
> declaration of `Tcl_ResetResult'
> exp_main_tk.c:355: warning: data definition has no type or storage
> class
> exp_main_tk.c:356: error: parse error before "if"
> exp_main_tk.c:367: error: redefinition of `code'
> exp_main_tk.c:350: error: `code' previously defined here
> exp_main_tk.c:367: error: `interp' undeclared here (not in a function)
> exp_main_tk.c:367: error: initializer element is not constant
> exp_main_tk.c:367: warning: data definition has no type or storage
> class
> exp_main_tk.c:368: error: parse error before "if"
> exp_main_tk.c:376: error: redefinition of `code'
> exp_main_tk.c:367: error: `code' previously defined here
> exp_main_tk.c:376: error: `interp' undeclared here (not in a function)
> exp_main_tk.c:376: error: `TK_VERSION' undeclared here (not in a
> function)
> exp_main_tk.c:376: error: initializer element is not constant
> exp_main_tk.c:376: warning: data definition has no type or storage
> class
> exp_main_tk.c:377: error: parse error before "if"
> exp_main_tk.c:385: error: redefinition of `code'
> exp_main_tk.c:376: error: `code' previously defined here
> exp_main_tk.c:385: error: `interp' undeclared here (not in a function)
> exp_main_tk.c:385: error: initializer element is not constant
> exp_main_tk.c:385: warning: data definition has no type or storage
> class
> exp_main_tk.c:387: error: parse error before ':' token
> {standard input}:110:FATAL:Symbol _code already defined.
> make: *** [exp_main_tk.o] Error 1
>
> Error: Unable to upgrade port: 1
I see that too on my Panther system.
You should file a ticket in the issue tracker.
I don't think we're seeing the first error here (MacPorts only shows
the last 40 lines of output). Unfortunately, getting the complete
error log on Panther is not straightforward because of #15814:
http://trac.macports.org/ticket/15814
More information about the macports-users
mailing list