Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931950 - www-client/firefox-123.0[pgo,llvm] fails to build during/after linking stage
Summary: www-client/firefox-123.0[pgo,llvm] fails to build during/after linking stage
Status: RESOLVED DUPLICATE of bug 925101
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-15 16:22 UTC by Zentoo
Modified: 2024-05-17 05:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.out,22.92 KB, text/plain)
2024-05-15 16:22 UTC, Zentoo
Details
build log (www-client:firefox-126.0:20240515-153154.log.xz,942.55 KB, application/x-xz)
2024-05-15 16:25 UTC, Zentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zentoo 2024-05-15 16:22:25 UTC
Created attachment 892965 [details]
emerge --info

This is similar to https://bugs.gentoo.org/925101.

Firefox fails to build during/after linking stage.

USE FLAGS and LLM_SLOT:

www-client/firefox-126.0 USE="X clang* dbus gmp-autoupdate hwaccel jumbo-build lto openh264* pgo pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp telemetry -debug -eme-free -geckodriver -hardened -jack -libproxy (-selinux) -sndio -system-png (-valgrind) -wayland -wifi (-system-python-libs%)" L10N="fr -ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fur -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -sc -sco -si -sk -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" LLVM_SLOT="17 (-16%)"

ERROR:

23:36.99 #23 0x00007866b23940f0 (/usr/lib/llvm/17/bin/../lib64/libLLVM-17.so+0x23940f0)
23:36.99 #24 0x00007866b23a223f (/usr/lib/llvm/17/bin/../lib64/libLLVM-17.so+0x23a223f)
23:36.99 #25 0x00007866b08d1396 (/usr/lib/llvm/17/bin/../lib64/libLLVM-17.so+0x8d1396)
23:36.99 #26 0x00007866b0973c0d llvm::ThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/usr/lib/llvm/17/bin/../lib64/libLLVM-17.so+0x973c0d)
23:36.99 #27 0x00007866b097430a (/usr/lib/llvm/17/bin/../lib64/libLLVM-17.so+0x97430a)
23:36.99 #28 0x00007866afacf721 (/lib64/libc.so.6+0x8b721)
23:36.99 #29 0x00007866afb3931c (/lib64/libc.so.6+0xf531c)
23:37.19 Failed to hack libxul.so: basic_ios::clear: iostream error
23:37.19 x86_64-pc-linux-gnu-clang++-17: error: linker command failed with exit code 1 (use -v to see invocation)
23:37.19 gmake[4]: *** [/var/tmp/portage/www-client/firefox-126.0/work/firefox-126.0/config/rules.mk:541: libxul.so] Error 1
23:37.19 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-126.0/work/firefox_build/toolkit/library/build'
23:37.19 gmake[3]: *** [/var/tmp/portage/www-client/firefox-126.0/work/firefox-126.0/config/recurse.mk:72: toolkit/library/build/target] Error 2
23:37.19 gmake[3]: Leaving directory '/var/tmp/portage/www-client/firefox-126.0/work/firefox_build'
23:37.19 gmake[2]: *** [/var/tmp/portage/www-client/firefox-126.0/work/firefox-126.0/config/recurse.mk:34: compile] Error 2
23:37.19 gmake[2]: Leaving directory '/var/tmp/portage/www-client/firefox-126.0/work/firefox_build'
23:37.19 gmake[1]: *** [/var/tmp/portage/www-client/firefox-126.0/work/firefox-126.0/config/rules.mk:361: default] Error 2
23:37.19 gmake[1]: Leaving directory '/var/tmp/portage/www-client/firefox-126.0/work/firefox_build'
23:37.19 gmake: *** [client.mk:60: build] Error 2
23:37.19 W 181 compiler warnings present.
 * ERROR: www-client/firefox-126.0::gentoo failed (compile phase):
 *   Failed to run './mach build --verbose'
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 5230:  Called virtx './mach' 'build' '--verbose'
 *   environment, line 6706:  Called die
 * The specific snippet of code:
 *       [[ ${retval} -ne 0 ]] && die "Failed to run '$@'";

Attachments:
- emerge --info => emerge-info.out
- build log => www-client:firefox-126.0:20240515-153154.log.gz
Comment 1 Zentoo 2024-05-15 16:25:11 UTC
Created attachment 892966 [details]
build log
Comment 2 Joonas Niilola gentoo-dev 2024-05-17 05:27:06 UTC
Then why open a new bug when the existing bug has some workarounds and more information about the issue? :)

*** This bug has been marked as a duplicate of bug 925101 ***