[MacPorts] #33151: gcc43, gcc44, gcc45, gcc46, gcc47: fails to compile universal

MacPorts noreply at macports.org
Sun Feb 19 17:46:08 PST 2012


#33151: gcc43, gcc44, gcc45, gcc46, gcc47: fails to compile universal
-------------------------------+--------------------------------------------
 Reporter:  gvibe06@…          |       Owner:  mww@…                            
     Type:  defect             |      Status:  new                              
 Priority:  Normal             |   Milestone:                                   
Component:  ports              |     Version:  2.0.3                            
 Keywords:                     |        Port:  gcc43, gcc44, gcc45, gcc46, gcc47
-------------------------------+--------------------------------------------

Comment(by warrensomebody@…):

 I'm having this same problem building gcc45 with Snow Leopard 10.6.8 and
 Xcode 3.2.4 (gcc44 built just fine, however):

 {{{
 version:1
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main gmp 5.0.2_1 exists in the ports tree
 :debug:main gmp 5.0.2_1 +universal is the latest installed
 :debug:main gmp 5.0.2_1 +universal is active
 :debug:main Merging existing variants '+universal' into variants
 :debug:main new fully merged portvariants: universal +
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gmp
 :debug:main OS darwin/10.8.0 (Mac OS X 10.6) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.unload registered provides 'unload', a pre-
 existing procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
 :debug:main Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 :debug:main universal variant already exists, so not adding the default
 one
 :debug:main Executing variant universal provides universal
 :debug:main No need to upgrade! gmp 5.0.2_1 >= gmp 5.0.2_1
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main mpfr 3.1.0-p3_0 exists in the ports tree
 :debug:main mpfr 3.1.0-p3_0 +universal is the latest installed
 :debug:main mpfr 3.1.0-p3_0 +universal is active
 :debug:main Merging existing variants '+universal' into variants
 :debug:main new fully merged portvariants: universal +
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/mpfr
 :debug:main OS darwin/10.8.0 (Mac OS X 10.6) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.unload registered provides 'unload', a pre-
 existing procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
 :debug:main Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 :debug:main universal variant already exists, so not adding the default
 one
 :debug:main Executing variant universal provides universal
 :debug:main No need to upgrade! mpfr 3.1.0-p3_0 >= mpfr 3.1.0-p3_0
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main libiconv 1.14_0 exists in the ports tree
 :debug:main libiconv 1.14_0 +universal is the latest installed
 :debug:main libiconv 1.14_0 +universal is active
 :debug:main Merging existing variants '+universal' into variants
 :debug:main new fully merged portvariants: universal +
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
 :debug:main OS darwin/10.8.0 (Mac OS X 10.6) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.unload registered provides 'unload', a pre-
 existing procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
 :debug:main Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 :debug:main universal variant already exists, so not adding the default
 one
 :debug:main Executing variant universal provides universal
 :debug:main No need to upgrade! libiconv 1.14_0 >= libiconv 1.14_0
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main libmpc 0.9_0 exists in the ports tree
 :debug:main libmpc 0.9_0 +universal is the latest installed
 :debug:main libmpc 0.9_0 +universal is active
 :debug:main Merging existing variants '+universal' into variants
 :debug:main new fully merged portvariants: universal +
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libmpc
 :debug:main OS darwin/10.8.0 (Mac OS X 10.6) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.unload registered provides 'unload', a pre-
 existing procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main adding the default universal variant
 :debug:main Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 :debug:main Executing variant universal provides universal
 :debug:main No need to upgrade! libmpc 0.9_0 >= libmpc 0.9_0
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main gcc_select 0.1_5 exists in the ports tree
 :debug:main gcc_select 0.1_5  is the latest installed
 :debug:main gcc_select 0.1_5  is active
 :debug:main Merging existing variants '' into variants
 :debug:main new fully merged portvariants: universal +
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/gcc_select
 :debug:main OS darwin/10.8.0 (Mac OS X 10.6) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.unload registered provides 'unload', a pre-
 existing procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/select-1.0.tcl
 :debug:main universal_variant is false, so not adding the default
 universal variant
 :debug:main Requested variant universal is not provided by port
 gcc_select.
 :debug:main No need to upgrade! gcc_select 0.1_5 >= gcc_select 0.1_5
 :msg:main --->  Computing dependencies for gcc45:info:main .:debug:main
 Searching for dependency: gmp
 :debug:main Found Dependency: receipt exists for gmp
 :debug:main Searching for dependency: mpfr
 :debug:main Found Dependency: receipt exists for mpfr
 :debug:main Searching for dependency: libiconv
 :debug:main Found Dependency: receipt exists for libiconv
 :debug:main Searching for dependency: libmpc
 :debug:main Found Dependency: receipt exists for libmpc
 :debug:main Searching for dependency: gcc_select
 :debug:main Found Dependency: receipt exists for gcc_select
 :msg:main
 :debug:main Executing org.macports.main (gcc45)
 :debug:main changing euid/egid - current euid: 0 - current egid: 0
 :debug:main egid changed to: 501
 :debug:main euid changed to: 501
 :debug:main Skipping completed org.macports.archivefetch (gcc45)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.fetch (gcc45)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.checksum (gcc45)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.extract (gcc45)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.patch (gcc45)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:configure configure phase started at Sun Feb 19 17:15:00 PST 2012
 :notice:configure --->  Configuring gcc45
 :debug:configure Using compiler 'Mac OS X llvm-gcc 4.2'
 :debug:configure Executing proc-pre-org.macports.configure-configure-0
 :debug:configure Executing org.macports.configure (gcc45)
 :debug:configure Environment: CPATH='/opt/local/include' CXXFLAGS='-pipe
 -O2' CPPFLAGS='-I/opt/local/include' AS_FOR_TARGET='/usr/bin/as'
 CFLAGS='-pipe -O2' LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/Developer/usr/bin/llvm-g++-4.2'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/gcc45/work/.CC_PRINT_OPTIONS'
 F90FLAGS='-pipe -O2' LD_FOR_TARGET='/usr/bin/ld'
 RANLIB_FOR_TARGET='/usr/bin/ranlib' LDFLAGS='-L/opt/local/lib'
 OBJDUMP_FOR_TARGET='/usr/bin/objdump' FCFLAGS='-pipe -O2'
 OBJC='/Developer/usr/bin/llvm-gcc-4.2' INSTALL='/usr/bin/install -c'
 AR_FOR_TARGET='/usr/bin/ar' NM_FOR_TARGET='/usr/bin/nm' FFLAGS='-pipe -O2'
 OBJCFLAGS='-pipe -O2' CC_PRINT_OPTIONS='YES'
 STRIP_FOR_TARGET='/usr/bin/strip' CC='/Developer/usr/bin/llvm-gcc-4.2
 -arch i386 -arch x86_64'
 :debug:configure Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/gcc45/work/build"
 && ../gcc-4.5.3/configure --prefix=/opt/local --build=x86_64-apple-
 darwin10 --enable-languages=c,c++,objc,obj-c++,fortran,java
 --libdir=/opt/local/lib/gcc45 --includedir=/opt/local/include/gcc45
 --infodir=/opt/local/share/info --mandir=/opt/local/share/man
 --datarootdir=/opt/local/share/gcc-4.5 --with-local-prefix=/opt/local
 --with-system-zlib --disable-nls --program-suffix=-mp-4.5 --with-gxx-
 include-dir=/opt/local/include/gcc45/c++/ --with-gmp=/opt/local --with-
 mpfr=/opt/local --with-mpc=/opt/local --enable-stage1-checking --enable-
 lto --enable-fully-dynamic-string'
 :debug:configure Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/gcc45/work/build"
 && ../gcc-4.5.3/configure --prefix=/opt/local --build=x86_64-apple-
 darwin10 --enable-languages=c,c++,objc,obj-c++,fortran,java
 --libdir=/opt/local/lib/gcc45 --includedir=/opt/local/include/gcc45
 --infodir=/opt/local/share/info --mandir=/opt/local/share/man
 --datarootdir=/opt/local/share/gcc-4.5 --with-local-prefix=/opt/local
 --with-system-zlib --disable-nls --program-suffix=-mp-4.5 --with-gxx-
 include-dir=/opt/local/include/gcc45/c++/ --with-gmp=/opt/local --with-
 mpfr=/opt/local --with-mpc=/opt/local --enable-stage1-checking --enable-
 lto --enable-fully-dynamic-string
 :info:configure checking build system type... x86_64-apple-darwin10
 :info:configure checking host system type... x86_64-apple-darwin10
 :info:configure checking target system type... x86_64-apple-darwin10
 :info:configure checking for a BSD-compatible install... /usr/bin/install
 -c
 :info:configure checking whether ln works... yes
 :info:configure checking whether ln -s works... yes
 :info:configure checking for a sed that does not truncate output...
 /usr/bin/sed
 :info:configure checking for gawk... gawk
 :info:configure checking for gcc... /Developer/usr/bin/llvm-gcc-4.2 -arch
 i386 -arch x86_64
 :info:configure checking for C compiler default output file name... a.out
 :info:configure checking whether the C compiler works... yes
 :info:configure checking whether we are cross compiling... no
 :info:configure checking for suffix of executables...
 :info:configure checking for suffix of object files... o
 :info:configure checking whether we are using the GNU C compiler... yes
 :info:configure checking whether /Developer/usr/bin/llvm-gcc-4.2 -arch
 i386 -arch x86_64 accepts -g... yes
 :info:configure checking for /Developer/usr/bin/llvm-gcc-4.2 -arch i386
 -arch x86_64 option to accept ISO C89... none needed
 :info:configure checking whether we are using the GNU C++ compiler... yes
 :info:configure checking whether /Developer/usr/bin/llvm-g++-4.2 accepts
 -g... yes
 :info:configure checking for gnatbind... no
 :info:configure checking for gnatmake... no
 :info:configure checking whether compiler driver understands Ada... no
 :info:configure checking how to compare bootstrapped objects... cmp
 --ignore-initial=16 $$f1 $$f2
 :info:configure checking for objdir... .libs
 :info:configure checking for the correct version of gmp.h... yes
 :info:configure checking for the correct version of mpfr.h... yes
 :info:configure checking for the correct version of mpc.h... yes
 :info:configure checking for the correct version of the gmp/mpfr/mpc
 libraries... yes
 :info:configure checking for version 0.10 (or later revision) of PPL... no
 :info:configure checking how to run the C preprocessor... /lib/cpp
 :info:configure configure: error: in
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/gcc45/work/build':
 :info:configure configure: error: C preprocessor "/lib/cpp" fails sanity
 check
 :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_lang_gcc45/gcc45/work/build"
 && ../gcc-4.5.3/configure --prefix=/opt/local --build=x86_64-apple-
 darwin10 --enable-languages=c,c++,objc,obj-c++,fortran,java
 --libdir=/opt/local/lib/gcc45 --includedir=/opt/local/include/gcc45
 --infodir=/opt/local/share/info --mandir=/opt/local/share/man
 --datarootdir=/opt/local/share/gcc-4.5 --with-local-prefix=/opt/local
 --with-system-zlib --disable-nls --program-suffix=-mp-4.5 --with-gxx-
 include-dir=/opt/local/include/gcc45/c++/ --with-gmp=/opt/local --with-
 mpfr=/opt/local --with-mpc=/opt/local --enable-stage1-checking --enable-
 lto --enable-fully-dynamic-string " 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 gcc45):
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 :notice:configure Log for gcc45 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/gcc45/main.log
 }}}

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


More information about the macports-tickets mailing list