Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Looking for solution for massive dependancy conflict
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
leyvi
n00b
n00b


Joined: 08 Sep 2023
Posts: 73

PostPosted: Mon Jul 08, 2024 6:31 pm    Post subject: Looking for solution for massive dependancy conflict Reply with quote

I'm trying to update my system, and I've just discovered that some of my packages now depend on different versions of Rust.
Rust has one slot: `:0`.
I have tried to install multiple versions of `dev-lang/rust` and `dev-lang/rust-bin`, although it doesn't help, because `virtual/rust` is
what the packages depend on, and I can only have one of those installed at a time. I don't know what to do, besides using
older versions of like half the packages on my system, which would be way to many config files to change. Can someone
with more experience please lend me a hand?
The output of `emerge -uDN @world` can be found here.
The output of `emerge --info` can be found here.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31091
Location: here

PostPosted: Tue Jul 09, 2024 4:34 am    Post subject: Reply with quote

Try to enable llvm_slot_17 and disable llvm_slot_18 use flag to firefox.
This because thunderbird can compile only with LLVM-17.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1924

PostPosted: Tue Jul 09, 2024 9:01 am    Post subject: Re: Looking for solution for massive dependancy conflict Reply with quote

leyvi wrote:
The output of `emerge -uDN @world` can be found here.


When providing information add -v option to emerge. It's much more useful. Also if you're not building binary packages, use -U instead of -N. N can cause unnecessary rebuilds and thus complicate issues resolution sometimes.

leyvi wrote:
The output of `emerge --info` can be found here.


Being on ~amd64 comes with problems like that. Rust has been a hot potato recently. Which reminds me of an unrelated issue where a slot was introduced without version or revision bump, resulting in portage not knowing about the slot. Try emerge -1 virtual/rust to see if that fixes the update.

If what fedeliallalinea suggested doesn't work, provide the output of emerge -Udupv @world.

Best Regards,
Georgi
Back to top
View user's profile Send private message
leyvi
n00b
n00b


Joined: 08 Sep 2023
Posts: 73

PostPosted: Wed Jul 10, 2024 5:58 pm    Post subject: Reply with quote

OK, I've got good news, and I've got bad news.
Good news:
My system is updating!
Bad news:
Code:
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

virtual/rust:0

  (virtual/rust-1.79.0:0/llvm-18::gentoo, ebuild scheduled for merge) USE="rustfmt -profiler" ABI_X86="32 (64) (-x32)" conflicts with
    =virtual/rust-1.77.1 required by (www-client/firefox-128.0:rapid/rapid::gentoo, ebuild scheduled for merge) USE="X clang dbus gmp-autoupdate hwaccel jumbo-build lto pgo pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-png system-webp wayland -debug -eme-free -hardened -jack -libproxy -openh264 (-selinux) -sndio -telemetry (-valgrind) -wifi" ABI_X86="(64)" L10N="he -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 -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 -skr -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" LLVM_SLOT="17 -18"
    ^             ^^^^^^
    virtual/rust:0/llvm-17 required by (mail-client/thunderbird-115.12.1:0/0::gentoo, ebuild scheduled for merge) USE="X clang dbus hwaccel lto openh264 pulseaudio system-av1 system-harfbuzz system-jpeg system-libevent system-librnp system-libvpx system-webp wayland -debug -eme-free -hardened -jack -libproxy (-pgo) (-selinux) -sndio (-system-icu) -system-png (-system-python-libs) -wifi" ABI_X86="(64)" L10N="he -af -ar -ast -be -bg -br -ca -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -es-AR -es-ES -es-MX -et -eu -fi -fr -fy -ga -gd -gl -hr -hsb -hu -id -is -it -ja -ka -kab -kk -ko -lt -lv -ms -nb -nl -nn -pa -pl -pt-BR -pt-PT -rm -ro -ru -sk -sl -sq -sr -sv -th -tr -uk -uz -vi -zh-CN -zh-TW"
                ^^^^^^^^^^
    virtual/rust:0/llvm-17 required by (www-client/firefox-128.0:rapid/rapid::gentoo, ebuild scheduled for merge) USE="X clang dbus gmp-autoupdate hwaccel jumbo-build lto pgo pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-png system-webp wayland -debug -eme-free -hardened -jack -libproxy -openh264 (-selinux) -sndio -telemetry (-valgrind) -wifi" ABI_X86="(64)" L10N="he -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 -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 -skr -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" LLVM_SLOT="17 -18"
                ^^^^^^^^^^
    =virtual/rust-1.77.1 required by (mail-client/thunderbird-115.12.1:0/0::gentoo, ebuild scheduled for merge) USE="X clang dbus hwaccel lto openh264 pulseaudio system-av1 system-harfbuzz system-jpeg system-libevent system-librnp system-libvpx system-webp wayland -debug -eme-free -hardened -jack -libproxy (-pgo) (-selinux) -sndio (-system-icu) -system-png (-system-python-libs) -wifi" ABI_X86="(64)" L10N="he -af -ar -ast -be -bg -br -ca -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -es-AR -es-ES -es-MX -et -eu -fi -fr -fy -ga -gd -gl -hr -hsb -hu -id -is -it -ja -ka -kab -kk -ko -lt -lv -ms -nb -nl -nn -pa -pl -pt-BR -pt-PT -rm -ro -ru -sk -sl -sq -sr -sv -th -tr -uk -uz -vi -zh-CN -zh-TW"
    ^             ^^^^^^

sci-libs/caffe2:0

  (sci-libs/caffe2-2.3.1:0/0::gentoo, ebuild scheduled for merge) USE="ffmpeg numpy opencl opencv openmp -cuda -distributed -fbgemm -flash -gloo -mkl -mpi -nnpack -onednn -openblas -qnnpack (-rocm) -xnnpack" ABI_X86="(64)" AMDGPU_TARGETS="gfx1102 -gfx1010 -gfx1011 -gfx1012 -gfx1030 -gfx1031 -gfx1100 -gfx1101 -gfx803 -gfx900 -gfx906 -gfx908 -gfx90a" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11" conflicts with
    ~sci-libs/caffe2-2.3.0[python_single_target_python3_12(-)] required by (sci-libs/pytorch-2.3.0:0/0::gentoo, installed) USE="-debug" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
    ^                ^^^^^                                   

dev-lang/go:0

  (dev-lang/go-1.22.5:0/1.22.5::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" CPU_FLAGS_X86="sse2" conflicts with
    >=dev-lang/go-1.20:0/1.22.4= required by (dev-ml/ollama-9999:0/0::guru, installed) USE="amd -nvidia" ABI_X86="(64)"
                      ^^^^^^^^^^
Back to top
View user's profile Send private message
leyvi
n00b
n00b


Joined: 08 Sep 2023
Posts: 73

PostPosted: Wed Jul 10, 2024 11:06 pm    Post subject: Reply with quote

OK, that fixed one problem but it created another:
`emerge -uDUv @world`'s output.
And the log files for the 3 failed builds can be found here.
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1924

PostPosted: Thu Jul 11, 2024 6:56 am    Post subject: Reply with quote

leyvi wrote:
And the log files for the 3 failed builds can be found here.


Seriously? Three files at once? Can't you just use wgetpaste?

Also what fixed what? What I suggested or what fedeliallalinea suggested?

And again: include the commands you're running.

p.s. your last but one post is not an error but a warning which doesn't prevent portage from resolving the dependencies and running the update. It's just for your information.

Best Regards,
Georgi
Back to top
View user's profile Send private message
leyvi
n00b
n00b


Joined: 08 Sep 2023
Posts: 73

PostPosted: Thu Jul 11, 2024 7:15 am    Post subject: Reply with quote

Clarification: I tried both solutions.
Back to top
View user's profile Send private message
leyvi
n00b
n00b


Joined: 08 Sep 2023
Posts: 73

PostPosted: Sat Jul 13, 2024 10:10 pm    Post subject: Reply with quote

OK, nothing has really changed, but this is a little neater:


As for my config:


To be clear, there are no longer any dependency conflicts (that I'm aware of).
Just these packages failing to build, without any of the problems I usually find.
Sorry for the delay.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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