* Package: dev-lang/spidermonkey-78.15.0 * Repository: gentoo * Maintainer: mozilla@gentoo.org * USE: abi_x86_64 amd64 clang elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Checking for at least 6400 MiB disk space at "/var/tmp/portage/dev-lang/spidermonkey-78.15.0/temp" ... [ ok ] * Using LLVM slot 13 to build * Using python3.10 to build >>> Unpacking source... >>> Unpacking firefox-78.15.0esr.source.tar.xz to /var/tmp/portage/dev-lang/spidermonkey-78.15.0/work >>> Unpacking firefox-78esr-patches-19.tar.xz to /var/tmp/portage/dev-lang/spidermonkey-78.15.0/work >>> Unpacking spidermonkey-78-patches-04.tar.xz to /var/tmp/portage/dev-lang/spidermonkey-78.15.0/work >>> Source unpacked in /var/tmp/portage/dev-lang/spidermonkey-78.15.0/work >>> Preparing source in /var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/firefox-78.15.0/js/src ... * Applying patches from /var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/firefox-patches ... * 0001-Don-t-use-build-id.patch ... [ ok ] * 0002-Fortify-sources-properly.patch ... [ ok ] * 0003-Check-additional-plugins-dir.patch ... [ ok ] * 0004-bmo-847568-Support-system-harfbuzz.patch ... [ ok ] * 0005-bmo-847568-Support-system-graphite2.patch ... [ ok ] * 0006-bmo-1559213-Support-system-av1.patch ... [ ok ] * 0007-bmo-878089-Don-t-fail-when-TERM-is-not-set.patch ... [ ok ] * 0008-bmo-1516803-Fix-building-sandbox.patch ... [ ok ] * 0009-Fix-building-spellchecker-when-using-GCC-and-PGO.patch ... [ ok ] * 0010-bmo-1526653-Include-struct-definitions-for-user_vfp-.patch ... [ ok ] * 0011-musl-Support-custom-vendor-strings.patch ... [ ok ] * 0012-musl-Add-alternate-name-for-private-siginfo-struct-m.patch ... [ ok ] * 0013-musl-Fix-syscall-wrappers.patch ... [ ok ] * 0014-musl-Only-use-system-heap-reporter-with-glibc.patch ... [ ok ] * 0015-musl-Set-pthread-name-for-non-glibc-systems.patch ... [ ok ] * 0016-musl-getcontext-is-only-avaliable-on-glibc-systems.patch ... [ ok ] * 0017-musl-sys-auvx.h-avaliable-on-more-then-just-glibc-sy.patch ... [ ok ] * 0018-musl-make-SYS_fork-non-fatal-musl-uses-it-for-fork-2.patch ... [ ok ] * 0019-Make-PGO-use-toolchain.patch ... [ ok ] * 0020-bmo-1516081-Disable-watchdog-during-PGO-builds.patch ... [ ok ] * 0021-bmo-1516803-force-one-LTO-partition-for-sandbox-when.patch ... [ ok ] * 0022-bmo-1196777-Set-GDK_FOCUS_CHANGE_MASK.patch ... [ ok ] * 0023-Wayland-Disable-FFVPX-with-VAAPI.patch ... [ ok ] * 0024-VAAPI-Add-extra-frames.patch ... [ ok ] * 0025-Fix-building-with-PGO-when-using-GCC.patch ... [ ok ] * 0026-bmo-1634213-Wayland-Use-dmabuf-WebGL-surfaces-by-def.patch ... [ ok ] * 0027-libaom-Use-NEON_FLAGS-instead-of-VPX_ASFLAGS-for-lib.patch ... [ ok ] * 0028-bmo-1650299-Unify-the-inclusion-of-the-ICU-data-file.patch ... [ ok ] * 0029-bmo-1264836-Automatically-convert-the-little-endian-.patch ... [ ok ] * 0030-bmo-1651207-Build-the-ICU-data-through-an-assembly-f.patch ... [ ok ] * 0031-Add-support-for-PipeWire-0.3.patch ... [ ok ] * 0032-geckodriver-Build-regex-with-unicode-feature.patch ... [ ok ] * 0033-LTO-Only-enable-LTO-for-Rust-when-complete-build-use.patch ... [ ok ] * 0034-Make-elfhack-use-toolchain.patch ... [ ok ] * 0035-bmo-1561207-Make-dbus-optional.patch ... [ ok ] * 0036-bmo-1643201-Cherry-pick-some-servo-changes-to-derive.patch ... [ ok ] * 0037-bmo-1653339-Teach-style_derive-s-map_type_params-abo.patch ... [ ok ] * 0038-bmo-1684365-Add-a-null-pointer-check-so-that-Firefox.patch ... [ ok ] * 0039-bmo-1694575-Don-t-include-mozalloc.h-from-the-iosfwd.patch ... [ ok ] * 0040-JIT-Add-atomic-operations-support-for-ia64.patch ... [ ok ] * 0041-bmo-1318905-Make-SpiderMonkey-build-on-Linux-RISC-V.patch ... [ ok ] * 0042-bmo-1661027-Update-cc-crate-to-v1.0.59.patch ... [ ok ] * 0043-bmo-1712947-Don-t-pass-neon-flags-to-rustc-when-usin.patch ... [ ok ] * 0044-bmo-1646135-Disable-HW-WR-on-Nvidia-prop.-drivers-on.patch ... [ ok ] * 0045-bmo-1715254-Deny-clone3-to-force-glibc-fallback.patch ... [ ok ] * 0046-bmo-1721326-Allow-dynamic-PTHREAD_STACK_MIN.patch ... [ ok ] * 0047-bmo-1663550-Fix-the-alignment-of-the-stack-for-the-s.patch ... [ ok ] * 0048-bmo-1721326-Use-small-stack-for-DoClone.patch ... [ ok ] * 0049-bmo-1719144-Fix-various-imports-for-Python-3.10.patch ... [ ok ] * 0050-Update-itertools-to-v0.8.2.patch ... [ ok ] * 0051-bmo-1730397-Apply-prost-derive-fix-for-function-name.patch ... [ ok ] * 0052-bmo-1730397-Update-packed_simd-to-a-version-that-sup.patch ... [ ok ] * Applying patches from /var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/spidermonkey-patches ... * 0001-build-Add-soname-switch-to-linker-regardless-of-Oper.patch ... [ ok ] * 0002-build-Copy-headers-on-install-instead-of-symlinking.patch ... [ ok ] * 0003-build-Don-t-fail-when-passing-standardized-autotools.patch ... [ ok ] * 0004-tests-Increase-the-test-timeout-for-slower-builds.patch ... [ ok ] * 0005-JIT-Fix-virtual-address-length-on-ia64.patch ... [ ok ] * 0006-bmo-1644600-Export-SharedArrayRawBufferRefs.patch ... [ ok ] * Removing pre-built binaries ... third_party/python/psutil/build/temp.linux-x86_64-2.7/psutil/_psutil_common.o third_party/python/psutil/build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o third_party/python/psutil/build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o third_party/python/psutil/build/lib.linux-x86_64-2.7/psutil/_psutil_linux.so third_party/python/psutil/build/lib.linux-x86_64-2.7/psutil/_psutil_posix.so third_party/python/psutil/psutil/_psutil_linux.so third_party/python/psutil/psutil/_psutil_posix.so * Running 'autoconf' ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/firefox-78.15.0/js/src ... * Current CFLAGS: -pipe -march=native -fno-diagnostics-color -O2 * Current CXXFLAGS: -pipe -march=native -fno-diagnostics-color -O2 * Current LDFLAGS: -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 * Current RUSTFLAGS: -Ctarget-cpu=native -v * Enforcing the use of clang due to USE=clang ... * Build CFLAGS: -pipe -march=native -fno-diagnostics-color -O2 * Build CXXFLAGS: -pipe -march=native -fno-diagnostics-color -O2 * Build LDFLAGS: -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 * Build RUSTFLAGS: -Ctarget-cpu=native -v * econf: updating firefox-78.15.0/build/autoconf/config.sub with /usr/share/gnuconfig/config.sub * econf: updating firefox-78.15.0/build/autoconf/config.guess with /usr/share/gnuconfig/config.guess * econf: updating firefox-78.15.0/nsprpub/build/autoconf/config.sub with /usr/share/gnuconfig/config.sub * econf: updating firefox-78.15.0/nsprpub/build/autoconf/config.guess with /usr/share/gnuconfig/config.guess * econf: updating firefox-78.15.0/modules/freetype2/builds/unix/config.sub with /usr/share/gnuconfig/config.sub * econf: updating firefox-78.15.0/modules/freetype2/builds/unix/config.guess with /usr/share/gnuconfig/config.guess * econf: updating firefox-78.15.0/intl/icu/source/config.sub with /usr/share/gnuconfig/config.sub * econf: updating firefox-78.15.0/intl/icu/source/config.guess with /usr/share/gnuconfig/config.guess * econf: updating firefox-78.15.0/js/src/config.sub with /usr/share/gnuconfig/config.sub * econf: updating firefox-78.15.0/js/src/config.guess with /usr/share/gnuconfig/config.guess * econf: updating firefox-78.15.0/js/src/ctypes/libffi/config.sub with /usr/share/gnuconfig/config.sub * econf: updating firefox-78.15.0/js/src/ctypes/libffi/config.guess with /usr/share/gnuconfig/config.guess /var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/firefox-78.15.0/js/src/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 --libdir=/usr/lib64 --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --disable-jemalloc --disable-optimize --disable-strip --enable-readline --enable-shared-js --with-intl-api --with-system-icu --with-system-nspr --with-system-zlib --with-toolchain-prefix=x86_64-pc-linux-gnu- --disable-debug --disable-jit --disable-tests --enable-rust-simd XARGS=/usr/bin/xargs Creating Python 3 environment created virtual environment CPython3.10.0.final.0-64 in 178ms creator CPython3Posix(dest=/var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/build/_virtualenvs/init_py3, clear=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/var/tmp/portage/dev-lang/spidermonkey-78.15.0/homedir/.local/share/virtualenv) added seed packages: pip==20.2.2, setuptools==49.6.0, wheel==0.35.1 activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator /var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/firefox-78.15.0/python/mozbuild/mozbuild/virtualenv.py:697: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.version import LooseVersion /var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/firefox-78.15.0/python/mozbuild/mozbuild/virtualenv.py:316: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead import distutils.sysconfig b"running build_ext\nbuilding 'psutil._psutil_linux' extension\ncreating build/temp.linux-x86_64-3.10\ncreating build/temp.linux-x86_64-3.10/psutil\nx86_64-pc-linux-gnu-gcc -pthread -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -I/var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/build/_virtualenvs/init_py3/include -I/usr/include/python3.10 -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.10/psutil/_psutil_common.o\nx86_64-pc-linux-gnu-gcc -pthread -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -I/var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/build/_virtualenvs/init_py3/include -I/usr/include/python3.10 -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-3.10/psutil/_psutil_linux.o\nx86_64-pc-linux-gnu-gcc -pthread -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -I/var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/build/_virtualenvs/init_py3/include -I/usr/include/python3.10 -c psutil/_psutil_posix.c -o build/temp.linux-x86_64-3.10/psutil/_psutil_posix.o\ncreating build/lib.linux-x86_64-3.10\ncreating build/lib.linux-x86_64-3.10/psutil\nx86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 build/temp.linux-x86_64-3.10/psutil/_psutil_common.o build/temp.linux-x86_64-3.10/psutil/_psutil_linux.o build/temp.linux-x86_64-3.10/psutil/_psutil_posix.o -L/usr/lib64 -o build/lib.linux-x86_64-3.10/psutil/_psutil_linux.cpython-310-x86_64-linux-gnu.so\nbuilding 'psutil._psutil_posix' extension\nx86_64-pc-linux-gnu-gcc -pthread -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -I/var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/build/_virtualenvs/init_py3/include -I/usr/include/python3.10 -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.10/psutil/_psutil_common.o\nx86_64-pc-linux-gnu-gcc -pthread -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -I/var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/build/_virtualenvs/init_py3/include -I/usr/include/python3.10 -c psutil/_psutil_posix.c -o build/temp.linux-x86_64-3.10/psutil/_psutil_posix.o\nx86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 build/temp.linux-x86_64-3.10/psutil/_psutil_common.o build/temp.linux-x86_64-3.10/psutil/_psutil_posix.o -L/usr/lib64 -o build/lib.linux-x86_64-3.10/psutil/_psutil_posix.cpython-310-x86_64-linux-gnu.so\ncopying build/lib.linux-x86_64-3.10/psutil/_psutil_linux.cpython-310-x86_64-linux-gnu.so -> psutil\ncopying build/lib.linux-x86_64-3.10/psutil/_psutil_posix.cpython-310-x86_64-linux-gnu.so -> psutil\n" Error processing command. Ignoring because optional. (optional:packages.txt:comm/build/virtualenv_packages.txt) Re-executing in the virtualenv checking for vcs source checkout... no checking for a shell... /bin/sh checking for host system type... x86_64-pc-linux-gnu checking for target system type... x86_64-pc-linux-gnu checking for Python 3... /var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/build/_virtualenvs/init_py3/bin/python (3.10.0) checking whether cross compiling... no checking for yasm... not found checking for the target C compiler... /usr/lib/llvm/13/bin/x86_64-pc-linux-gnu-clang checking whether the target C compiler can be used... yes checking the target C compiler version... 13.0.0 checking the target C compiler works... yes WARNING: The value of LD is not used by this build system. checking for the target C++ compiler... /usr/lib/llvm/13/bin/x86_64-pc-linux-gnu-clang++ checking whether the target C++ compiler can be used... yes checking the target C++ compiler version... 13.0.0 checking the target C++ compiler works... yes checking for the host C compiler... /usr/lib/llvm/13/bin/x86_64-pc-linux-gnu-clang checking whether the host C compiler can be used... yes checking the host C compiler version... 13.0.0 checking the host C compiler works... yes checking for the host C++ compiler... /usr/lib/llvm/13/bin/x86_64-pc-linux-gnu-clang++ checking whether the host C++ compiler can be used... yes checking the host C++ compiler version... 13.0.0 checking the host C++ compiler works... yes checking for 64-bit OS... yes checking for new enough STL headers from libstdc++... DEBUG: DEBUG: | #if defined(__GLIBCXX__) && !defined(_GLIBCXX_RELEASE) DEBUG: | # error libstdc++ not new enough DEBUG: | #endif DEBUG: | #if defined(_GLIBCXX_RELEASE) DEBUG: | # if _GLIBCXX_RELEASE < 7 DEBUG: | # error libstdc++ not new enough DEBUG: | # else DEBUG: | (void) 0 DEBUG: | # endif DEBUG: | #endif DEBUG: | ; DEBUG: | return 0; DEBUG: | } DEBUG: Executing: `/usr/lib/llvm/13/bin/x86_64-pc-linux-gnu-clang++ -std=gnu++17 /var/tmp/portage/dev-lang/spidermonkey-78.15.0/temp/conftest.xk5ksh4n.cpp -c` DEBUG: The command returned non-zero exit status 1. DEBUG: Its error output was: DEBUG: | /var/tmp/portage/dev-lang/spidermonkey-78.15.0/temp/conftest.xk5ksh4n.cpp:1:10: fatal error: 'cstddef' file not found DEBUG: | #include DEBUG: | ^~~~~~~~~ DEBUG: | 1 error generated. ERROR: The libstdc++ in use is not new enough. Please run ./mach bootstrap to update your compiler, or update your system libstdc++ installation. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/build/config.log * ERROR: dev-lang/spidermonkey-78.15.0::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 127: Called src_configure * environment, line 3573: Called econf '--host=x86_64-pc-linux-gnu' '--target=x86_64-pc-linux-gnu' '--disable-jemalloc' '--disable-optimize' '--disable-strip' '--enable-readline' '--enable-shared-js' '--with-intl-api' '--with-system-icu' '--with-system-nspr' '--with-system-zlib' '--with-toolchain-prefix=x86_64-pc-linux-gnu-' '--disable-debug' '--disable-jit' '--disable-tests' '--enable-rust-simd' 'XARGS=/usr/bin/xargs' * phase-helpers.sh, line 711: 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 '=dev-lang/spidermonkey-78.15.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/spidermonkey-78.15.0::gentoo'`. * The complete build log is located at '/var/log/portage/dev-lang:spidermonkey-78.15.0:20211102-083607.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/spidermonkey-78.15.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/spidermonkey-78.15.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/build' * S: '/var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/firefox-78.15.0/js/src'