Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
portage ignoring installed dependency [solved]
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
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Thu Jan 05, 2023 11:21 pm    Post subject: portage ignoring installed dependency [solved] Reply with quote

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
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1657

PostPosted: Thu Jan 05, 2023 11:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1530

PostPosted: Fri Jan 06, 2023 5:44 am    Post subject: Reply with quote

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
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1530
Location: South America

PostPosted: Fri Jan 06, 2023 12:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Mon Jan 23, 2023 5:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
arnvidr
l33t
l33t


Joined: 19 Aug 2004
Posts: 629
Location: Oslo, Norway

PostPosted: Wed Jan 25, 2023 7:37 pm    Post subject: Reply with quote

I have a similar machine where gcc takes in the vicinity of 30 hours. I moved it to rust-bin.
_________________
Noone wrote:
anything
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