[MacPorts] #22715: gcc41 fails to compile on OS X 10.5.8 intel

MacPorts noreply at macports.org
Sat Nov 28 10:33:44 PST 2009


#22715: gcc41 fails to compile on OS X 10.5.8 intel
------------------------------------+---------------------------------------
 Reporter:  MaksT@…                 |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.8.1                                
 Keywords:  gcc os x leopard intel  |        Port:  gcc41                                
------------------------------------+---------------------------------------
 Here is the result, I'm not really sure what went wrong.

 sudo port install gcc41
 Password:
 --->  Computing dependencies for gcc41
 --->  Fetching gcc41
 --->  Attempting to fetch gcc-core-4.1.2.tar.bz2 from
 ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-4.1.2/
 --->  Attempting to fetch gcc-fortran-4.1.2.tar.bz2 from
 ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-4.1.2/
 --->  Attempting to fetch gcc-g++-4.1.2.tar.bz2 from
 ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-4.1.2/
 --->  Attempting to fetch gcc-java-4.1.2.tar.bz2 from
 ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-4.1.2/
 --->  Attempting to fetch gcc-objc-4.1.2.tar.bz2 from
 ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-4.1.2/
 --->  Verifying checksum(s) for gcc41
 --->  Extracting gcc41
 --->  Applying patches to gcc41
 --->  Configuring gcc41
 --->  Building gcc41
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc41/work/build"
 && /usr/bin/make -j2 profiledbootstrap " returned error 2
 Command output: checking whether getopt is declared... yes
 checking whether malloc is declared... yes
 checking whether realloc is declared... /usr/bin/gcc-4.0
 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
 -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"zlib\"
 -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MEMCPY=1
 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1  -I. -I../../gcc-4.1.2/zlib     -O2 -c
 -o libz_a-inffast.o `test -f 'inffast.c' || echo
 '../../gcc-4.1.2/zlib/'`inffast.c
 yes
 checking whether sbrk is declared... /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"\"
 -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
 -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\"
 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1
 -DHAVE_UNISTD_H=1  -I. -I../../gcc-4.1.2/zlib     -O2 -c -o libz_a-
 inflate.o `test -f 'inflate.c' || echo '../../gcc-4.1.2/zlib/'`inflate.c
 yes
 checking whether strverscmp is declared... no
 checking whether canonicalize_file_name must be declared... yes
 checking for stdlib.h... (cached) yes
 checking for unistd.h... (cached) yes
 checking for getpagesize... (cached) yes
 checking for working mmap... no
 checking for working strncmp... no
 updating cache ./config.cache
 configure: creating ./config.status
 /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
 -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
 -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1
 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_GETPAGESIZE=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1
 -I. -I../../gcc-4.1.2/zlib     -O2 -c -o libz_a-inftrees.o `test -f
 'inftrees.c' || echo '../../gcc-4.1.2/zlib/'`inftrees.c
 /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
 -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
 -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1
 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_GETPAGESIZE=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1
 -I. -I../../gcc-4.1.2/zlib     -O2 -c -o libz_a-trees.o `test -f 'trees.c'
 || echo '../../gcc-4.1.2/zlib/'`trees.c
 config.status: creating Makefile
 config.status: creating testsuite/Makefile
 config.status: creating config.h
 /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
 -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
 -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1
 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_GETPAGESIZE=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1
 -I. -I../../gcc-4.1.2/zlib     -O2 -c -o libz_a-uncompr.o `test -f
 'uncompr.c' || echo '../../gcc-4.1.2/zlib/'`uncompr.c
 config.status: executing default commands
 /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
 -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
 -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1
 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_GETPAGESIZE=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1
 -I. -I../../gcc-4.1.2/zlib     -O2 -c -o libz_a-zutil.o `test -f 'zutil.c'
 || echo '../../gcc-4.1.2/zlib/'`zutil.c
 true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-O2" "CXXFLAGS=-O2"
 "CFLAGS_FOR_BUILD=-O2" "CFLAGS_FOR_TARGET=-O2 -O2 "
 "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644"
 "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c"
 "LDFLAGS=" "LIBCFLAGS=-O2" "LIBCFLAGS_FOR_TARGET=-O2 -O2 "
 "MAKE=/usr/bin/make" "MAKEINFO=makeinfo --split-size=5000000 " "PICFLAG="
 "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest"
 "RUNTESTFLAGS=" "exec_prefix=/opt/local" "infodir=/opt/local/share/info"
 "libdir=/opt/local/lib/gcc41" "prefix=/opt/local" "tooldir=/opt/local/i386
 -apple-darwin9.8.0" "AR=i386-apple-darwin9.8.0-ar" "AS=i386-apple-
 darwin9.8.0-as" "CC=/usr/bin/gcc-4.0" "CXX=/usr/bin/g++-4.0" "LD=i386
 -apple-darwin9.8.0-ld" "LIBCFLAGS=-O2" "NM=i386-apple-darwin9.8.0-nm"
 "PICFLAG=" "RANLIB=:" "DESTDIR=" DO=all multi-do # /usr/bin/make
 rm -f libz.a
 i386-apple-darwin9.8.0-ar cru libz.a libz_a-adler32.o libz_a-compress.o
 libz_a-crc32.o libz_a-deflate.o libz_a-gzio.o libz_a-infback.o libz_a-
 inffast.o libz_a-inflate.o libz_a-inftrees.o libz_a-trees.o libz_a-
 uncompr.o libz_a-zutil.o
 make[1]: i386-apple-darwin9.8.0-ar: Command not found
 make[1]: *** [libz.a] Error 127
 make: *** [all-zlib] Error 2
 make: *** Waiting for unfinished jobs....

 Error: Status 1 encountered during processing.

-- 
Ticket URL: <http://trac.macports.org/ticket/22715>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list