[MacPorts] #36119: gcc47 @4.7.1_4 Build error - libtool version error

MacPorts noreply at macports.org
Wed Sep 12 14:17:00 PDT 2012


#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


More information about the macports-tickets mailing list