[MacPorts] #31904: port install tk fails

MacPorts noreply at macports.org
Sat Nov 5 01:21:57 PDT 2011


#31904: port install tk fails
------------------------------------+---------------------------------------
 Reporter:  chris.felton@…          |       Owner:  mww@…           
     Type:  defect                  |      Status:  new             
 Priority:  Normal                  |   Milestone:                  
Component:  ports                   |     Version:  2.0.3           
 Keywords:  ppc                     |        Port:  tk              
------------------------------------+---------------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => mww@…


Old description:

> When updating py27-matplotlib dependency tk fails.  This is on a PPC G5
> Mac OSX 10.5.8.
>
> ~~~~~~~ Log ~~~~~~~~~~~
> :notice:configure --->  Configuring tk
> :debug:configure Using compiler 'Mac OS X gcc 4.0'
> :debug:configure Executing org.macports.configure (tk)
> :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2
> -arch ppc'
> CPPFLAGS='-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.
> macports.org_release_ports_x11_tk/tk/work/tcl8.5.10/generic'
> CXXFLAGS='-O2 -arch ppc' LIBRARY_PATH='/opt/local/lib'
> MACOSX_DEPLOYMENT_TARGET='10.5' CXX='/usr/bi
> n/g++-4.0'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/work/.CC_PRINT_OPTION
> S' F90FLAGS='-O2 -m32'
> LDFLAGS='-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/work/tk8.5.10/unix
> -L
> /opt/local/lib -lfontconfig -arch ppc' OBJC='/usr/bin/gcc-4.0'
> FCFLAGS='-O2 -m32' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch
> ppc' FFLAGS='-O2 -m32' CC_P
> RINT_OPTIONS='YES' CC='/usr/bin/gcc-4.0'
> :debug:configure Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/work/tk8.5.10/
> unix" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man
> --with-tcl=/opt/local/lib tcl_cv_type_64bit="long long"'
> :debug:configure Executing command line:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/work/tk8.
> 5.10/unix" && ./configure --prefix=/opt/local
> --mandir=/opt/local/share/man --with-tcl=/opt/local/lib
> tcl_cv_type_64bit="long long"
> :info:configure checking for Tcl configuration... found
> /opt/local/lib/tclConfig.sh
> :info:configure checking for existence of /opt/local/lib/tclConfig.sh...
> loading
> :info:configure checking for tclsh... /opt/local/bin/tclsh8.5
> :info:configure checking for tclsh in Tcl build directory...
> /opt/local/lib/tclsh
> :info:configure checking whether to use symlinks for manpages... no
> :info:configure checking whether to compress the manpages... no
> :info:configure checking whether to add a package name suffix for the
> manpages... no
> :info:configure checking for gcc... /usr/bin/gcc-4.0
> :info:configure checking for C compiler default output file name... a.out
> :info:configure checking whether the C compiler works... configure:
> error: cannot run C compiled programs.
> :info:configure If you meant to cross compile, use `--host'.
> :info:configure See `config.log' for more details.
> :info:configure shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/work/tk8.5.10/unix"
>  && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-
> tcl=/opt/local/lib tcl_cv_type_64bit="long long" " returned error 1
> :error:configure Target org.macports.configure returned: configure
> failure: shell command failed (see log for details)
> :debug:configure Backtrace: configure failure: shell command failed (see
> log for details)
>     while executing
> "$procedure $targetname"
> :info:configure Warning: the following items did not execute (for tk):
> org.macports.install org.macports.configure org.macports.build
> org.macports.destroot
> :notice:configure Log for tk is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/main.log

New description:

 When updating py27-matplotlib dependency tk fails.  This is on a PPC G5
 Mac OSX 10.5.8.

 {{{
 :notice:configure --->  Configuring tk
 :debug:configure Using compiler 'Mac OS X gcc 4.0'
 :debug:configure Executing org.macports.configure (tk)
 :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch
 ppc'
 CPPFLAGS='-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.
 macports.org_release_ports_x11_tk/tk/work/tcl8.5.10/generic' CXXFLAGS='-O2
 -arch ppc' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.5'
 CXX='/usr/bi
 n/g++-4.0'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/work/.CC_PRINT_OPTION
 S' F90FLAGS='-O2 -m32'
 LDFLAGS='-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/work/tk8.5.10/unix
 -L
 /opt/local/lib -lfontconfig -arch ppc' OBJC='/usr/bin/gcc-4.0'
 FCFLAGS='-O2 -m32' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch ppc'
 FFLAGS='-O2 -m32' CC_P
 RINT_OPTIONS='YES' CC='/usr/bin/gcc-4.0'
 :debug:configure Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/work/tk8.5.10/
 unix" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man
 --with-tcl=/opt/local/lib tcl_cv_type_64bit="long long"'
 :debug:configure Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/work/tk8.
 5.10/unix" && ./configure --prefix=/opt/local
 --mandir=/opt/local/share/man --with-tcl=/opt/local/lib
 tcl_cv_type_64bit="long long"
 :info:configure checking for Tcl configuration... found
 /opt/local/lib/tclConfig.sh
 :info:configure checking for existence of /opt/local/lib/tclConfig.sh...
 loading
 :info:configure checking for tclsh... /opt/local/bin/tclsh8.5
 :info:configure checking for tclsh in Tcl build directory...
 /opt/local/lib/tclsh
 :info:configure checking whether to use symlinks for manpages... no
 :info:configure checking whether to compress the manpages... no
 :info:configure checking whether to add a package name suffix for the
 manpages... no
 :info:configure checking for gcc... /usr/bin/gcc-4.0
 :info:configure checking for C compiler default output file name... a.out
 :info:configure checking whether the C compiler works... configure: error:
 cannot run C compiled programs.
 :info:configure If you meant to cross compile, use `--host'.
 :info:configure See `config.log' for more details.
 :info:configure shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/work/tk8.5.10/unix"
  && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-
 tcl=/opt/local/lib tcl_cv_type_64bit="long long" " returned error 1
 :error:configure Target org.macports.configure returned: configure
 failure: shell command failed (see log for details)
 :debug:configure Backtrace: configure failure: shell command failed (see
 log for details)
     while executing
 "$procedure $targetname"
 :info:configure Warning: the following items did not execute (for tk):
 org.macports.install org.macports.configure org.macports.build
 org.macports.destroot
 :notice:configure Log for tk is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/main.log
 }}}

--

Comment:

 Could you attach the config.log please?

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


More information about the macports-tickets mailing list