* Package: www-client/firefox-114.0:rapid * Repository: gentoo * Maintainer: mozilla@gentoo.org * USE: X abi_x86_64 amd64 clang dbus elibc_glibc hardened jumbo-build kernel_linux l10n_en-GB lto openh264 pulseaudio screencast system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp telemetry wayland * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Checking for at least 13500 MiB disk space at "/var/tmp/portage/www-client/firefox-114.0/temp" ... [ ok ] * sys-devel/lld:16 is missing! Cannot use LLVM slot 16 ... * Using LLVM slot 15 to build * Checking whether python3_11 is suitable ... * >=dev-lang/python-3.11.3:3.11[ncurses,sqlite,ssl] ... [ ok ] * Using python3.11 to build (via PYTHON_COMPAT iteration) * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 6.1.32-gentoo-dist-hardened * Checking for suitable kernel configuration options ... [ ok ] >>> Unpacking source... >>> Unpacking firefox-114.0.source.tar.xz to /var/tmp/portage/www-client/firefox-114.0/work >>> Unpacking firefox-114-patches-01.tar.xz to /var/tmp/portage/www-client/firefox-114.0/work >>> Source unpacked in /var/tmp/portage/www-client/firefox-114.0/work >>> Preparing source in /var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0 ... removed '/var/tmp/portage/www-client/firefox-114.0/work/firefox-patches/0018-LTO-Only-enable-LTO-for-Rust-when-complete-build-use.patch' removed '/var/tmp/portage/www-client/firefox-114.0/work/firefox-patches/0027-bmo-1775202-ppc64-webrtc-missing-conditions-109.patch' * Applying patches from /var/tmp/portage/www-client/firefox-114.0/work/firefox-patches ... * 0001-Don-t-use-build-id.patch ... [ ok ] * 0002-Fortify-sources-properly.patch ... [ ok ] * 0003-bmo-847568-Support-system-harfbuzz.patch ... patching file config/system-headers.mozbuild Hunk #1 succeeded at 1234 (offset -3 lines). patching file dom/base/moz.build Hunk #1 succeeded at 615 with fuzz 2 (offset 48 lines). patching file gfx/moz.build patching file gfx/skia/generate_mozbuild.py Hunk #1 succeeded at 88 (offset -8 lines). patching file gfx/skia/moz.build Hunk #1 succeeded at 599 (offset 111 lines). patching file gfx/thebes/moz.build patching file intl/unicharutil/util/moz.build Hunk #1 succeeded at 24 (offset -1 lines). patching file netwerk/dns/moz.build Hunk #1 succeeded at 111 (offset 2 lines). patching file toolkit/library/moz.build Hunk #1 succeeded at 291 (offset 31 lines). patching file toolkit/moz.configure Hunk #1 succeeded at 629 with fuzz 1 (offset 169 lines). [ ok ] * 0004-bmo-847568-Support-system-graphite2.patch ... patching file config/system-headers.mozbuild Hunk #1 succeeded at 1241 (offset -3 lines). patching file gfx/graphite2/geckoextra/moz.build patching file gfx/graphite2/moz-gr-update.sh patching file gfx/moz.build patching file gfx/thebes/moz.build Hunk #1 succeeded at 292 (offset 6 lines). patching file old-configure.in Hunk #1 succeeded at 1145 with fuzz 2 (offset -1059 lines). patching file toolkit/library/moz.build Hunk #1 succeeded at 291 (offset 31 lines). patching file toolkit/moz.configure Hunk #1 succeeded at 629 with fuzz 1 (offset 169 lines). [ ok ] * 0005-bmo-1559213-Support-system-av1.patch ... [ ok ] * 0006-bmo-1516803-Fix-building-sandbox.patch ... [ ok ] * 0007-musl-Add-alternate-name-for-private-siginfo-struct-m.patch ... [ ok ] * 0008-musl-Fix-syscall-wrappers.patch ... [ ok ] * 0009-musl-Only-use-system-heap-reporter-with-glibc.patch ... [ ok ] * 0010-musl-Set-pthread-name-for-non-glibc-systems.patch ... [ ok ] * 0011-musl-sys-auvx.h-avaliable-on-more-then-just-glibc-sy.patch ... patching file third_party/libwebrtc/system_wrappers/source/cpu_features_linux.cc Hunk #3 succeeded at 58 with fuzz 2. [ ok ] * 0012-musl-make-SYS_fork-non-fatal-musl-uses-it-for-fork-2.patch ... [ ok ] * 0013-Make-PGO-use-toolchain.patch ... patching file build/unix/mozconfig.unix Hunk #1 succeeded at 4 with fuzz 1. [ ok ] * 0014-bmo-1516081-Disable-watchdog-during-PGO-builds.patch ... patching file build/moz.configure/lto-pgo.configure patching file toolkit/components/terminator/nsTerminator.cpp Hunk #1 succeeded at 460 with fuzz 2 (offset -6 lines). [ ok ] * 0015-bmo-1516803-force-one-LTO-partition-for-sandbox-when.patch ... [ ok ] * 0016-libaom-Use-NEON_FLAGS-instead-of-VPX_ASFLAGS-for-lib.patch ... [ ok ] * 0017-build-Disable-Werror.patch ... [ ok ] * 0019-Enable-FLAC-on-platforms-without-ffvpx-via-ffmpeg.patch ... [ ok ] * 0020-bgo-816975-fix-build-on-x86.patch ... patching file modules/fdlibm/src/math_private.h Hunk #1 succeeded at 30 with fuzz 2. [ ok ] * 0021-bmo-1559213-fix-system-av1-libs.patch ... patching file media/ffvpx/libavcodec/moz.build Hunk #1 succeeded at 109 with fuzz 2 (offset 1 line). [ ok ] * 0022-bmo-1196777-Set-GDK_FOCUS_CHANGE_MASK.patch ... [ ok ] * 0023-bmo-1754469-memory_mozalloc_throw.patch ... [ ok ] * 0024-bgo-860033-firefox-wayland-no-dbus.patch ... [ ok ] * 0025-qm-qm-fix-sqlite3-on-ppc-with-clang.patch ... patching file third_party/sqlite3/src/sqlite3.c Hunk #1 succeeded at 14480 (offset 163 lines). Hunk #2 succeeded at 35416 with fuzz 1 (offset 14703 lines). Hunk #3 succeeded at 201986 (offset 5601 lines). [ ok ] * 0026-fix-building-gcc-pgo.patch ... [ ok ] * 0028-bmo-1835829-non-unified-build-skia-fix.patch ... [ ok ] * 0029-disable-avx512-from-skia.patch ... [ ok ] * Removing pre-built binaries ... /var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/third_party/libwebrtc/build/android/tests/symbolize/liba.so /var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/third_party/libwebrtc/build/android/tests/symbolize/libb.so >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook! * Clang 16 testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0 ... * Current BINDGEN_CFLAGS: no value set * Current CFLAGS: -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Wreturn-type * Current CXXFLAGS: -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Wreturn-type * Current LDFLAGS: -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,pack-relative-relocs * Current RUSTFLAGS: -C target-cpu=native -C link-arg=-Wl,-z,pack-relative-relocs * Enforcing the use of clang due to USE=clang ... * Build BINDGEN_CFLAGS: no value set * Build CFLAGS: -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Wreturn-type * Build CXXFLAGS: -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Wreturn-type * Build LDFLAGS: -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,pack-relative-relocs -Wl,-z,relro -Wl,-z,now -Wl,--compress-debug-sections=zlib -Wl,-rpath=/usr/lib64/firefox,--enable-new-dtags * Build RUSTFLAGS: -C target-cpu=native -C link-arg=-Wl,-z,pack-relative-relocs ========================================================== Building firefox-114.0 with the following configuration --enable-application=browser mozilla.org default --enable-project=browser mozilla.org default --allow-addon-sideload Gentoo default --disable-cargo-incremental Gentoo default --disable-crashreporter Gentoo default --disable-gpsd Gentoo default --disable-install-strip Gentoo default --disable-parental-controls Gentoo default --disable-strip Gentoo default --disable-tests Gentoo default --disable-updater Gentoo default --disable-wmf Gentoo default --enable-negotiateauth Gentoo default --enable-new-pass-manager Gentoo default --enable-official-branding Gentoo default --enable-release Gentoo default --enable-system-ffi Gentoo default --enable-system-pixman Gentoo default --enable-system-policies Gentoo default --host=x86_64-pc-linux-gnu Gentoo default --libdir=/usr/lib64 Gentoo default --prefix=/usr Gentoo default --target=x86_64-pc-linux-gnu Gentoo default --without-ccache Gentoo default --without-wasm-sandboxed-libraries Gentoo default --with-intl-api Gentoo default --with-libclang-path=/usr/lib/llvm/15/lib64 Gentoo default --with-system-nspr Gentoo default --with-system-nss Gentoo default --with-system-zlib Gentoo default --with-toolchain-prefix=x86_64-pc-linux-gnu- Gentoo default --with-unsigned-addon-scopes=app,system Gentoo default --x-includes=/usr/include Gentoo default --x-libraries=/usr/lib64 Gentoo default --update-channel=release mozilla.org default --enable-rust-simd mozilla.org default --enable-sandbox mozilla.org default --with-google-safebrowsing-api-keyfile=/var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/api-google.key Gentoo default --with-google-location-service-api-keyfile=/var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/api-location.key Gentoo default --with-mozilla-api-keyfile=/var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/api-mozilla.key Gentoo default --with-system-av1 +system-av1 --with-system-harfbuzz +system-harfbuzz --with-system-graphite2 +system-harfbuzz --with-system-icu +system-icu --with-system-jpeg +system-jpeg --with-system-libevent +system-libevent --with-system-libvpx +system-libvpx --without-system-png -system-png --with-system-webp +system-webp --enable-dbus +dbus --disable-libproxy -libproxy --disable-valgrind -valgrind --disable-geckodriver -geckodriver --enable-hardening +hardened --enable-audio-backends=pulseaudio --enable-audio-backends --disable-necko-wifi -wifi --enable-default-toolkit=cairo-gtk3-x11-wayland +x11+wayland --enable-linker=lld forcing ld=lld due to USE=clang and USE=lto --enable-lto=cross +lto --disable-debug -debug --disable-real-time-tracing Gentoo defaults --disable-debug-symbols Gentoo default --enable-optimize=-O2 Gentoo default --disable-elf-hack elf-hack is broken when using Clang XARGS=/usr/bin/xargs Gentoo default ========================================================== Site not up-to-date reason: "/var/tmp/portage/www-client/firefox-114.0/work/firefox_build/_virtualenvs/build" does not exist 0:00.86 Using Python 3.11.3 from /var/tmp/portage/www-client/firefox-114.0/work/firefox_build/_virtualenvs/build/bin/python 0:00.86 Adding configure options from /var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/.mozconfig 0:00.86 --enable-application=browser 0:00.86 --enable-project=browser 0:00.86 --allow-addon-sideload 0:00.86 --disable-cargo-incremental 0:00.86 --disable-crashreporter 0:00.86 --disable-gpsd 0:00.86 --disable-install-strip 0:00.86 --disable-parental-controls 0:00.86 --disable-strip 0:00.86 --disable-tests 0:00.86 --disable-updater 0:00.86 --disable-wmf 0:00.86 --enable-negotiateauth 0:00.86 --enable-new-pass-manager 0:00.86 --enable-official-branding 0:00.86 --enable-release 0:00.86 --enable-system-ffi 0:00.86 --enable-system-pixman 0:00.86 --enable-system-policies 0:00.86 --host=x86_64-pc-linux-gnu 0:00.86 --libdir=/usr/lib64 0:00.86 --prefix=/usr 0:00.86 --target=x86_64-pc-linux-gnu 0:00.86 --without-ccache 0:00.86 --without-wasm-sandboxed-libraries 0:00.86 --with-intl-api 0:00.86 --with-libclang-path=/usr/lib/llvm/15/lib64 0:00.86 --with-system-nspr 0:00.86 --with-system-nss 0:00.86 --with-system-zlib 0:00.86 --with-toolchain-prefix=x86_64-pc-linux-gnu- 0:00.86 --with-unsigned-addon-scopes=app,system 0:00.86 --x-includes=/usr/include 0:00.86 --x-libraries=/usr/lib64 0:00.86 --update-channel=release 0:00.86 --enable-rust-simd 0:00.86 --enable-sandbox 0:00.86 --with-google-safebrowsing-api-keyfile=/var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/api-google.key 0:00.86 --with-google-location-service-api-keyfile=/var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/api-location.key 0:00.86 --with-mozilla-api-keyfile=/var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/api-mozilla.key 0:00.86 --with-system-av1 0:00.86 --with-system-harfbuzz 0:00.86 --with-system-graphite2 0:00.86 --with-system-icu 0:00.86 --with-system-jpeg 0:00.86 --with-system-libevent 0:00.86 --with-system-libvpx 0:00.86 --without-system-png 0:00.86 --with-system-webp 0:00.86 --enable-dbus 0:00.86 --disable-libproxy 0:00.86 --disable-valgrind 0:00.86 --disable-geckodriver 0:00.86 --enable-hardening 0:00.86 --enable-audio-backends=pulseaudio 0:00.86 --disable-necko-wifi 0:00.86 --enable-default-toolkit=cairo-gtk3-x11-wayland 0:00.86 --enable-linker=lld 0:00.86 --enable-lto=cross 0:00.86 --disable-debug 0:00.86 --disable-real-time-tracing 0:00.86 --disable-debug-symbols 0:00.86 --enable-optimize=-O2 0:00.86 --disable-elf-hack 0:00.86 XARGS=/usr/bin/xargs 0:00.86 checking for vcs source checkout... no 0:00.90 checking for a shell... /usr/bin/sh 0:00.91 checking for host system type... x86_64-pc-linux-gnu 0:00.92 checking for target system type... x86_64-pc-linux-gnu 0:01.26 checking whether cross compiling... no 0:01.43 Traceback (most recent call last): 0:01.43 File "/var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/configure.py", line 343, in 0:01.43 sys.exit(main(sys.argv)) 0:01.43 ^^^^^^^^^^^^^^ 0:01.43 File "/var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/configure.py", line 126, in main 0:01.43 sandbox.run(os.path.join(os.path.dirname(__file__), "moz.configure")) 0:01.43 File "/var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/python/mozbuild/mozbuild/configure/__init__.py", line 514, in run 0:01.43 self._value_for(option) 0:01.43 File "/var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/python/mozbuild/mozbuild/configure/__init__.py", line 619, in _value_for 0:01.43 return self._value_for_option(obj) 0:01.43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 0:01.43 File "/var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/python/mozbuild/mozbuild/util.py", line 1064, in method_call 0:01.43 cache[args] = self.func(instance, *args) 0:01.43 ^^^^^^^^^^^^^^^^^^^^^^^^^^ 0:01.43 File "/var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/python/mozbuild/mozbuild/configure/__init__.py", line 654, in _value_for_option 0:01.43 value, option_string = self._helper.handle(option) 0:01.43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 0:01.43 File "/var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/python/mozbuild/mozbuild/configure/options.py", line 591, in handle 0:01.43 ret = option.get_value(arg, origin) 0:01.43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 0:01.43 File "/var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/python/mozbuild/mozbuild/configure/options.py", line 448, in get_value 0:01.43 raise InvalidOptionError( 0:01.43 mozbuild.configure.options.InvalidOptionError: RUSTFLAGS takes 1 value *** Fix above errors and then restart with "./mach build" * ERROR: www-client/firefox-114.0::gentoo failed (configure phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 5705: Called die * The specific snippet of code: * ./mach configure || die * * If you need support, post the output of `emerge --info '=www-client/firefox-114.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-client/firefox-114.0::gentoo'`. * The complete build log is located at '/var/log/portage/build/www-client/firefox-114.0:20230606-195305.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-client/firefox-114.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-114.0/temp/environment'. * Working directory: '/var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0' * S: '/var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0'