Re: [gentoo-user] Java wants cups?

2022-04-03 Thread Matthias Hanft
Michael wrote:
> 
> Did you try running emerge with '--tree' to see the dependency tree with all 
> its dependencies?  (The option '--deep' may show more dependencies too).

Meanwhile I have found out that the culprit is "virtual/jdk".  I have 1.8.0-r6
installed, and emerge wants to upgrade to 11-r2 (strange versioning, isn't it?).

Apparently, I have neither "openjdk" nor "openjdk-bin" installed, but "icedtea-
bin". Upgrading virtual/jdk to 11 seems to insist on some openjdk...

"equery g virtual/jdk" says for the two versions in question:

 * dependency graph for virtual/jdk-1.8.0-r6
 `--  virtual/jdk-1.8.0-r6  x86
   `--  dev-java/openjdk-bin-8.322_p06  (dev-java/openjdk-bin) [missing 
keyword]  [headless-awt=]
   `--  dev-java/openjdk-8.322_p06  (dev-java/openjdk) x86  [headless-awt=]
   `--  dev-java/icedtea-bin-3.16.0  (dev-java/icedtea-bin) x86  [headless-awt=]
   `--  dev-java/icedtea-3.21.0  (dev-java/icedtea) [~x86 keyword]  
[headless-awt=]
[ virtual/jdk-1.8.0-r6 stats: packages (5), max depth (1) ]

 * dependency graph for virtual/jdk-11-r2
 `--  virtual/jdk-11-r2  M[package.mask]
   `--  dev-java/openjdk-bin-11.0.14_p9-r1  (dev-java/openjdk-bin) [missing 
keyword]  [gentoo-vm(+) headless-awt=]
   `--  dev-java/openjdk-11.0.14_p9-r1  (dev-java/openjdk) x86  [gentoo-vm(+) 
headless-awt=]
[ virtual/jdk-11-r2 stats: packages (3), max depth (1) ]

so it seems that virtual/jdk 11 can't/doesn't want to use icedtea-bin and needs
openjdk[-bin] which requires cups in any case...

Do I need virtual/jdk at all? I don't even develop Java software - all I need
is some Java runtime which I can call from the command line by "java -jar 
blabla.jar".

For the moment, I have masked >=virtual/jdk-10

-Matt



Re: [gentoo-user] Java wants cups?

2022-04-02 Thread Neil Bothwick
On Sat, 2 Apr 2022 12:06:22 -0400, Walter Dnes wrote:

>   You can't.  cups is more unwanted/unnecessary bloatware weasling its
> way in just like systemd and sphinx.  I also have cups as a requirement
> for app-text/ghostscript-gpl as well as for google-chrome, which I use
> 99% for Netflix.  Pale Moon is my "daily driver" browser.

google-chrome is Google's binary version, o Gentoo devs have no control
over the dependencies. With chromium, there is a cups USE flag, but you
have to put up with long compile times.


-- 
Neil Bothwick

Oops. My brain just hit a bad sector.


pgpI61VQEbB0G.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Java wants cups?

2022-04-02 Thread Walter Dnes
On Sat, Apr 02, 2022 at 09:32:08AM +0200, Matthias Hanft wrote
> Hi,
> 
> after "emerge --sync" today, and "emerge -auv @world", I got the
> message:
> 
> emerge: there are no ebuilds built with USE flags to satisfy 
> ">=app-text/ghostscript-gpl-9.09[cups]".
> !!! One of the following packages is required to complete your request:
> - app-text/ghostscript-gpl-9.55.0-r1::gentoo (Change USE: +cups)
> (dependency required by 
> "net-print/cups-filters-1.28.10-r3::gentoo[postscript]" [ebuild])
> (dependency required by "net-print/cups-2.3.3_p2-r3::gentoo" [ebuild])
> (dependency required by "dev-java/openjdk-11.0.14_p9-r1::gentoo" [ebuild])
> (dependency required by "virtual/jdk-11-r2::gentoo" [ebuild])
> (dependency required by "@selected" [set])
> (dependency required by "@world" [argument])
> 
> But:
> 
> - the cups USE flag is globally disabled (and nowhere locally
>   enabled);
> - since this is a virtual server, no printers at all are used/
>   connected/configured.
> 
> I could run emerge with USE="cups", but in this case ~30 new
> packages would be installed (many, many "libXsomething" among
> them). And I would have a completely useless printing system.
> 
> How do I get rid of all those cups things?

  You can't.  cups is more unwanted/unnecessary bloatware weasling its
way in just like systemd and sphinx.  I also have cups as a requirement
for app-text/ghostscript-gpl as well as for google-chrome, which I use
99% for Netflix.  Pale Moon is my "daily driver" browser.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Java wants cups?

2022-04-02 Thread Michael
On Saturday, 2 April 2022 08:32:08 BST Matthias Hanft wrote:
> Hi,
> 
> after "emerge --sync" today, and "emerge -auv @world", I got the
> message:
> 
> emerge: there are no ebuilds built with USE flags to satisfy
> ">=app-text/ghostscript-gpl-9.09[cups]". !!! One of the following packages
> is required to complete your request: -
> app-text/ghostscript-gpl-9.55.0-r1::gentoo (Change USE: +cups)
> (dependency required by
> "net-print/cups-filters-1.28.10-r3::gentoo[postscript]" [ebuild])
> (dependency required by "net-print/cups-2.3.3_p2-r3::gentoo" [ebuild])
> (dependency required by "dev-java/openjdk-11.0.14_p9-r1::gentoo" [ebuild])
> (dependency required by "virtual/jdk-11-r2::gentoo" [ebuild])
> (dependency required by "@selected" [set])
> (dependency required by "@world" [argument])
> 
> But:
> 
> - the cups USE flag is globally disabled (and nowhere locally
>   enabled);
> - since this is a virtual server, no printers at all are used/
>   connected/configured.
> 
> I could run emerge with USE="cups", but in this case ~30 new
> packages would be installed (many, many "libXsomething" among
> them). And I would have a completely useless printing system.
> 
> How do I get rid of all those cups things?
> 
> Thanks,
> 
> -Matt

Did you try running emerge with '--tree' to see the dependency tree with all 
its dependencies?  (The option '--deep' may show more dependencies too).

I have cups set here but don't have java.  This is what I get when I set 
USE="-cups"

~ $ USE="-cups" emerge -upv dev-java/openjdk app-text/ghostscript-gpl

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

Calculating dependencies... done!
[ebuild  N ] app-eselect/eselect-java-0.4.3::gentoo  14 KiB
[ebuild  N ] app-crypt/p11-kit-0.23.22::gentoo  USE="asn1 libffi trust -
debug -systemd" ABI_X86="(64) -32 (-x32)" 811 KiB
[ebuild  N ] sys-apps/baselayout-java-0.1.0-r1::gentoo  71 KiB
[ebuild  N ] dev-java/java-config-2.3.1:2::gentoo  USE="-test" 
PYTHON_TARGETS="python3_9 -python3_8 -python3_10" 26 KiB
[ebuild  N ] dev-java/openjdk-bin-17.0.2_p8:17::gentoo  USE="alsa -cups (-
gentoo-vm) -headless-awt (-selinux) -source" 187,541 KiB
[ebuild  N ] dev-java/openjdk-17.0.2_p8:17::gentoo  USE="alsa jbootstrap 
(system-bootstrap) (-big-endian) -cups -debug -doc -examples (-gentoo-vm) -
headless-awt (-javafx) (-selinux) -source -systemtap" 102,288 KiB

which doesn't appear to disagree with the "-cups" flag.

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Java wants cups?

2022-04-02 Thread Matthias Hanft
Hi,

after "emerge --sync" today, and "emerge -auv @world", I got the
message:

emerge: there are no ebuilds built with USE flags to satisfy 
">=app-text/ghostscript-gpl-9.09[cups]".
!!! One of the following packages is required to complete your request:
- app-text/ghostscript-gpl-9.55.0-r1::gentoo (Change USE: +cups)
(dependency required by "net-print/cups-filters-1.28.10-r3::gentoo[postscript]" 
[ebuild])
(dependency required by "net-print/cups-2.3.3_p2-r3::gentoo" [ebuild])
(dependency required by "dev-java/openjdk-11.0.14_p9-r1::gentoo" [ebuild])
(dependency required by "virtual/jdk-11-r2::gentoo" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

But:

- the cups USE flag is globally disabled (and nowhere locally
  enabled);
- since this is a virtual server, no printers at all are used/
  connected/configured.

I could run emerge with USE="cups", but in this case ~30 new
packages would be installed (many, many "libXsomething" among
them). And I would have a completely useless printing system.

How do I get rid of all those cups things?

Thanks,

-Matt