View previous topic :: View next topic |
Author |
Message |
Wadewilson n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Nov 2022 Posts: 45
|
Posted: Mon Jun 17, 2024 4:04 am Post subject: [SOLVED]portage not upgrading firefox to v127 |
|
|
Portage displays this message when I update my system (verbose flag was enabled),
Code: | !!! The following update(s) have been skipped due to unsatisfied dependencies
!!! triggered by backtracking:
www-client/firefox:rapid
|
Based on the suggestion in the post, I ran
Quote: | emerge --pretend --verbose '>www-client/firefox-126.0.1' |
Code: | These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 2.30 s (backtrack: 0/20).
[ebuild N ] dev-lang/rust-1.77.1:stable/1.77::gentoo USE="lto system-llvm (-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) (-miri) -nightly (-parallel-compiler) -profiler -rust-analyzer -rust-src -rustfmt -system-bootstrap -test -verify-sig -wasm" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARC -ARM -AVR -BPF -CSKY -DirectX -Hexagon -Lanai -LoongArch -M68k -MSP430 -Mips -NVPTX -PowerPC -RISCV -SPIRV -Sparc -SystemZ -VE -WebAssembly -XCore -Xtensa" 0 KiB
[ebuild UD ] virtual/rust-1.77.1:0/llvm-17::gentoo [1.78.0:0/llvm-18::gentoo] USE="-profiler -rustfmt" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild U ] www-client/firefox-127.0:rapid::gentoo [126.0.1:rapid::gentoo] USE="X clang dbus gmp-autoupdate hardened hwaccel jumbo-build lto pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp -debug -eme-free -geckodriver -jack -libproxy -openh264 -pgo (-selinux) -sndio -system-png -telemetry (-valgrind) -wayland -wifi" L10N="hi kn ru ta te -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 -fr -fur -fy -ga -gd
-gl -gn -gu -he -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT
-rm -ro -sc -sco -si -sk -sl -son -sq -sr -sv -szl -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" LLVM_SLOT="17 -18%" 0 KiB
Total: 3 packages (1 upgrade, 1 downgrade, 1 new), Size of downloads: 0 KiB
|
The output does not show any supposed unsatisfied dependencies that were seen during backtracking, as mentioned by portage when I was updating the system.
If I proceed with the upgrade, firefox build fails.
Build logs : https://0x0.st/XcCc.log
I think the build failure is related to using a wrong LLVM slot, hence wrong llvm version than what is expected.
Quote: | ld.lld: error: Invalid record (Producer: 'LLVM18.1.2-rust-1.78.0-stable' Reader: 'LLVM 17.0.6') |
Here, are my questions,
1) How do I solve this issue? Why does portage say there is error in resolving dependencies once and then say there are no errors?
2) Why is Firefox still using LLVM Slot 17? In fact, many packages in my system are using the LLVM slot 17 even though they can use slot 18.
To support my question 2, here are some results,
Quote: | emerge --pretend --verbose --depclean llvm
|
Code: |
Calculating dependencies . ... done!
sys-devel/llvm-17.0.6 pulled in by:
dev-qt/qttools-6.7.1 requires sys-devel/llvm:17/17=
dev-util/intel_clc-24.1.1 requires sys-devel/llvm:17
dev-util/spirv-llvm-translator-17.0.0-r2 requires sys-devel/llvm:17/17=
media-libs/mesa-24.1.1 requires sys-devel/llvm:17[llvm_targets_AMDGPU(+),abi_x86_64(-)]
sys-devel/clang-17.0.6 requires ~sys-devel/llvm-17.0.6[llvm_targets_Hexagon], ~sys-devel/llvm-17.0.6[llvm_targets_MSP430], ~sys-devel/llvm-17.0.6[llvm_targets_WebAssembly], ~sys-devel/llvm-17.0.6[llvm_targets_LoongArch], ~sys-devel/llvm-17.0.6[llvm_targets_SystemZ], ~sys-devel/llvm-17.0.6[llvm_targets_ARM], ~sys-devel/llvm-17.0.6[llvm_targets_NVPTX], ~sys-devel/llvm-17.0.6[llvm_targets_X86], ~sys-devel/llvm-17.0.6[llvm_targets_AMDGPU], ~sys-devel/llvm-17.0.6[llvm_targets_XCore], ~sys-devel/llvm-17.0.6[llvm_targets_AVR], ~sys-devel/llvm-17.0.6:17/17=[-debug,abi_x86_64(-)], ~sys-devel/llvm-17.0.6[llvm_targets_PowerPC], ~sys-devel/llvm-17.0.6[llvm_targets_BPF], ~sys-devel/llvm-17.0.6[llvm_targets_RISCV], ~sys-devel/llvm-17.0.6[llvm_targets_Mips], ~sys-devel/llvm-17.0.6[llvm_targets_VE], ~sys-devel/llvm-17.0.6[llvm_targets_Lanai], ~sys-devel/llvm-17.0.6[llvm_targets_Sparc], ~sys-devel/llvm-17.0.6[llvm_targets_AArch64]
sys-devel/lld-17.0.6 requires ~sys-devel/llvm-17.0.6[-debug,zstd], sys-devel/llvm:17
sys-devel/llvm-toolchain-symlinks-17 requires sys-devel/llvm:17
sys-libs/compiler-rt-17.0.6 requires sys-devel/llvm:17
sys-libs/compiler-rt-sanitizers-17.0.6 requires sys-devel/llvm:17
www-client/firefox-126.0.1 requires sys-devel/llvm:17
sys-devel/llvm-18.1.7 pulled in by:
dev-lang/python-3.13.0_beta2_p1 requires sys-devel/llvm:18
sys-devel/clang-18.1.7 requires ~sys-devel/llvm-18.1.7[llvm_targets_MSP430], ~sys-devel/llvm-18.1.7:18/18.1=[-debug,abi_x86_64(-)], ~sys-devel/llvm-18.1.7[llvm_targets_X86], ~sys-devel/llvm-18.1.7[llvm_targets_LoongArch], ~sys-devel/llvm-18.1.7[llvm_targets_VE], ~sys-devel/llvm-18.1.7[llvm_targets_ARM], ~sys-devel/llvm-18.1.7[llvm_targets_NVPTX], ~sys-devel/llvm-18.1.7[llvm_targets_XCore], ~sys-devel/llvm-18.1.7[llvm_targets_AArch64], ~sys-devel/llvm-18.1.7[llvm_targets_WebAssembly], ~sys-devel/llvm-18.1.7[llvm_targets_PowerPC], ~sys-devel/llvm-18.1.7[llvm_targets_AVR], ~sys-devel/llvm-18.1.7[llvm_targets_RISCV], ~sys-devel/llvm-18.1.7[llvm_targets_BPF], ~sys-devel/llvm-18.1.7[llvm_targets_Lanai], ~sys-devel/llvm-18.1.7[llvm_targets_SystemZ], ~sys-devel/llvm-18.1.7[llvm_targets_AMDGPU], ~sys-devel/llvm-18.1.7[llvm_targets_Mips], ~sys-devel/llvm-18.1.7[llvm_targets_Hexagon], ~sys-devel/llvm-18.1.7[llvm_targets_Sparc]
sys-devel/lld-18.1.7 requires ~sys-devel/llvm-18.1.7[-debug,zstd], sys-devel/llvm:18
sys-devel/llvm-toolchain-symlinks-18 requires sys-devel/llvm:18
sys-devel/llvmgold-18 requires sys-devel/llvm:18[binutils-plugin]
sys-libs/compiler-rt-18.1.7 requires sys-devel/llvm:18
sys-libs/compiler-rt-sanitizers-18.1.7 requires sys-devel/llvm:18
>>> No packages selected for removal by depclean
Packages installed: 885
Packages in world: 113
Packages in system: 49
Required packages: 885
Number to remove: 0
|
A quick check on the gentoo website, shows all the above packages listed as a part of llvm 17 dependency support llvm 18.
Last edited by Wadewilson on Sat Jul 06, 2024 12:39 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Juippisi Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/807759109442827505b55d.gif)
Joined: 30 Sep 2005 Posts: 741 Location: /home
|
Posted: Mon Jun 17, 2024 5:30 am Post subject: |
|
|
Quote: |
1) How do I solve this issue? Why does portage say there is error in resolving dependencies once and then say there are no errors?
2) Why is Firefox still using LLVM Slot 17? In fact, many packages in my system are using the LLVM slot 17 even though they can use slot 18.
|
1: Either downgrade rust-bin to 1.77, or make Firefox build using LLVM_SLOT_18. You can see in the use flags that 17 is still selected.
2: It's the profile default. Not every package has support for 18 and 18 isn't "stable" yet, so profiles stay behind using 17. You can override this via make.conf or package.use.
https://bugs.gentoo.org/934385 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Wadewilson n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Nov 2022 Posts: 45
|
Posted: Sat Jul 06, 2024 12:39 pm Post subject: |
|
|
@Juippisi, Thanks for the reply.
I have made the following changes to:
Quote: | /etc/portage/package.use/package.use |
Code: |
# restrict llvm version to 18
*/* LLVM_SLOT: -* 18
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|