Opened 6 years ago

Closed 6 years ago

#56506 closed defect (duplicate)

gcc5 @5.5.0_1 fails to build on macOS High Sierra, Version 10.13.4 (17E202) , for some reason

Reported by: ballapete (Peter "Pete" Dyballa) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.4
Keywords: highsierra Cc:
Port: gcc5

Description

Upgrading from 5.5.0_0 to 5.5.0_1 failed. There seemed to be a problem with /opt/local/lib/libmpfr.4.dylib (MacPorts' gawk crashed). port rev-upgrade could not finish, because it started with gcc5 which always failed. So uninstalled mpfr, libmpc, libgcc, libgcc6, gcc5, gcc7 and started to install these packages. Still gcc5 won't install.

=== configuring in libltdl (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/x86_64-apple-darwin17/libjava/libltdl)
configure: running /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/gcc-5.5.0/libjava/libltdl/configure --disable-option-checking '--prefix=/opt/local'  '--libdir=/opt/local/lib/gcc5' '--includedir=/opt/local/include/gcc5' '--infodir=/opt/local/share/info' '--mandir=/opt/local/share/man' '--datarootdir=/opt/local/share/gcc-5' '--with-libiconv-prefix=/opt/local' '--with-local-prefix=/opt/local' '--with-system-zlib' '--disable-nls' '--with-gxx-include-dir=/opt/local/include/gcc5/c++/' '--with-gmp=/opt/local' '--with-mpfr=/opt/local' '--with-mpc=/opt/local' '--with-isl=/opt/local' '--enable-stage1-checking' '--disable-multilib' '--enable-lto' '--enable-libstdcxx-time' '--with-build-config=bootstrap-debug' '--with-as=/opt/local/bin/as' '--with-ld=/opt/local/bin/ld' '--with-ar=/opt/local/bin/ar' '--with-bugurl=https://trac.macports.org/newticket' '--disable-tls' '--with-pkgversion=MacPorts gcc5 5.5.0_1' '--enable-languages=c,c++,fortran,java,lto,objc,obj-c++' '--program-transform-name=s&$&-mp-5&' '--with-target-subdir=x86_64-apple-darwin17' '--build=x86_64-apple-darwin17' '--host=x86_64-apple-darwin17' '--target=x86_64-apple-darwin17' '--disable-static' 'build_alias=x86_64-apple-darwin17' 'host_alias=x86_64-apple-darwin17' 'target_alias=x86_64-apple-darwin17' 'CC=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin17/bin/ -B/opt/local/x86_64-apple-darwin17/lib/ -isystem /opt/local/x86_64-apple-darwin17/include -isystem /opt/local/x86_64-apple-darwin17/sys-include   ' 'CFLAGS=-g -O2 -pipe -Os' 'LDFLAGS=' 'CPPFLAGS=' 'CXX= /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/xgcc -shared-libgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc -nostdinc++ -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/x86_64-apple-darwin17/libstdc++-v3/src -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/x86_64-apple-darwin17/libstdc++-v3/src/.libs -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/x86_64-apple-darwin17/libstdc++-v3/libsupc++/.libs -B/opt/local/x86_64-apple-darwin17/bin/ -B/opt/local/x86_64-apple-darwin17/lib/ -isystem /opt/local/x86_64-apple-darwin17/include -isystem /opt/local/x86_64-apple-darwin17/sys-include   ' 'CXXFLAGS=-g -O2 -pipe -Os' 'CPP=/usr/bin/clang -E' 'CXXCPP=/usr/bin/clang++ -E' '--disable-tool-wrappers' '--disable-load-library' '--disable-debug' '--enable-default-toolkit=' '--with-vm-classes=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/gcc-5.5.0/libjava:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/x86_64-apple-darwin17/libjava' '--disable-core-jni' '--disable-examples' '--with-glibj=build' '--disable-plugin' '--disable-gconf-peer' '--enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory' '--disable-gtk-peer' '--disable-plugin' '--disable-qt-peer' '--without-escher' '--disable-gjdoc' '--disable-regen-headers' '--disable-Werror' '--enable-ltdl-convenience' '--with-auxdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/gcc-5.5.0' --cache-file=.././config.cache --srcdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/gcc-5.5.0/libjava/libltdl
configure: loading cache .././config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /opt/local/bin/gmkdir -p
checking for gawk... (cached) awk
checking whether /usr/bin/make sets $(MAKE)... (cached) yes
checking for x86_64-apple-darwin17-gcc... (cached) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin17/bin/ -B/opt/local/x86_64-apple-darwin17/lib/ -isystem /opt/local/x86_64-apple-darwin17/include -isystem /opt/local/x86_64-apple-darwin17/sys-include   
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin17/bin/ -B/opt/local/x86_64-apple-darwin17/lib/ -isystem /opt/local/x86_64-apple-darwin17/include -isystem /opt/local/x86_64-apple-darwin17/sys-include    accepts -g... (cached) yes
checking for /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin17/bin/ -B/opt/local/x86_64-apple-darwin17/lib/ -isystem /opt/local/x86_64-apple-darwin17/include -isystem /opt/local/x86_64-apple-darwin17/sys-include    option to accept ISO C89... (cached) none needed
checking for style of include used by /usr/bin/make... GNU
checking dependency style of /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin17/bin/ -B/opt/local/x86_64-apple-darwin17/lib/ -isystem /opt/local/x86_64-apple-darwin17/include -isystem /opt/local/x86_64-apple-darwin17/sys-include   ... (cached) gcc3
checking for an ANSI C-conforming const... (cached) yes
checking for inline... (cached) inline
checking build system type... (cached) x86_64-apple-darwin17
checking host system type... (cached) x86_64-apple-darwin17
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/grep -E
checking for ld used by /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin17/bin/ -B/opt/local/x86_64-apple-darwin17/lib/ -isystem /opt/local/x86_64-apple-darwin17/include -isystem /opt/local/x86_64-apple-darwin17/sys-include   ... (cached) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/collect-ld
checking if the linker (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/collect-ld) is GNU ld... (cached) no
checking for /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/collect-ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... (cached) pass_all
checking how to run the C preprocessor... /usr/bin/clang -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking the maximum length of command line arguments... (cached) 196608
checking command to parse /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/nm output from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin17/bin/ -B/opt/local/x86_64-apple-darwin17/lib/ -isystem /opt/local/x86_64-apple-darwin17/include -isystem /opt/local/x86_64-apple-darwin17/sys-include    object... (cached) ok
checking for objdir... (cached) .libs
checking for x86_64-apple-darwin17-ar... (cached) /opt/local/bin/ar
checking for x86_64-apple-darwin17-ranlib... (cached) /opt/local/bin/ranlib
checking for x86_64-apple-darwin17-strip... (cached) /opt/local/bin/strip
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
checking if /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin17/bin/ -B/opt/local/x86_64-apple-darwin17/lib/ -isystem /opt/local/x86_64-apple-darwin17/include -isystem /opt/local/x86_64-apple-darwin17/sys-include    static flag  works... rm: conftest.dSYM: is a directory
yes
checking if /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin17/bin/ -B/opt/local/x86_64-apple-darwin17/lib/ -isystem /opt/local/x86_64-apple-darwin17/include -isystem /opt/local/x86_64-apple-darwin17/sys-include    supports -fno-rtti -fno-exceptions... (cached) no
checking for /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin17/bin/ -B/opt/local/x86_64-apple-darwin17/lib/ -isystem /opt/local/x86_64-apple-darwin17/include -isystem /opt/local/x86_64-apple-darwin17/sys-include    option to produce PIC... -fno-common
checking if /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin17/bin/ -B/opt/local/x86_64-apple-darwin17/lib/ -isystem /opt/local/x86_64-apple-darwin17/include -isystem /opt/local/x86_64-apple-darwin17/sys-include    PIC flag -fno-common works... rm: conftest.dSYM: is a directory
yes
checking if /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin17/bin/ -B/opt/local/x86_64-apple-darwin17/lib/ -isystem /opt/local/x86_64-apple-darwin17/include -isystem /opt/local/x86_64-apple-darwin17/sys-include    supports -c -o file.o... (cached) yes
checking whether the /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin17/bin/ -B/opt/local/x86_64-apple-darwin17/lib/ -isystem /opt/local/x86_64-apple-darwin17/include -isystem /opt/local/x86_64-apple-darwin17/sys-include    linker (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/./gcc/collect-ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin17 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking which extension is used for loadable modules... .dylib
checking which variable specifies run-time library path... (cached) DYLD_LIBRARY_PATH
checking for the default library search path... /usr/local/lib /lib /usr/lib
checking for objdir... .libs
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen in -ldl... (cached) yes
checking for dlerror... yes
checking for _ prefix in compiled symbols... yes
checking whether we have to add an underscore for dlsym... no
checking whether deplibs are loaded by dlopen... yes
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking for error_t... no
checking for argz_append... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking sys/dl.h usability... no
checking sys/dl.h presence... no
checking for sys/dl.h... no
checking dld.h usability... no
checking dld.h presence... no
checking for dld.h... no
checking mach-o/dyld.h usability... yes
checking mach-o/dyld.h presence... yes
checking for mach-o/dyld.h... yes
checking for string.h... (cached) yes
checking for strchr... yes
checking for strrchr... yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for strcmp... yes
checking for closedir... yes
checking for opendir... (cached) yes
checking for readdir... yes
configure: updating cache .././config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing depfiles commands
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build'
make: *** [bootstrap-lean] Error 2

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/x86_64-apple-darwin17/libjava/libltdl/config.log does seem to contain anything to help understand the problem.

Attachments (2)

main.log.xz (323.5 KB) - added by ballapete (Peter "Pete" Dyballa) 6 years ago.
Main.log from High Sierra, macOS 10.13.4
config.log (94.6 KB) - added by ballapete (Peter "Pete" Dyballa) 6 years ago.
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/x86_64-apple-darwin17/libjava/libltdl/config.log

Download all attachments as: .zip

Change History (3)

comment:1 Changed 6 years ago by kencu (Ken)

Resolution: duplicate
Status: newclosed

duplicate of 56502 which has a patch to fix the issue.

Changed 6 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log.xz added

Main.log from High Sierra, macOS 10.13.4

Changed 6 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: config.log added

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc5/gcc5/work/build/x86_64-apple-darwin17/libjava/libltdl/config.log

Note: See TracTickets for help on using tickets.