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

MacPorts noreply at macports.org
Mon Jan 26 09:12:29 PST 2009


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

Comment(by face@…):

 I see that expect is downloading tcl8.4.14 - I think that I have 8.5.6
 actually installed on this system
 {{{
 admin at x:admin:122 $ which tclsh
 /opt/local/bin/tclsh
 admin at x:admin:123 $ port installed | grep tcl
   tcl @8.5.5_0
   tcl @8.5.6_0 (active)
 admin at x:admin:124 $ sudo port clean --all expect
 --->  Cleaning expect
 admin at x:admin:125 $ sudo port upgrade -d -v  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: Unable to upgrade port: 1

 }}}

 I de-installed and tried to install from scratch

 {{{
 admin at x:admin:126 $ sudo port uninstall expect
 --->  Deactivating expect @5.43.0_3
 --->  Uninstalling expect @5.43.0_3
 admin at x:admin:127 $ sudo port clean --all expect
 --->  Cleaning expect
 admin at x:admin:128 $ port variants expect
 expect has the variants:
         universal: Build for multiple architectures
 admin at x:admin:129 $ sudo port -d -v install expect
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/expect
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/expect
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tcl
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tcl
 DEBUG: Searching for dependency: tcl
 DEBUG: Found Dependency: receipt exists for tcl
 --->  Fetching expect
 --->  Attempting to fetch expect-5.43.0.tar.gz from
 http://expect.nist.gov/src/
   % Total    % Received % Xferd  Average Speed          Time
 Curr.
                                  Dload  Upload Total    Current  Left
 Speed
 100  513k  100  513k    0     0   149k      0  0:00:03  0:00:03  0:00:00
 158k
 --->  Attempting to fetch tcl8.4.14-src.tar.gz from
 http://downloads.sourceforge.net/tcl
   % Total    % Received % Xferd  Average Speed          Time
 Curr.
                                  Dload  Upload Total    Current  Left
 Speed
   0     0    0     0    0     0      0      0 --:--:--  0:00:00 --:--:--
 0
 100 3461k  100 3461k    0     0  2552k      0  0:00:01  0:00:01  0:00:00
 2550k
 --->  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:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list