Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-9700

binutils failure impacting: net-misc/curl-7.82.0 fails to compile

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Severe (Users) Severe (Users)
    • None
    • None
    • None
    • This can hit users when upgrading binutils. It is not yet resolved. Most users are past this point but it could hit us again.
    • Hide
      The root cause of this issue is that binutils' build system will improperly link against installed libraries from a previous binutils version rather than using the library versions it just built. This requires manually re-building binutils-libs to flush out the "bad" dynamic linking done on the first emerge.
      Show
      The root cause of this issue is that binutils' build system will improperly link against installed libraries from a previous binutils version rather than using the library versions it just built. This requires manually re-building binutils-libs to flush out the "bad" dynamic linking done on the first emerge.

      World update after ego sync today failed. The culprit is curl:

      EDIT: The culprit is actually binutils-libs!

      >>> Emerging (1 of 52) net-misc/curl-7.82.0::core-kit

      • curl-7.82.0.tar.gz BLAKE2B SHA512 size ... [ ok ]
        >>> Unpacking source...
        >>> Unpacking curl-7.82.0.tar.gz to /var/tmp/portage/net-misc/curl-7.82.0/work
        >>> Source unpacked in /var/tmp/portage/net-misc/curl-7.82.0/work
        >>> Preparing source in /var/tmp/portage/net-misc/curl-7.82.0/work/curl-7.82.0 ...
      • Adjusting to prefix /
      • curl-config.in ... [ ok ]
      • Running eautoreconf in '/var/tmp/portage/net-misc/curl-7.82.0/work/curl-7.82.0' ...
      • Running aclocal -I m4 ... [ ok ]
      • Running libtoolize --install --copy --force --automake ... [ ok ]
      • Running aclocal -I m4 ... [ ok ]
      • Running autoconf --force ... [ ok ]
      • Running autoheader ... [ ok ]
      • Running automake --add-missing --copy --foreign --force-missing ... [ ok ]
      • Running elibtoolize in: curl-7.82.0/
      • Applying portage/1.2.0 patch ...
      • Applying sed/1.5.6 patch ...
      • Applying as-needed/2.4.3 patch ...
        >>> Source prepared.
        >>> Configuring source in /var/tmp/portage/net-misc/curl-7.82.0/work/curl-7.82.0 ...
      • abi_x86_64.amd64: running multilib-minimal_abi_src_configure
      • SSL provided by nss
      • SSL provided by openssl
      • Default SSL provided by openssl
      • econf: updating curl-7.82.0/config.sub with /usr/share/gnuconfig/config.sub
      • econf: updating curl-7.82.0/config.guess with /usr/share/gnuconfig/config.guess
        /var/tmp/portage/net-misc/curl-7.82.0/work/curl-7.82.0/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/curl-7.82.0 --htmldir=/usr/share/doc/curl-7.82.0/html --with-sysroot=/ --libdir=/usr/lib64 --without-gnutls --without-mbedtls --without-nss --without-ssl --without-ca-fallback --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt --with-nss --with-nss-deprecated --with-ssl --with-ca-path=/etc/ssl/certs --with-default-ssl-backend=openssl --disable-alt-svc --enable-crypto-auth --enable-dict --disable-ech --enable-file --enable-ftp --disable-gopher --disable-hsts --enable-http --enable-imap --disable-ldap --disable-ldaps --enable-ntlm --disable-ntlm-wb --enable-pop3 --enable-rt --enable-rtsp --disable-smb --without-libssh2 --enable-smtp --disable-telnet --enable-tftp --enable-tls-srp --disable-ares --enable-cookies --enable-dateparse --enable-dnsshuffle --enable-doh --enable-symbol-hiding --enable-http-auth --enable-ipv6 --enable-largefile --enable-manual --enable-mime --enable-netrc --enable-progress-meter --enable-proxy --disable-sspi --disable-static --disable-threaded-resolver --disable-pthreads --disable-versioned-symbols --without-amissl --without-bearssl --without-brotli --without-fish-functions-dir --with-nghttp2 --without-hyper --without-libidn2 --without-gssapi --without-libgsasl --without-libpsl --without-nghttp3 --without-ngtcp2 --without-quiche --without-librtmp --without-rustls --without-schannel --without-secure-transport --without-winidn --without-wolfssl --with-zlib --without-zstd
        checking whether to enable maintainer-specific portions of Makefiles... no
        checking whether make supports nested variables... yes
        checking whether to enable debug build options... no
        checking whether to enable compiler optimizer... (assumed) yes
        checking whether to enable strict compiler warnings... no
        checking whether to enable compiler warnings as errors... no
        checking whether to enable curl debug memory tracking... no
        checking whether to enable hiding of library internal symbols... yes
        checking whether to enable c-ares for DNS lookups... no
        checking whether to disable dependency on -lrt... no
        checking whether to enable ECH support... no
        checking for path separator... :
        checking for sed... /bin/sed
        checking for grep... /bin/grep
        checking for egrep... /bin/grep -E
        checking for x86_64-pc-linux-gnu-ar... /usr/bin/x86_64-pc-linux-gnu-ar
        checking for a BSD-compatible install... /var/tmp/portage/.portage_reinstall.n82f45_t/bin/ebuild-helpers/xattr/install -c
        checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
        checking whether the C compiler works... yes
        checking for C compiler default output file name... a.out
        checking for suffix of executables...
        checking whether we are cross compiling... no
        checking for suffix of object files... o
        checking whether we are using the GNU C compiler... yes
        checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
        checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
        checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
        checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
        checking for a sed that does not truncate output... (cached) /bin/sed
        checking for code coverage support... no
        checking whether build environment is sane... yes
        checking for a thread-safe mkdir -p... /bin/mkdir -p
        checking for gawk... gawk
        checking whether make sets $(MAKE)... yes
        checking whether make supports the include directive... yes (GNU style)
        checking dependency style of x86_64-pc-linux-gnu-gcc... none
        checking curl version... 7.82.0-DEV
        checking build system type... x86_64-pc-linux-gnu
        checking host system type... x86_64-pc-linux-gnu
        checking for grep that handles long lines and -e... (cached) /bin/grep
        checking for egrep... /bin/grep -E
        checking if OS is AIX (to define _ALL_SOURCE)... no
        checking if _THREAD_SAFE is already defined... no
        checking if _THREAD_SAFE is actually needed... no
        checking if _THREAD_SAFE is onwards defined... no
        checking if _REENTRANT is already defined... no
        checking if _REENTRANT is actually needed... no
        checking if _REENTRANT is onwards defined... no
        checking for special C compiler options needed for large files... no
        checking for _FILE_OFFSET_BITS value needed for large files... no
        checking how to print strings... printf
        checking for a sed that does not truncate output... (cached) /bin/sed
        checking for fgrep... /bin/grep -F
        checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
        checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
        checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B
        checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm
        checking whether ln -s works... yes
        checking the maximum length of command line arguments... 1572864
        checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
        checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
        checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
        checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
        checking how to recognize dependent libraries... pass_all
        checking for x86_64-pc-linux-gnu-dlltool... no
        checking for dlltool... no
        checking how to associate runtime and link libraries... printf %s\n
        checking for x86_64-pc-linux-gnu-ar... /usr/bin/x86_64-pc-linux-gnu-ar
        checking for archiver @FILE support... @
        checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
        checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
        checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
        checking for sysroot... /
        checking for a working dd... /bin/dd
        checking how to truncate binary pipes... /bin/dd bs=4096 count=1
        checking for x86_64-pc-linux-gnu-mt... no
        checking for mt... no
        checking if : is a manifest tool... no
        checking for ANSI C header files... yes
        checking for sys/types.h... yes
        checking for sys/stat.h... yes
        checking for stdlib.h... yes
        checking for string.h... yes
        checking for memory.h... yes
        checking for strings.h... yes
        checking for inttypes.h... yes
        checking for stdint.h... yes
        checking for unistd.h... yes
        checking for dlfcn.h... yes
        checking for objdir... .libs
        checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
        checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
        checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
        checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
        checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
        checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
        checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
        checking whether -lc should be explicitly linked in... no
        checking dynamic linker characteristics... GNU/Linux ld.so
        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
        checking whether to build shared libraries with -version-info... yes
        checking whether to build shared libraries with -no-undefined... no
        checking whether to build shared libraries with -mimpure-text... no
        checking whether to build shared libraries with PIC... yes
        checking whether to build static libraries with PIC... yes
        checking whether to build shared libraries only... yes
        checking whether to build static libraries only... no
        checking for inline... inline
        checking if cpp -P is needed... yes
        checking if cpp -P works... yes
        checking if compiler is DEC/Compaq/HP C... no
        checking if compiler is HP-UX C... no
        checking if compiler is IBM C... no
        checking if compiler is Intel C... no
        checking if compiler is clang... no
        checking if compiler is GNU C... yes
        checking if compiler is LCC... no
        checking if compiler is SGI MIPSpro C... no
        checking if compiler is SGI MIPS C... no
        checking if compiler is SunPro C... no
        checking if compiler is Tiny C... no
        checking if compiler accepts some basic options... yes
        configure: compiler options added: -Werror-implicit-function-declaration
        checking if compiler optimizer assumed setting might be used... no
        checking if compiler accepts strict warning options... yes
        configure: compiler options added: -Wno-system-headers
        checking if compiler halts on compilation errors... yes
        checking if compiler halts on negative sized arrays... yes
        checking if compiler halts on function prototype mismatch... yes
        checking if compiler supports hiding library internal symbols... yes
        checking for windows.h... no
        checking whether build target is a native Windows one... no
        checking whether build target supports WIN32 file API... no
        checking whether build target supports WIN32 crypto API... no
        checking for good-to-use Darwin CFLAGS... no
        checking whether to link macOS CoreFoundation and SystemConfiguration framework... no
        checking to see if the compiler supports __builtin_available()... no
        checking whether to support http... yes
        checking whether to support ftp... yes
        checking whether to support file... yes
        checking whether to support ldap... no
        checking whether to support ldaps... no
        checking whether to support rtsp... yes
        checking whether to support proxies... yes
        checking whether to support dict... yes
        checking whether to support telnet... no
        checking whether to support tftp... yes
        checking whether to support pop3... yes
        checking whether to support imap... yes
        checking whether to support smb... no
        checking whether to support smtp... yes
        checking whether to support gopher... no
        checking whether to support mqtt... no
        checking whether to provide built-in manual... yes
        checking whether to enable generation of C code... yes
        checking whether to use libgcc... no
        checking if X/Open network library is required... no
        checking for gethostbyname... yes
        checking for gethostbyname for AmigaOS bsdsocket.library... no
        checking for windows.h... (cached) no
        checking for winsock2.h... (cached) no
        checking for proto/bsdsocket.h... no
        checking for connect in libraries... yes
        checking for sys/types.h... (cached) yes
        checking sys/time.h usability... yes
        checking sys/time.h presence... yes
        checking for sys/time.h... yes
        checking for monotonic clock_gettime... yes
        checking for clock_gettime in libraries... no additional lib required
        checking if monotonic clock_gettime works... yes
        checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
        checking for zlib options with pkg-config... found
        checking zlib.h usability... yes
        checking zlib.h presence... yes
        checking for zlib.h... yes
        configure: found both libz and libz.h header
        checking whether to enable IPv6... yes
        checking if struct sockaddr_in6 has sin6_scope_id member... yes
        checking if argv can be written to... yes
        checking if GSS-API support is requested... no
        checking whether to enable Windows native SSL/TLS... no
        checking whether to enable Secure Transport... no
        checking whether to enable Amiga native SSL/TLS (AmiSSL)... no
        checking for x86_64-pc-linux-gnu-pkg-config... (cached) /usr/bin/x86_64-pc-linux-gnu-pkg-config
        checking for openssl options with pkg-config... found
        configure: pkg-config: SSL_LIBS: "-lssl -lcrypto "
        configure: pkg-config: SSL_LDFLAGS: ""
        configure: pkg-config: SSL_CPPFLAGS: ""
        checking for HMAC_Update in -lcrypto... yes
        checking for SSL_connect in -lssl... yes
        checking openssl/x509.h usability... yes
        checking openssl/x509.h presence... yes
        checking for openssl/x509.h... yes
        checking openssl/rsa.h usability... yes
        checking openssl/rsa.h presence... yes
        checking for openssl/rsa.h... yes
        checking openssl/crypto.h usability... yes
        checking openssl/crypto.h presence... yes
        checking for openssl/crypto.h... yes
        checking openssl/pem.h usability... yes
        checking openssl/pem.h presence... yes
        checking for openssl/pem.h... yes
        checking openssl/ssl.h usability... yes
        checking openssl/ssl.h presence... yes
        checking for openssl/ssl.h... yes
        checking openssl/err.h usability... yes
        checking openssl/err.h presence... yes
        checking for openssl/err.h... yes
        checking for RAND_egd... no
        checking for BoringSSL... no
        checking for libressl... no
        checking for OpenSSL >= v3... no
        checking for "/dev/urandom"... yes
        checking for SRP support in OpenSSL... yes
        checking for x86_64-pc-linux-gnu-pkg-config... (cached) /usr/bin/x86_64-pc-linux-gnu-pkg-config
        checking for nss options with pkg-config... found
        checking for SSL_VersionRangeSet in -lnss3... yes
        configure: detected NSS version 3.77.0
        checking for PK11_CreateManagedGenericObject... yes
        configure: Added /usr/lib to CURL_LIBRARY_PATH
        configure: built with multiple SSL backends
        checking default CA cert bundle/path... /etc/ssl/certs/ca-certificates.crt
        /etc/ssl/certs (capath)
        checking whether to use builtin CA store of SSL library... no
        checking whether versioned symbols are wanted... no
        checking whether to enable Windows native IDN (Windows native builds only)... no
        checking whether to build with libidn2... no
        checking for x86_64-pc-linux-gnu-pkg-config... (cached) /usr/bin/x86_64-pc-linux-gnu-pkg-config
        checking for libnghttp2 options with pkg-config... found
        configure: -l is -lnghttp2
        configure: -I is
        configure: -L is
        checking for nghttp2_session_set_local_window_size in -lnghttp2... yes
        checking nghttp2/nghttp2.h usability... yes
        checking nghttp2/nghttp2.h presence... yes
        checking for nghttp2/nghttp2.h... yes
        configure: Added to CURL_LIBRARY_PATH
        checking for malloc.h... yes
        checking for memory.h... no
        checking for sys/types.h... (cached) yes
        checking for sys/time.h... (cached) yes
        checking for sys/select.h... yes
        checking for sys/socket.h... yes
        checking for sys/ioctl.h... yes
        checking for sys/uio.h... yes
        checking for assert.h... yes
        checking for unistd.h... (cached) yes
        checking for stdlib.h... (cached) yes
        checking for arpa/inet.h... yes
        checking for net/if.h... yes
        checking for netinet/in.h... yes
        checking for netinet/in6.h... no
        checking for sys/un.h... yes
        checking for linux/tcp.h... yes
        checking for netinet/tcp.h... yes
        checking for netdb.h... yes
        checking for sys/sockio.h... no
        checking for sys/stat.h... (cached) yes
        checking for sys/param.h... yes
        checking for termios.h... yes
        checking for termio.h... yes
        checking for fcntl.h... yes
        checking for alloca.h... yes
        checking for io.h... no
        checking for pwd.h... yes
        checking for utime.h... yes
        checking for sys/utime.h... no
        checking for sys/poll.h... yes
        checking for poll.h... yes
        checking for socket.h... no
        checking for sys/resource.h... yes
        checking for libgen.h... yes
        checking for locale.h... yes
        checking for errno.h... yes
        checking for stdbool.h... yes
        checking for arpa/tftp.h... yes
        checking for sys/filio.h... no
        checking for sys/wait.h... yes
        checking for setjmp.h... yes
        checking for an ANSI C-conforming const... yes
        checking for compiler support of C99 variadic macro style... yes
        checking for compiler support of old gcc variadic macro style... yes
        checking for size_t... yes
        checking for sys/types.h... (cached) yes
        checking for sys/time.h... (cached) yes
        checking for sys/socket.h... (cached) yes
        checking for struct timeval... yes
        checking run-time libs availability... failed
        configure: error: one or more libs available at link-time are not available run-time. Libs used at link-time: -lnghttp2 -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lssl -lcrypto -lssl -lcrypto -lz

      !!! Please attach the following file when seeking support:
      !!! /var/tmp/portage/net-misc/curl-7.82.0/work/curl-7.82.0-abi_x86_64.amd64/config.log

      • ERROR: net-misc/curl-7.82.0::core-kit failed (configure phase):
      • econf failed
      •  
      • Call stack:
      • ebuild.sh, line 93: Called src_configure
      • environment, line 2267: Called multilib-minimal_src_configure
      • environment, line 1587: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
      • environment, line 1840: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
      • environment, line 1517: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
      • environment, line 1515: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
      • environment, line 516: Called multilib-minimal_abi_src_configure
      • environment, line 1581: Called multilib_src_configure
      • environment, line 2097: Called econf '{}without-gnutls' '{}without-mbedtls' '{}without-nss' '{}without-ssl' '{}without-ca-fallback' '{}with-ca-bundle=/etc/ssl/certs/ca-certificates.crt' '{}with-nss' '{}with-nss-deprecated' '{}with-ssl' '{}with-ca-path=/etc/ssl/certs' '{}with-default-ssl-backend=openssl' '{}disable-alt-svc' '{}enable-crypto-auth' '{}enable-dict' '{}disable-ech' '{}enable-file' '{}enable-ftp' '{}disable-gopher' '{}disable-hsts' '{}enable-http' '{}enable-imap' '{}disable-ldap' '{}disable-ldaps' '{}enable-ntlm' '{}disable-ntlm-wb' '{}enable-pop3' '{}enable-rt' '{}enable-rtsp' '{}disable-smb' '{}without-libssh2' '{}enable-smtp' '{}disable-telnet' '{}enable-tftp' '{}enable-tls-srp' '{}disable-ares' '{}enable-cookies' '{}enable-dateparse' '{}enable-dnsshuffle' '{}enable-doh' '{}enable-symbol-hiding' '{}enable-http-auth' '{}enable-ipv6' '{}enable-largefile' '{}enable-manual' '{}enable-mime' '{}enable-netrc' '{}enable-progress-meter' '{}enable-proxy' '{}disable-sspi' '{}disable-static' '{}disable-threaded-resolver' '{}disable-pthreads' '{}disable-versioned-symbols' '{}without-amissl' '{}without-bearssl' '{}without-brotli' '{}without-fish-functions-dir' '{}with-nghttp2' '{}without-hyper' '{}without-libidn2' '{}without-gssapi' '{}without-libgsasl' '{}without-libpsl' '{}without-nghttp3' '{}without-ngtcp2' '{}without-quiche' '{}without-librtmp' '{}without-rustls' '{}without-schannel' '{}without-secure-transport' '{}without-winidn' '{}without-wolfssl' '{}with-zlib' '{-}-without-zstd'
      • phase-helpers.sh, line 680: Called __helpers_die 'econf failed'
      • isolated-functions.sh, line 112: Called die
      • The specific snippet of code:
      • die "$@"
      •  
      • If you need support, post the output of `emerge --info '=net-misc/curl-7.82.0::core-kit'`,
      • the complete build log and the output of `emerge -pqv '=net-misc/curl-7.82.0::core-kit'`.
      • The complete build log is located at '/var/tmp/portage/net-misc/curl-7.82.0/temp/build.log'.
      • The ebuild environment file is located at '/var/tmp/portage/net-misc/curl-7.82.0/temp/environment'.
      • Working directory: '/var/tmp/portage/net-misc/curl-7.82.0/work/curl-7.82.0-abi_x86_64.amd64'
      • S: '/var/tmp/portage/net-misc/curl-7.82.0/work/curl-7.82.0'

      >>> Failed to emerge net-misc/curl-7.82.0, Log file:

      >>> '/var/tmp/portage/net-misc/curl-7.82.0/temp/build.log'

      Attaching the curl build.log below

        1. build.log
          21 kB
        2. config.log
          122 kB

            Unassigned Unassigned
            stamasd stamasd
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: