[MacPorts] #18205: expect fails to build on Panther

MacPorts noreply at macports.org
Tue Jan 27 13:39:26 PST 2009


#18205: expect fails to build on Panther
-----------------------------------+----------------------------------------
  Reporter:  face@…                |       Owner:  macports-tickets@…                   
      Type:  defect                |      Status:  reopened                             
  Priority:  Normal                |   Milestone:  Port Bugs                            
 Component:  ports                 |     Version:  1.7.0                                
Resolution:                        |    Keywords:                                       
      Port:  expect                |  
-----------------------------------+----------------------------------------

Comment(by face@…):

 Yes, /usr/local/lib is empty. The only thing in /usr/local is "bin" with
 the 6 applications listed in the previous comment.
 Just to be sure I moved /usr/local to /usr/local-old
 expect still fails to build - looks like during the tcl8.4.14 portion

 {{{
 admin at x:usr:129 $ sudo port install -v -d expect
 --->  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
 --->  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: Status 1 encountered during processing.

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/18205#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list