[MacPorts] #36119: gcc47 @4.7.1_4 Build error - libtool version error
#36119: gcc47 @4.7.1_4 Build error - libtool version error ------------------------------------------+-------------------------------- Reporter: kkchen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: g++, gfortran, mountain lion | Port: gcc47 ------------------------------------------+-------------------------------- I'm running Mac OS 10.8.1 with Xcode 4.4.1. Upon doing a `port install gcc47`, I get {{{ ---> Computing dependencies for gcc47 ---> Building gcc47 Error: org.macports.build for port gcc47 returned: command execution failed Please see the log file for port gcc47 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/main.log }}} In the log file, the first error that pops up is {{{ :info:build /bin/sh ./libtool --tag=CC --mode=compile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin12/bin/ -B/opt/local/x86_64-apple- darwin12/lib/ -isystem /opt/local/x86_64-apple-darwin12/include -isystem /opt/local/x86_64-apple-darwin12/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.1/libgomp -I../../../gcc-4.7.1/libgomp/config/bsd -I../../../gcc-4.7.1/libgomp/config/posix -I../../../gcc-4.7.1/libgomp -Wall -Werror -Wc,-pthread -g -pipe -O2 -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c -o alloc.lo ../../../gcc-4.7.1/libgomp/alloc.c :info:build ./libtool: line 533: CDPATH: command not found :info:build libtool: Version mismatch error. This is libtool 2.2.7a, but the :info:build libtool: definition of this LT_INIT comes from an older release. :info:build libtool: You should recreate aclocal.m4 with macros from libtool 2.2.7a :info:build libtool: and run autoconf again. :info:build make[5]: *** [alloc.lo] Error 63 }}} The full log is attached. -- Ticket URL: <https://trac.macports.org/ticket/36119> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36119: gcc47 @4.7.1_4 Build error - libtool version error -----------------------+-------------------------- Reporter: kkchen@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: gcc47 | -----------------------+-------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => jeremyhu@… * keywords: g++, gfortran, mountain lion => mountainlion * cc: mww@… (added) -- Ticket URL: <https://trac.macports.org/ticket/36119#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36119: gcc47 @4.7.1_4 Build error - libtool version error -----------------------+-------------------------- Reporter: kkchen@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: gcc47 | -----------------------+-------------------------- Comment (by jeremyhu@…): Have you done something "special" with your system wrt libtool? Please 'sudo port -v clean gcc47' and try again. If it fails, attach the full build log. -- Ticket URL: <https://trac.macports.org/ticket/36119#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36119: gcc47 @4.7.1_4 Build error - libtool version error -----------------------+-------------------------- Reporter: kkchen@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: gcc47 | -----------------------+-------------------------- Comment (by kkchen@…): That seems to have fixed it; thanks. Originally I had only done {{{ port -fp uninstall installed port install gcc47 }}} but I forgot about the cleaning step. -- Ticket URL: <https://trac.macports.org/ticket/36119#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36119: gcc47 @4.7.1_4 Build error - libtool version error -------------------------+-------------------------- Reporter: kkchen@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: worksforme | Keywords: mountainlion Port: gcc47 | -------------------------+-------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/36119#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts