View previous topic :: View next topic |
Author |
Message |
bagas Apprentice
Joined: 29 Jun 2018 Posts: 209
|
Posted: Thu Dec 01, 2022 3:06 pm Post subject: media-libs/mesa-22.1.7 needs two llvms (14 end 15) |
|
|
Hello.
I don't understand why the mesa package needs two llvms?
Code: | Calculating dependencies... done!
* Dependencies could not be completely resolved due to
* the following required packages not being installed:
*
* sys-devel/llvm:14[abi_x86_64(-)] pulled in by:
* media-libs/mesa-22.1.7
*
* <sys-devel/llvm-15:14/14=[abi_x86_64(-)] pulled in by:
* media-libs/mesa-22.1.7
*
* <sys-devel/llvm-15:=[abi_x86_64(-)] pulled in by:
* media-libs/mesa-22.1.7
*
* Have you forgotten to do a complete update prior to depclean? The
* most comprehensive command for this purpose is as follows:
*
* emerge --update --newuse --deep --with-bdeps=y @world
*
* Note that the --with-bdeps=y option is not required in many
* situations. Refer to the emerge manual page (run `man emerge`)
* for more information about --with-bdeps.
*
* Also, note that it may be necessary to manually uninstall
* packages that no longer exist in the repository, since it may not
* be possible to satisfy their dependencies. |
_________________ BSD, Linux systems blog |
|
Back to top |
|
|
Christian99 Veteran
Joined: 28 May 2009 Posts: 1715
|
Posted: Thu Dec 01, 2022 3:24 pm Post subject: |
|
|
mesa doesn't depend on multiple llvm versions, two lines start with '<' aka 'less than', that means that mesa depends on a llvm less than the version specified. |
|
Back to top |
|
|
CooSee Veteran
Joined: 20 Nov 2004 Posts: 1477 Location: Earth
|
Posted: Thu Dec 01, 2022 3:26 pm Post subject: |
|
|
Quote: | * Have you forgotten to do a complete update prior to depclean? The
* most comprehensive command for this purpose is as follows:
*
* emerge --update --newuse --deep --with-bdeps=y @world
*
* Note that the --with-bdeps=y option is not required in many
* situations. Refer to the emerge manual page (run `man emerge`)
* for more information about --with-bdeps.
*
* Also, note that it may be necessary to manually uninstall
* packages that no longer exist in the repository, since it may not
* be possible to satisfy their dependencies. |
yes, mesa-22.1.7 depends on llvm-14
have you tried emerge --update --newuse --deep --with-bdeps=y @world
this is from the mesa ebuild:
Code: | # 2. Update the := to specify *max* version, e.g. < 10.
# 3. Specify LLVM_MAX_SLOT, e.g. 9.
LLVM_MAX_SLOT="14"
LLVM_DEPSTR=" |
you could emerge testing mesa-22.2.2 or mesa-22.2.3
_________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Last edited by CooSee on Thu Dec 01, 2022 3:45 pm; edited 2 times in total |
|
Back to top |
|
|
bagas Apprentice
Joined: 29 Jun 2018 Posts: 209
|
Posted: Thu Dec 01, 2022 3:28 pm Post subject: |
|
|
Christian99 wrote: | mesa doesn't depend on multiple llvm versions, two lines start with '<' aka 'less than', that means that mesa depends on a llvm less than the version specified. |
I had two versions installed on my system, 14 and 15.
I deleted version 14 myself.
then what pulls version 15 according to dependencies?
Code: | equery d sys-devel/llvm-15
* These packages depend on sys-devel/llvm-15:
media-libs/mesa-22.1.7 (video_cards_r600 ? sys-devel/llvm:14[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
(video_cards_r600 ? sys-devel/llvm:13[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
(<sys-devel/llvm-15[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
(video_cards_radeonsi ? sys-devel/llvm:14[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
(video_cards_radeonsi ? sys-devel/llvm:13[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
(video_cards_radeon ? sys-devel/llvm:14[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
(video_cards_radeon ? sys-devel/llvm:13[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
(!video_cards_radeonsi ? sys-devel/llvm:14[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
(!video_cards_radeonsi ? sys-devel/llvm:13[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
(<sys-devel/llvm-15[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
sys-devel/llvm-toolchain-symlinks-15-r1 (sys-devel/llvm:15)
sys-devel/llvmgold-15 (sys-devel/llvm:15[binutils-plugin]) |
_________________ BSD, Linux systems blog |
|
Back to top |
|
|
CooSee Veteran
Joined: 20 Nov 2004 Posts: 1477 Location: Earth
|
Posted: Thu Dec 01, 2022 3:37 pm Post subject: |
|
|
as i said, stable version depends on 14
what does emerge --update --newuse --deep --with-bdeps=y @world say ?
or just emerge testing mesa. _________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22914
|
Posted: Thu Dec 01, 2022 4:11 pm Post subject: |
|
|
bagas wrote: | I had two versions installed on my system, 14 and 15.
I deleted version 14 myself. | How did you remove llvm-14? emerge --depclean should not have been able to do that, according to the output you showed. If you used emerge --unmerge, then that would explain the error message you showed in your first post: bagas wrote: | Code: | * Dependencies could not be completely resolved due to
* the following required packages not being installed: |
| You removed a required package, so now the dependency tree cannot be resolved. Put that package back, or remove everything that needs it. (Note that in this case, removing Mesa is probably a bad idea.) bagas wrote: | then what pulls version 15 according to dependencies? | Instead of equery d, ask Portage, by using emerge --pretend --verbose --depclean =sys-devel/llvm-15. Note that this may fail until you fix the dependency error shown in your first post. |
|
Back to top |
|
|
bagas Apprentice
Joined: 29 Jun 2018 Posts: 209
|
Posted: Thu Dec 01, 2022 5:49 pm Post subject: |
|
|
sys-devel/binutils-2.38-r2
That's who pulls llvm 15 according to dependencies, as I understand it.
Code: | emerge --pretend --verbose --depclean =sys-devel/llvm-15.0.3
Calculating dependencies... done!
sys-devel/llvm-15.0.3 pulled in by:
sys-devel/llvm-toolchain-symlinks-15-r1 requires sys-devel/llvm:15
sys-devel/llvmgold-15 requires sys-devel/llvm:15[binutils-plugin]
|
Funny!
Soon I will collect the entire collection of llvm versions!
I will have to install llvm14 on the system and keep two versions of llvm14/15 on the system.
This doesn't make me happy!
package mesa installs llvm 14 dependencies.
package binutils installs llvm 15 dependencies. _________________ BSD, Linux systems blog |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1968
|
Posted: Thu Dec 01, 2022 6:13 pm Post subject: |
|
|
bagas wrote: | sys-devel/binutils-2.38-r2
That's who pulls llvm 15 according to dependencies, as I understand it.
Code: | emerge --pretend --verbose --depclean =sys-devel/llvm-15.0.3
Calculating dependencies... done!
sys-devel/llvm-15.0.3 pulled in by:
sys-devel/llvm-toolchain-symlinks-15-r1 requires sys-devel/llvm:15
sys-devel/llvmgold-15 requires sys-devel/llvm:15[binutils-plugin]
|
Funny!
Soon I will collect the entire collection of llvm versions!
I will have to install llvm14 on the system and keep two versions of llvm14/15 on the system.
This doesn't make me happy!
package mesa installs llvm 14 dependencies.
package binutils installs llvm 15 dependencies. |
Nothing listed here points to sys-devel/binutils.
To continue the chain of deps, issue the following:
Code: | emerge --pretend --verbose --depclean =sys-devel/llvm-15.0.3 sys-devel/llvmgold sys-devel/llvm-toolchain-symlinks:15 |
These packages are interdependent on each other. |
|
Back to top |
|
|
bagas Apprentice
Joined: 29 Jun 2018 Posts: 209
|
Posted: Thu Dec 01, 2022 6:30 pm Post subject: |
|
|
grknight wrote: | bagas wrote: | sys-devel/binutils-2.38-r2
That's who pulls llvm 15 according to dependencies, as I understand it.
Code: | emerge --pretend --verbose --depclean =sys-devel/llvm-15.0.3
Calculating dependencies... done!
sys-devel/llvm-15.0.3 pulled in by:
sys-devel/llvm-toolchain-symlinks-15-r1 requires sys-devel/llvm:15
sys-devel/llvmgold-15 requires sys-devel/llvm:15[binutils-plugin]
|
Funny!
Soon I will collect the entire collection of llvm versions!
I will have to install llvm14 on the system and keep two versions of llvm14/15 on the system.
This doesn't make me happy!
package mesa installs llvm 14 dependencies.
package binutils installs llvm 15 dependencies. |
Nothing listed here points to sys-devel/binutils.
To continue the chain of deps, issue the following:
Code: | emerge --pretend --verbose --depclean =sys-devel/llvm-15.0.3 sys-devel/llvmgold sys-devel/llvm-toolchain-symlinks:15 |
These packages are interdependent on each other. |
Quote: | emerge --pretend --verbose --depclean =sys-devel/llvm-15.0.3 sys-devel/llvmgold sys-devel/llvm-toolchain-symlinks:15
Calculating dependencies... done!
>>> Calculating removal order...
>>> These are the packages that would be unmerged:
sys-devel/llvm-toolchain-symlinks
selected: 15-r1
protected: none
omitted: none
sys-devel/llvmgold
selected: 15
protected: none
omitted: none
sys-devel/llvm
selected: 15.0.3
protected: none
omitted: none
All selected packages: =sys-devel/llvm-toolchain-symlinks-15-r1 =sys-devel/llvmgold-15 =sys-devel/llvm-15.0.3
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
Packages installed: 777
Packages in world: 158
Packages in system: 43
Required packages: 774
Number to remove: 3 |
_________________ BSD, Linux systems blog |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1968
|
Posted: Thu Dec 01, 2022 7:03 pm Post subject: |
|
|
So, in effect, nothing is using llvm-15 on this system. It may be referenced in the world file or pulled in some other way.
Once the world file is checked and a full update completes, it should be a good time for emerge -ac (--ask --depclean) to run and purge unnecessary packages (after confirming you don't personally use any) |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3462 Location: Canada
|
Posted: Fri Dec 02, 2022 4:25 pm Post subject: |
|
|
Yes, on my mаchine also two versions of llvm are installed, and nothing points on dependencies (just some circular ones) that would pull llvm-15. It is not in the world file either
Code: |
## equery depends llvm
* These packages depend on llvm:
app-office/libreoffice-7.3.7.2 (clang ? sys-devel/llvm:15)
(sys-devel/llvm:14)
(sys-devel/llvm:13)
media-libs/mesa-22.1.7 (video_cards_r600 ? sys-devel/llvm:14[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
(video_cards_r600 ? sys-devel/llvm:13[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
(<sys-devel/llvm-15[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
(video_cards_radeonsi ? sys-devel/llvm:14[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
(video_cards_radeonsi ? sys-devel/llvm:13[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
(video_cards_radeon ? sys-devel/llvm:14[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
(video_cards_radeon ? sys-devel/llvm:13[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?,llvm_targets_AMDGPU(-)])
(!video_cards_radeonsi ? sys-devel/llvm:14[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
(!video_cards_radeonsi ? sys-devel/llvm:13[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
(<sys-devel/llvm-15[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
sys-devel/llvm-toolchain-symlinks-15-r1 (sys-devel/llvm:15)
sys-devel/llvmgold-15 (sys-devel/llvm:15[binutils-plugin])
## equery depends llvmgold
* These packages depend on llvmgold:
sys-devel/llvm-14.0.6-r2 (binutils-plugin ? >=sys-devel/llvmgold-14)
sys-devel/llvm-15.0.3 (binutils-plugin ? >=sys-devel/llvmgold-15)
## equery depends llvm-toolchain-symlinks
* These packages depend on llvm-toolchain-symlinks:
sys-devel/llvm-15.0.3 (sys-devel/llvm-toolchain-symlinks:15)
|
libreoffice would pull llvm-15 if clang was enabled, but it is not. |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3462 Location: Canada
|
Posted: Fri Dec 02, 2022 4:29 pm Post subject: |
|
|
grknight wrote: | So, in effect, nothing is using llvm-15 on this system. It may be referenced in the world file or pulled in some other way.
Once the world file is checked and a full update completes, it should be a good time for emerge -ac (--ask --depclean) to run and purge unnecessary packages (after confirming you don't personally use any) |
I like this "pulled in some other way". That is what we are trying to understand, what are the other ways |
|
Back to top |
|
|
bagas Apprentice
Joined: 29 Jun 2018 Posts: 209
|
Posted: Fri Dec 02, 2022 6:25 pm Post subject: |
|
|
Today I updated the ports and I see that mesa-22.2.3 is already using llvm-15.
Rebuilt the world, now everything is in order, only one version of llvm 15 is present in the system. _________________ BSD, Linux systems blog |
|
Back to top |
|
|
|
|
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
|
|