Summary: | app-text/ghostscript-gpl[cups] USE enforced for no reason while updating. | ||
---|---|---|---|
Product: | Portage Development | Reporter: | dE <de.techno> |
Component: | Core - Dependencies | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | major | CC: | codec, printing, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge output
emerge -pvd --getbinpkg dev-java/icedtea-bin virtual/jdk virtual/jre &> debug.log |
Description
dE
2014-02-25 08:34:54 UTC
icedtea-bin has an RDEPEND on cups via the X use flag. cups subsequently has a PDEPEND on ghostscript-gpl[cups], and so it's actually required. When not using -NDu @world, portage assumes that installed packages have their dependencies properly satisfied, and so won't notice if they're not, which is why your third command doesn't try to install cups, because icedtea-bin is already installed. (In reply to dwfreed from comment #1) > icedtea-bin has an RDEPEND on cups via the X use flag. cups subsequently > has a PDEPEND on ghostscript-gpl[cups], and so it's actually required. When > not using -NDu @world, portage assumes that installed packages have their > dependencies properly satisfied, and so won't notice if they're not, which > is why your third command doesn't try to install cups, because icedtea-bin > is already installed. I wouldn't call that expected behavior. I mean I even got --complete-graph enabled in make.conf. (In reply to dE from comment #0) > emerge -pv --getbinpkg dev-java/icedtea-bin virtual/jdk virtual/jre > > These are the packages that would be merged, in order: > > Calculating dependencies ... done! > [ebuild NS ] virtual/jpeg-62:62 [0:0] ABI_X86="(64) (-32) (-x32)" 0 kB > [ebuild N F ] dev-java/oracle-jdk-bin-1.7.0.51-r1:1.7 USE="X alsa > nsplugin (-aqua) -derby -doc -examples -fontconfig -jce -pax_kernel -source" > 134,961 kB > [ebuild R ~] virtual/jdk-1.7.0:1.7 0 kB > [ebuild R ~] virtual/jre-1.7.0:1.7 0 kB > [ebuild NS ] dev-java/icedtea-bin-6.1.12.7:6 [7.2.3.4:7] USE="X alsa > nsplugin -cjk -cups -doc -examples -source" 39,076 kB > There's only one way --complete-graph would ignore dependencies. This is when the package is not reachable from @world. Please attach the debug.log created by: emerge -pvd --getbinpkg dev-java/icedtea-bin virtual/jdk virtual/jre &> debug.log Created attachment 372352 [details]
emerge -pvd --getbinpkg dev-java/icedtea-bin virtual/jdk virtual/jre &> debug.log
Same thing with dev-java/icedtea. emerge: there are no ebuilds built with USE flags to satisfy "app-text/ghostscript-gpl[cups]". !!! One of the following packages is required to complete your request: - app-text/ghostscript-gpl-9.10-r2::gentoo (Change USE: +cups) (dependency required by "net-print/cups-1.7.1" [ebuild]) (dependency required by "dev-java/icedtea-6.1.13.1" [ebuild]) (dependency required by "dev-java/icedtea-web-1.3.2" [ebuild]) Neither dev-java/icedtea or dev-java/icedtea-web requires cups or app-text/ghostscript-gpl when compiling without cups. (In reply to dE from comment #5) > Same thing with dev-java/icedtea. > > emerge: there are no ebuilds built with USE flags to satisfy > "app-text/ghostscript-gpl[cups]". > !!! One of the following packages is required to complete your request: > - app-text/ghostscript-gpl-9.10-r2::gentoo (Change USE: +cups) > (dependency required by "net-print/cups-1.7.1" [ebuild]) > (dependency required by "dev-java/icedtea-6.1.13.1" [ebuild]) > (dependency required by "dev-java/icedtea-web-1.3.2" [ebuild]) > > Neither dev-java/icedtea or dev-java/icedtea-web requires cups or > app-text/ghostscript-gpl when compiling without cups. Ok, got it. DEPEND is on icedtea-bin |