Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
equery --depends
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
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 334
Location: Toronto, Canada

PostPosted: Mon Mar 18, 2019 12:43 am    Post subject: equery --depends Reply with quote

Hi all,

Apologies for a quick relatively dumb question... does equery --depends show the depends graph for all packages in general, or specific to my system?

Example:

Code:
lastochka ~ # equery d pango
 * These packages depend on pango:
dev-java/oracle-jdk-bin-1.8.0.202 (javafx ? x11-libs/pango)
gnome-base/librsvg-2.40.18 (>=x11-libs/pango-1.36.3[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
media-gfx/imagemagick-7.0.8.28 (pango ? x11-libs/pango)


However, for the jdk-bin one:

Code:
lastochka ~ # emerge -av oracle-jdk-bin

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   Rf   ] dev-java/oracle-jdk-bin-1.8.0.202:1.8::gentoo  USE="fontconfig headless-awt -alsa -commercial -cups -doc -examples -javafx -jce -nsplugin (-selinux) -source -visualvm" 0 KiB


Looks like I have -javafx, but equery d lists it as a dep...

Thanks all!
_________________
"Hello and goodbye. As always." | You can't use   here?? | Unanswered
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21567
Location: here

PostPosted: Mon Mar 18, 2019 7:31 am    Post subject: Reply with quote

equery d show all packages directly depending on atom without checking if a possible use flag is enabled or not (as it happens in your case).
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 334
Location: Toronto, Canada

PostPosted: Mon Mar 18, 2019 1:00 pm    Post subject: Reply with quote

Thank you!
Any way to know which use atoms trigger dependencies?
_________________
"Hello and goodbye. As always." | You can't use   here?? | Unanswered
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7009

PostPosted: Mon Mar 18, 2019 7:35 pm    Post subject: Re: equery --depends Reply with quote

mno wrote:
Code:
dev-java/oracle-jdk-bin-1.8.0.202 (javafx ? x11-libs/pango)

It's all there, this just mean
if javafx useflag is set then we depends on x11-libs/pango

gnome-base/librsvg-2.40.18 (>=x11-libs/pango-1.36.3[useflags_value]
this mean:
we always need a version higher or equal to pango-1.36.3, and that version must be build with one of the useflag from the list [useflags_value]

for imagemagik it's the same as oracle-jdk-bin: if "pango" useflag is set we need x11-libs/pango
Back to top
View user's profile Send private message
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 334
Location: Toronto, Canada

PostPosted: Mon Mar 18, 2019 8:52 pm    Post subject: Reply with quote

Thanks krinn,

Actually in my case, I have specifically set -javafx of oracle-jdk-bin

Code:
[ebuild   Rf   ] dev-java/oracle-jdk-bin-1.8.0.202:1.8::gentoo  USE="fontconfig headless-awt -alsa -commercial -cups -doc -examples -javafx -jce -nsplugin (-selinux) -source -visualvm" 0 KiB


And yes, I did re-merge oracle-jdk-bin just in case.

My question is if there's a way to see the dependency list/graph based on the actual system packages and use flags?
_________________
"Hello and goodbye. As always." | You can't use   here?? | Unanswered
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13624

PostPosted: Tue Mar 19, 2019 1:38 am    Post subject: Reply with quote

emerge --pretend --verbose --depclean x11-libs/pango will either agree that it can be removed or show the packages that prevent its removal.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7009

PostPosted: Tue Mar 19, 2019 11:46 am    Post subject: Reply with quote

qdepends -a x11-libs/pango
you'll get who depends on it, and who has it as dependency in seconds
Back to top
View user's profile Send private message
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 334
Location: Toronto, Canada

PostPosted: Fri Mar 22, 2019 11:36 pm    Post subject: Reply with quote

Thank you folks!
_________________
"Hello and goodbye. As always." | You can't use   here?? | Unanswered
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