[MacPorts] #57506: libgcc6 @6.5.0 does not build on PPC Mac OS X 10.4.11, Tiger, with G4 (7447A) because of "Bootstrap comparison failure!"

MacPorts noreply at macports.org
Sat Nov 3 21:13:35 UTC 2018


#57506: libgcc6 @6.5.0 does not build on PPC Mac OS X 10.4.11, Tiger, with G4
(7447A) because of "Bootstrap comparison failure!"
-----------------------+---------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.5.4
 Keywords:  tiger      |       Port:  libgcc6
-----------------------+---------------------
 This failure is similar to #56922:

 {{{
 /usr/bin/make "DESTDIR=" "RPATH_ENVVAR=DYLD_LIBRARY_PATH" "TARGET_SUBDIR
 =ppc-apple-darwin8" "bindir=/opt/local/bin"
 "datadir=/opt/local/share/gcc-6" "exec_prefix=/opt/local"
 "includedir=/opt/local/include/gcc6" "datarootdir=/opt/local/share/gcc-6"
 "docdir=/opt/local/share/gcc-6/doc/" "infodir=/opt/local/share/info"
 "pdfdir=/opt/local/share/gcc-6/doc/" "htmldir=/opt/local/share/gcc-6/doc/"
 "libdir=/opt/local/lib/libgcc" "libexecdir=/opt/local/libexec" "lispdir="
 "localstatedir=/opt/local/var" "mandir=/opt/local/share/man"
 "oldincludedir=/usr/include" "prefix=/opt/local" "sbindir=/opt/local/sbin"
 "sharedstatedir=/opt/local/com" "sysconfdir=/opt/local/etc"
 "tooldir=/opt/local/ppc-apple-darwin8" "build_tooldir=/opt/local/ppc-
 apple-darwin8" "target_alias=ppc-apple-darwin8" "AWK=gawk" "BISON=bison"
 "CC_FOR_BUILD=/opt/local/bin/gcc-apple-4.2 -arch ppc"
 "CFLAGS_FOR_BUILD=-pipe -Os" "CXX_FOR_BUILD=/opt/local/bin/g++-apple-4.2
 -arch ppc -std=gnu++98" "EXPECT=expect" "FLEX=flex"
 "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_FOR_BUILD=-L/opt/local/lib -Wl,-headerpad_max_install_names"
 "LEX=flex" "M4=gm4" "MAKE=/usr/bin/make" "RUNTEST=runtest" "RUNTESTFLAGS="
 "SED=/opt/local/bin/gsed" "SHELL=/bin/sh" "YACC=bison -y" "`echo
 'ADAFLAGS=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "ADA_CFLAGS=" "AR_FLAGS=rc"
 "`echo 'BOOT_ADAFLAGS=-gnatpg' | sed -e s'/[^=][^=]*=$/XFOO=/'`"
 "BOOT_CFLAGS=-g -O2 -mdynamic-no-pic" "BOOT_LDFLAGS=" "CFLAGS=-pipe -Os"
 "CXXFLAGS=-pipe -Os" "LDFLAGS=-L/opt/local/lib
 -Wl,-headerpad_max_install_names" "LIBCFLAGS=-pipe -Os" "LIBCXXFLAGS=-pipe
 -Os -fno-implicit-templates" "STAGE1_CHECKING=--enable-checking=yes"
 "STAGE1_LANGUAGES=c,c++,lto" "GNATBIND=no" "GNATMAKE=no"
 "AR_FOR_TARGET=/opt/local/bin/ar" "AS_FOR_TARGET=/opt/local/bin/as"
 "CC_FOR_TARGET=/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc6/libgcc6/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc6/libgcc6/work/build/./gcc/"
 "CFLAGS_FOR_TARGET=-g -O2 -pipe -Os" "CPPFLAGS_FOR_TARGET="
 "CXXFLAGS_FOR_TARGET=-g -O2 -pipe -Os" "DLLTOOL_FOR_TARGET=dlltool"
 "FLAGS_FOR_TARGET=-B/opt/local/ppc-apple-darwin8/bin/ -B/opt/local/ppc-
 apple-darwin8/lib/ -isystem /opt/local/ppc-apple-darwin8/include -isystem
 /opt/local/ppc-apple-darwin8/sys-include" "GCJ_FOR_TARGET="
 "GFORTRAN_FOR_TARGET=/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc6/libgcc6/work/build/./gcc/gfortran
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc6/libgcc6/work/build/./gcc/"
 "GOC_FOR_TARGET=" "GOCFLAGS_FOR_TARGET=-O2 -g"
 "LD_FOR_TARGET=/opt/local/bin/ld" "LIPO_FOR_TARGET=lipo"
 "LDFLAGS_FOR_TARGET=" "LIBCFLAGS_FOR_TARGET=-g -O2 -pipe -Os"
 "LIBCXXFLAGS_FOR_TARGET=-g -O2 -pipe -Os -fno-implicit-templates"
 "NM_FOR_TARGET=/opt/local/bin/nm"
 "OBJDUMP_FOR_TARGET=/opt/local/bin/objdump" "OBJCOPY_FOR_TARGET="
 "RANLIB_FOR_TARGET=/opt/local/bin/ranlib" "READELF_FOR_TARGET=readelf"
 "STRIP_FOR_TARGET=/opt/local/bin/strip" "WINDRES_FOR_TARGET=windres"
 "WINDMC_FOR_TARGET=windmc" "BUILD_CONFIG=bootstrap-debug" "`echo
 'LANGUAGES=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "LEAN=:" "STAGE1_CFLAGS=-g
 -mdynamic-no-pic" "STAGE1_CXXFLAGS=-g -mdynamic-no-pic" "STAGE1_TFLAGS="
 "STAGE2_CFLAGS=-g -O2 -mdynamic-no-pic  -gtoggle" "STAGE2_CXXFLAGS=-g -O2
 -mdynamic-no-pic  -gtoggle" "STAGE2_TFLAGS=" "STAGE3_CFLAGS=-g -O2
 -mdynamic-no-pic " "STAGE3_CXXFLAGS=-g -O2 -mdynamic-no-pic "
 "STAGE3_TFLAGS=" "STAGE4_CFLAGS=-g -O2 -mdynamic-no-pic "
 "STAGE4_CXXFLAGS=-g -O2 -mdynamic-no-pic " "STAGE4_TFLAGS="
 "STAGEprofile_CFLAGS=-g -O2 -mdynamic-no-pic  -gtoggle -fprofile-generate"
 "STAGEprofile_CXXFLAGS=-g -O2 -mdynamic-no-pic  -gtoggle -fprofile-
 generate" "STAGEprofile_TFLAGS=" "STAGEfeedback_CFLAGS=-g -O2 -mdynamic-
 no-pic  -fprofile-use" "STAGEfeedback_CXXFLAGS=-g -O2 -mdynamic-no-pic
 -fprofile-use" "STAGEfeedback_TFLAGS=" "CXX_FOR_TARGET= $r/./gcc/xg++
 -B$r/./gcc/ -nostdinc++ `if test -f $r/ppc-apple-
 darwin8/libstdc++-v3/scripts/testsuite_flags; then /bin/sh $r/ppc-apple-
 darwin8/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo
 -funconfigured-libstdc++-v3 ; fi` -L$r/ppc-apple-darwin8/libstdc++-v3/src
 -L$r/ppc-apple-darwin8/libstdc++-v3/src/.libs -L$r/ppc-apple-
 darwin8/libstdc++-v3/libsupc++/.libs" "TFLAGS=" "CONFIG_SHELL=/bin/sh"
 "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000"  compare
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc6/libgcc6/work/build'
 make[3]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc6/libgcc6/work/build'
 rm -f stage_current
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc6/libgcc6/work/build'
 Comparing stages 2 and 3
 warning: gcc/cc1-checksum.o differs
 warning: gcc/cc1plus-checksum.o differs
 Bootstrap comparison failure!
 gcc/host-darwin.o differs
 make[2]: *** [compare] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc6/libgcc6/work/build'
 make[1]: *** [stage3-bubble] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc6/libgcc6/work/build'
 make: *** [bootstrap-lean] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc6/libgcc6/work/build'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc6/libgcc6/work/build"
 && /usr/bin/make -w bootstrap-lean
 Exit code: 2
 Error: Failed to build libgcc6: command execution failed
 DEBUG: Error code: CHILDSTATUS 288 2
 DEBUG: Backtrace: command execution failed
     while executing
 "system {*}$notty {*}$nice $fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc6/libgcc6/main.log
 for details.
 DEBUG: could not read "/opt/local/lib/libstdc++.6.dylib": no such file or
 directory
     while executing
 "::file type $file"
 }}}

 The last failure report about "/opt/local/lib/libstdc++.6.dylib" does not
 seem to be true:

 {{{
 pete 239 /\ l -i /opt/local/lib/libstdc++*
 53830503 lrwxrwxrwx 1 root admin      24  2. Nov 22:47
 /opt/local/lib/libstdc++.6.dylib -> libgcc/libstdc++.6.dylib
 pete 240 /\ l -Li /opt/local/lib/libstdc++
 53830502 -rwxr-xr-x 1 root admin 1218356 13. Okt 00:42
 /opt/local/lib/libstdc++.6.dylib
 }}}

 The symlink `/opt/local/lib/libstdc++` was obviously created or updated at
 the begin of installing `libgcc7`. So it must have been present at time of
 building `libgcc6`.

-- 
Ticket URL: <https://trac.macports.org/ticket/57506>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list