[MacPorts] #57547: gcc5 @5.5.0_4 does not build on PPC MacOS X 10.4.11, Tiger with HFSX because of "Bootstrap comparison failure!"

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #57547: gcc5 @5.5.0_4 does not build on PPC MacOS X 10.4.11, Tiger with HFSX because of "Bootstrap comparison failure!"

MacPorts
#57547: gcc5 @5.5.0_4 does not build on PPC MacOS X 10.4.11, Tiger with HFSX
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:  gcc5
-----------------------+--------------------
 The build of `GCC48` succeeded, but `GCC5` fails the same way as versions
 6 (#57506) and 7 (#56922):

 {{{
 /usr/bin/make "DESTDIR=" "RPATH_ENVVAR=DYLD_LIBRARY_PATH" "TARGET_SUBDIR
 =ppc-apple-darwin8" "bindir=/opt/local/bin"
 "datadir=/opt/local/share/gcc-5" "exec_prefix=/opt/local"
 "includedir=/opt/local/include/gcc5" "datarootdir=/opt/local/share/gcc-5"
 "docdir=/opt/local/share/gcc-5/doc/" "infodir=/opt/local/share/info"
 "pdfdir=/opt/local/share/gcc-5/doc/" "htmldir=/opt/local/share/gcc-5/doc/"
 "libdir=/opt/local/lib/gcc5" "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" "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_gcc5/gcc5/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/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=/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/gcj
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/"
 "GFORTRAN_FOR_TARGET=/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/gfortran
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/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_gcc5/gcc5/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_gcc5/gcc5/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_gcc5/gcc5/work/build'
 Comparing stages 2 and 3
 warning: gcc/cc1-checksum.o differs
 warning: gcc/cc1obj-checksum.o differs
 warning: gcc/cc1objplus-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_gcc5/gcc5/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_gcc5/gcc5/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_gcc5/gcc5/work/build'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/work/build"
 && /usr/bin/make -w bootstrap-lean
 Exit code: 2
 Error: Failed to build gcc5: command execution failed
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/57547>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57547: gcc5 @5.5.0_4 does not build on PPC MacOS X 10.4.11, Tiger with HFSX because of "Bootstrap comparison failure!"

MacPorts
#57547: gcc5 @5.5.0_4 does not build on PPC MacOS X 10.4.11, Tiger with HFSX
because of "Bootstrap comparison failure!"
------------------------+--------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.5.4
Resolution:             |   Keywords:  tiger
      Port:  gcc5       |
------------------------+--------------------
Changes (by ballapete):

 * Attachment "main.log.gz" added.

 Main.log from build on PowerPC 7447A on HFSX

--
Ticket URL: <https://trac.macports.org/ticket/57547>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57547: gcc5 @5.5.0_4 does not build on PPC MacOS X 10.4.11, Tiger with HFSX because of "Bootstrap comparison failure!"

MacPorts
In reply to this post by MacPorts
#57547: gcc5 @5.5.0_4 does not build on PPC MacOS X 10.4.11, Tiger with HFSX
because of "Bootstrap comparison failure!"
------------------------+--------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.5.4
Resolution:             |   Keywords:  tiger
      Port:  gcc5       |
------------------------+--------------------

Comment (by kencu):

 Someday we'll figure out what is wrong with your setup there...
 {{{
 $ port -v installed gcc5
 The following ports are currently installed:
   gcc5 @5.4.0_0 platform='darwin 8' archs='ppc'
 date='2016-07-28T04:28:30-0700'
   gcc5 @5.4.0_1 platform='darwin 8' archs='ppc'
 date='2017-03-27T00:42:24-0700'
   gcc5 @5.5.0_3 (active) platform='darwin 8' archs='ppc'
 date='2018-11-08T22:04:23-0800'
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/57547#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57547: gcc5 @5.5.0_4 does not build on PPC MacOS X 10.4.11, Tiger with HFSX because of "Bootstrap comparison failure!"

MacPorts
In reply to this post by MacPorts
#57547: gcc5 @5.5.0_4 does not build on PPC MacOS X 10.4.11, Tiger with HFSX
because of "Bootstrap comparison failure!"
------------------------+--------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.5.4
Resolution:             |   Keywords:  tiger
      Port:  gcc5       |
------------------------+--------------------

Comment (by ballapete):

 I retried to build gcc5, now with `apple-gcc42 @5666.3_15+gpl3 (active)
 platform='darwin 8' archs='ppc' date='2015-07-10T13:06:16+0200'` instead
 of `apple-gcc42 @5666.3_15 platform='darwin 8' archs='ppc'
 date='2018-08-20T17:19:16+0200'`. The result was the same, "checksum
 mismatch". Even this report about a not existing utility was repeated:

 {{{
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_gcc5/gcc5/main.log
 for details.
 DEBUG: Failed to locate 'xcrun' in path:
 '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its
 MacPorts configuration time location, did you move it?
     while executing
 "error "$eMessage or at its MacPorts configuration time location, did you
 move it?""
     invoked from within
 "try -pass_signal {
             return [macports::binaryInPath $prog]
         } catch {{*} eCode eMessage} {
             error "$eMessage or at its Mac..."
     (procedure "macports::findBinary" line 5)
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/57547#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS