View previous topic :: View next topic |
Author |
Message |
curmudgeon Veteran
Joined: 08 Aug 2003 Posts: 1741
|
Posted: Thu Jan 05, 2023 11:21 pm Post subject: portage ignoring installed dependency [solved] |
|
|
On a relatively minimal system, after a sync a couple of days ago, portage suddenly wants in install more than 40 new packages (almost 300 MB of downloads) without updating anything. Looking at the output of emerge -Ddpu world, this fragment stands out:
Code: |
Parent: (app-text/djvu-3.5.28-r3:0/0::gentoo, installed)
Depstring: || ( gnome-base/librsvg media-gfx/inkscape )
Priority: optional
installed: gnome-base/librsvg-2.40.21::local
ebuild: media-gfx/inkscape-1.2.1-r2::gentoo
ebuild: media-gfx/inkscape-1.2.1-r2::gentoo
Candidates: ['media-gfx/inkscape']
Child: (media-gfx/inkscape-1.2.1-r2:0/0::gentoo, ebuild scheduled for merge) USE="X cdr exif jpeg openmp readline spell -dia -graphicsmagick -imagemagick -inkjar (-jemalloc) -postscript -svg2 -test -visio -wpg" PYTHON_SINGLE_TARGET="python3_9 -python3_10 -python3_8"
Parent Dep: media-gfx/inkscape required by (app-text/djvu-3.5.28-r3:0/0::gentoo, installed)
|
Why does app-text/djvu insist on installing media-gfx/inkscape when the system already has gnome-base/librsvg installed?
Last edited by curmudgeon on Mon Jan 23, 2023 5:25 pm; edited 1 time in total |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1657
|
Posted: Thu Jan 05, 2023 11:33 pm Post subject: |
|
|
Most likely because gnome-base/librsvg is not "visible" in a repository for one reason or another (because it is not listed in Candidates).
A simple test:
Code: | portageq best_visible / gnome-base/librsvg |
This should return the librsvg-2.40.21.
Also check with:
Code: | emerge -pv1 gnome-base/librsvg |
|
|
Back to top |
|
|
logrusx Veteran
Joined: 22 Feb 2018 Posts: 1530
|
Posted: Fri Jan 06, 2023 5:44 am Post subject: |
|
|
Is there any particular reason for you to have a (custom?) librsvg ebuild in the repository "local"?
Also you can see what pulls in what with --tree switch to portage.
Best Regards,
Georgi |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1530 Location: South America
|
Posted: Fri Jan 06, 2023 12:51 pm Post subject: |
|
|
logrusx wrote: | Is there any particular reason for you to have a (custom?) librsvg ebuild in the repository "local"? |
Probably because 2.40.21 is the last Rust-less librsvg. _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
curmudgeon Veteran
Joined: 08 Aug 2003 Posts: 1741
|
Posted: Mon Jan 23, 2023 5:24 pm Post subject: |
|
|
grknight wrote: | Most likely because gnome-base/librsvg is not "visible" in a repository for one reason or another (because it is not listed in Candidates). |
I didn't notice that the librsvg in my local repository did not have an amd64 keyword. I added it to the local repository, and now portage seems happy with the current state of the system. :)
Thank you.
GDH-gentoo wrote: | logrusx wrote: | Is there any particular reason for you to have a (custom?) librsvg ebuild in the repository "local"? |
Probably because 2.40.21 is the last Rust-less librsvg. |
We have a winner! I have a machine where the last compilation of gcc took 23:45 (and I don't mean 23 minutes and 45 seconds), and I intend to keep rust (which I believe requires an even more resource-intensive compilation) off of this machine for the remainder of its life. |
|
Back to top |
|
|
arnvidr l33t
Joined: 19 Aug 2004 Posts: 629 Location: Oslo, Norway
|
Posted: Wed Jan 25, 2023 7:37 pm Post subject: |
|
|
I have a similar machine where gcc takes in the vicinity of 30 hours. I moved it to rust-bin. _________________
|
|
Back to top |
|
|
|