View previous topic :: View next topic |
Author |
Message |
mno Guru


Joined: 29 Dec 2003 Posts: 454 Location: Toronto, Canada
|
Posted: Mon Mar 18, 2019 12:43 am Post subject: equery --depends |
|
|
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 |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31652 Location: here
|
Posted: Mon Mar 18, 2019 7:31 am Post subject: |
|
|
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 |
|
 |
mno Guru


Joined: 29 Dec 2003 Posts: 454 Location: Toronto, Canada
|
Posted: Mon Mar 18, 2019 1:00 pm Post subject: |
|
|
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 |
|
 |
krinn Watchman


Joined: 02 May 2003 Posts: 7471
|
Posted: Mon Mar 18, 2019 7:35 pm Post subject: Re: equery --depends |
|
|
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 |
|
 |
mno Guru


Joined: 29 Dec 2003 Posts: 454 Location: Toronto, Canada
|
Posted: Mon Mar 18, 2019 8:52 pm Post subject: |
|
|
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 |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23413
|
Posted: Tue Mar 19, 2019 1:38 am Post subject: |
|
|
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 |
|
 |
krinn Watchman


Joined: 02 May 2003 Posts: 7471
|
Posted: Tue Mar 19, 2019 11:46 am Post subject: |
|
|
qdepends -a x11-libs/pango
you'll get who depends on it, and who has it as dependency in seconds |
|
Back to top |
|
 |
mno Guru


Joined: 29 Dec 2003 Posts: 454 Location: Toronto, Canada
|
Posted: Fri Mar 22, 2019 11:36 pm Post subject: |
|
|
Thank you folks! _________________ "Hello and goodbye. As always." | You can't use here?? | Unanswered |
|
Back to top |
|
 |
|