[MacPorts] #62694: libgcc-devel, fail to build in BigSur 11.2 by (11_arm64) :info:build Bootstrap comparison failure! (was: libgcc-devel, fail to build in BigSur 11.2 by (11_arm64))

MacPorts noreply at macports.org
Tue Apr 13 18:28:01 UTC 2021


#62694: libgcc-devel, fail to build  in BigSur 11.2 by (11_arm64) :info:build
Bootstrap comparison failure!
---------------------------+--------------------
  Reporter:  ecb2c         |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.4
Resolution:                |   Keywords:
      Port:  libgcc-devel  |
---------------------------+--------------------
Description changed by kencu:

Old description:

> I have no idea for this error.
> This took for almost 1hr to build "libgcc-devel" with 100% CPUs (8 cores
> Full running).
> Please try to solve this, if somebody has interest on it.
> Thanks.
>

> {{{
> (base) ~ % sudo port install fftw-3
> Password:
> Warning: The macOS 11.2 SDK does not appear to be installed. Ports may
> not build correctly.
> Warning: You can install it as part of the Xcode Command Line Tools
> package by running `xcode-select --install'.
> --->  Computing dependencies for fftw-3
> The following dependencies will be installed:
>  gcc-devel
>  libgcc-devel
> Continue? [Y/n]: y
> Warning: The macOS 11.2 SDK does not appear to be installed. Ports may
> not build correctly.
> Warning: You can install it as part of the Xcode Command Line Tools
> package by running `xcode-select --install'.
> --->  Fetching archive for libgcc-devel
> --->  Attempting to fetch libgcc-devel-11-20210328_0.darwin_20.arm64.tbz2
> from http://jog.id.packages.macports.org/macports/packages/libgcc-devel
> --->  Attempting to fetch libgcc-devel-11-20210328_0.darwin_20.arm64.tbz2
> from https://kmq.jp.packages.macports.org/libgcc-devel
> --->  Attempting to fetch libgcc-devel-11-20210328_0.darwin_20.arm64.tbz2
> from https://ywg.ca.packages.macports.org/mirror/macports/packages
> /libgcc-devel
> --->  Building libgcc-devel
> Error: Failed to build libgcc-devel: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port fftw-3 failed
> }}}

New description:

 I have no idea for this error.
 This took for almost 1hr to build "libgcc-devel" with 100% CPUs (8 cores
 Full running).
 Please try to solve this, if somebody has interest on it.
 Thanks.

 {{{
 :info:build make[5]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build/aarch64-apple-darwin20/libstdc++-v3/python'
 :info:build sed -e 's, at pythondir@,/opt/local/share/gcc-
 devel/gcc-11.0.1/python,' \
 :info:build         -e 's, at toolexeclibdir@,/opt/local/lib/libgcc,' <
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-devel/work/gcc-
 darwin-
 arm64-e330c4193fcc9dfd030d14b309b573753aa0afb0/libstdc++-v3/python/hook.in
 > gdb.py
 :info:build make[5]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build/aarch64-apple-darwin20/libstdc++-v3/python'
 :info:build make[5]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build/aarch64-apple-darwin20/libstdc++-v3'
 :info:build true "AR_FLAGS=rc" "CC_FOR_BUILD=/usr/bin/clang -arch arm64"
 "CC_FOR_TARGET=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build/./gcc/" "CFLAGS=-g -O2 -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" "CXXFLAGS=-g
 -O2 -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
 "CFLAGS_FOR_BUILD=-pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
 "CFLAGS_FOR_TARGET=-g -O2 -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
 "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=-g -O2 -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
 "LIBCFLAGS_FOR_TARGET=-g -O2 -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
 "MAKE=/Library/Developer/CommandLineTools/usr/bin/make" "MAKEINFO=makeinfo
 --split-size=5000000 --split-size=5000000 --split-size=5000000   "
 "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/opt/local"
 "infodir=/opt/local/share/info" "libdir=/opt/local/lib/libgcc"
 "includedir=/opt/local/include/gcc" "prefix=/opt/local"
 "tooldir=/opt/local/aarch64-apple-darwin20"
 "gxx_include_dir=/opt/local/include/gcc/c++/" "AR=/opt/local/bin/ar"
 "AS=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build/./gcc/as"
 "LD=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build/./gcc/collect-ld" "RANLIB=/opt/local/bin/ranlib"
 "NM=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build/./gcc/nm" "NM_FOR_BUILD="
 "NM_FOR_TARGET=/opt/local/bin/nm" "DESTDIR=" "WERROR=" DO=all multi-do #
 /Library/Developer/CommandLineTools/usr/bin/make
 :info:build make[5]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build/aarch64-apple-darwin20/libstdc++-v3'
 :info:build make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build/aarch64-apple-darwin20/libstdc++-v3'
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build/aarch64-apple-darwin20/libstdc++-v3'
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build'
 :info:build /Library/Developer/CommandLineTools/usr/bin/make "DESTDIR="
 "RPATH_ENVVAR=DYLD_LIBRARY_PATH" "TARGET_SUBDIR=aarch64-apple-darwin20"
 "bindir=/opt/local/bin" "datadir=/opt/local/share/gcc-devel"
 "exec_prefix=/opt/local" "includedir=/opt/local/include/gcc"
 "datarootdir=/opt/local/share/gcc-devel" "docdir=/opt/local/share/gcc-
 devel/doc/" "infodir=/opt/local/share/info" "pdfdir=/opt/local/share/gcc-
 devel/doc/" "htmldir=/opt/local/share/gcc-devel/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/aarch64-apple-darwin20"
 "build_tooldir=/opt/local/aarch64-apple-darwin20" "target_alias=aarch64
 -apple-darwin20" "AWK=awk" "BISON=bison" "CC_FOR_BUILD=/usr/bin/clang
 -arch arm64" "CFLAGS_FOR_BUILD=-pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
 "CXX_FOR_BUILD=/usr/bin/clang++ -arch arm64 -std=c++11" "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
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
 "LEX=flex" "M4=gm4"
 "MAKE=/Library/Developer/CommandLineTools/usr/bin/make" "RUNTEST=runtest"
 "RUNTESTFLAGS=" "SED=/usr/bin/sed" "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" "BOOT_LDFLAGS=" "CFLAGS=-pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
 "CXXFLAGS=-pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
 "LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
 "LIBCFLAGS=-pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
 "LIBCXXFLAGS=-pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-
 implicit-templates" "STAGE1_CHECKING=--enable-checking=yes"
 "STAGE1_LANGUAGES=c,c++,lto" "GNATBIND=no" "GNATMAKE=no" "GDC=@GDC@"
 "GDCFLAGS=-pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
 "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_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build/./gcc/" "CFLAGS_FOR_TARGET=-g -O2 -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
 "CPPFLAGS_FOR_TARGET=" "CXXFLAGS_FOR_TARGET=-g -O2 -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
 "DLLTOOL_FOR_TARGET=dlltool" "DSYMUTIL_FOR_TARGET=dsymutil"
 "FLAGS_FOR_TARGET=-B/opt/local/aarch64-apple-darwin20/bin/
 -B/opt/local/aarch64-apple-darwin20/lib/ -isystem /opt/local/aarch64
 -apple-darwin20/include -isystem /opt/local/aarch64-apple-darwin20/sys-
 include"
 "GFORTRAN_FOR_TARGET=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build/./gcc/gfortran
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build/./gcc/" "GOC_FOR_TARGET=" "GOCFLAGS_FOR_TARGET=-O2 -g"
 "GDC_FOR_TARGET=@GDC@" "GDCFLAGS_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
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
 "LIBCXXFLAGS_FOR_TARGET=-g -O2 -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -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"
 "STAGE1_CXXFLAGS=-g" "STAGE1_GENERATOR_CFLAGS=" "STAGE1_TFLAGS=-fno-
 checking" "STAGE2_CFLAGS=-g -O2 -fno-checking -gtoggle"
 "STAGE2_CXXFLAGS=-g -O2 -fno-checking -gtoggle" "STAGE2_GENERATOR_CFLAGS="
 "STAGE2_TFLAGS=-fno-checking" "STAGE3_CFLAGS=-g -O2 -fchecking=1"
 "STAGE3_CXXFLAGS=-g -O2 -fchecking=1" "STAGE3_GENERATOR_CFLAGS="
 "STAGE3_TFLAGS=-fchecking=1" "STAGE4_CFLAGS=-g -O2" "STAGE4_CXXFLAGS=-g
 -O2" "STAGE4_GENERATOR_CFLAGS=" "STAGE4_TFLAGS=" "STAGEprofile_CFLAGS=-g
 -O2 -fno-checking -gtoggle -fprofile-generate" "STAGEprofile_CXXFLAGS=-g
 -O2 -fno-checking -gtoggle -fprofile-generate"
 "STAGEprofile_GENERATOR_CFLAGS=" "STAGEprofile_TFLAGS=-fno-checking"
 "STAGEtrain_CFLAGS=-g -O2" "STAGEtrain_CXXFLAGS=-g -O2"
 "STAGEtrain_GENERATOR_CFLAGS=" "STAGEtrain_TFLAGS="
 "STAGEfeedback_CFLAGS=-g -O2 -fprofile-use -fprofile-reproducible
 =parallel-runs" "STAGEfeedback_CXXFLAGS=-g -O2 -fprofile-use -fprofile-
 reproducible=parallel-runs" "STAGEfeedback_GENERATOR_CFLAGS="
 "STAGEfeedback_TFLAGS=" "STAGEautoprofile_CFLAGS=-g -O2 -fno-checking
 -gtoggle -g" "STAGEautoprofile_CXXFLAGS=-g -O2 -fno-checking -gtoggle -g"
 "STAGEautoprofile_GENERATOR_CFLAGS=" "STAGEautoprofile_TFLAGS=-fno-
 checking" "STAGEautofeedback_CFLAGS=-g -O2 -fchecking=1"
 "STAGEautofeedback_CXXFLAGS=-g -O2 -fchecking=1"
 "STAGEautofeedback_GENERATOR_CFLAGS="
 "STAGEautofeedback_TFLAGS=-fchecking=1" "CXX_FOR_TARGET= $r/./gcc/xg++
 -B$r/./gcc/ -nostdinc++ `if test -f $r/aarch64-apple-
 darwin20/libstdc++-v3/scripts/testsuite_flags; then /bin/sh $r/aarch64
 -apple-darwin20/libstdc++-v3/scripts/testsuite_flags --build-includes;
 else echo -funconfigured-libstdc++-v3 ; fi` -L$r/aarch64-apple-
 darwin20/libstdc++-v3/src -L$r/aarch64-apple-
 darwin20/libstdc++-v3/src/.libs -L$r/aarch64-apple-
 darwin20/libstdc++-v3/libsupc++/.libs" "TFLAGS=" "CONFIG_SHELL=/bin/sh"
 "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000"  compare
 :info:build make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build'
 :info:build make[3]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build'
 :info:build rm -f stage_current
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_lang_gcc-devel/libgcc-
 devel/work/build'
 :info:build Comparing stages 2 and 3
 :info:build warning: gcc/cc1obj-checksum.o differs
 :info:build warning: gcc/cc1objplus-checksum.o differs
 :info:build Bootstrap comparison failure!
 :info:build gcc/lto-compress.o differs
 :info:build gcc/lto-streamer-out.o differs
 :info:build gcc/gcc.o differs
 :info:build make[2]: *** [compare] Error 1
 }}}

--

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


More information about the macports-tickets mailing list