• [gentoo-user] Java wants cups?

    From Matthias Hanft@21:1/5 to All on Sat Apr 2 09:40:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sat Apr 2 10:02:36 2022
    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.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmJIESwACgkQseqq9sKV ZxnsPw//XV767DxUrMJJ8pKmd9UZma69g6dHfA7vk86RbL5jfzz3cEo3ne4U/Rpg tKB4FnXUHILzPI3eHWEZGSrj99cma7wQZaF0nnaCxf1fj4aG+iDBpLAF1GIJ/iNd 8m0EVDYeQ5v0uT5wvZ4fGCi7Foy6HQ1w+J8OAotN+tkwcebeJgtOBaDvXoCSudWE KDcUvLVl4XW8cLNTZ4Zx1McFNHRPZksb3swczt2zqSfgVb+QbFf9GBlxFc3mWjgr K785TkFv2JmZ9pODXpJVHh+GhMp++rO6xjjBj5e+CtUJaAAMyGDLOteuo2lp3Ie2 16FEZQz7BakknMUJqTkul7pc6W2MhPkCWmvhNTBowP5AJIu1G/1Oo9N3afrYZzCy rPcd/GRjkRxcDJvjK9VMWg/yTG6rBx3k5lOAbfMHCu/9+seaIsPXnwpJNvxF9FQr iKraiqn0BbiXXDfkYpcC9+YUYEnqezrOGoWuFnSoWSgtRrIGVKGPSTu7pfjd5+pI 8C0UQgVbClrhjcfYEhaiuIhMt9ofClIct2ZnH1/v4cuAo2njpYu+D58DOcLMxwnI ZB1mWWLU6JKYu8O5kEW6SCXifjWpoalT3jUv4tHaltytPf+H7baL+CiJsboZ+P/D 7gc+WNcbOO4C0ZYd/B+onCQzyj1oMRDgTquZf8Qp7A9vE5z2BrQ=
    =g4gy
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Walter Dnes@21:1/5 to Matthias Hanft on Sat Apr 2 18:10:01 2022
    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 <waltdnes@waltdnes.org>
    I don't run "desktop environments"; I run useful applications

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to Walter Dnes on Sun Apr 3 00:30:01 2022
    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.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmJIzjcACgkQ92eFu0QS MJjRfRAAkLSDapYuT+g3wu8ujNWteUtI1EfWJPI4qk65zrUOJGBW8dyvIMrUfRGo 33Qp4H+YCf7mMd2PsY85+M4nLUnAZXBd408VzRm4CgK4OfpkCupww0x/Zmio5u3Q pYHHjrm6QpLl+PLowUNA3vUDoOOhQrguTw5JNchfb2/5QL/WM7M+L0a0Z5PaBWiu MD65ekJTsV8m1GJOOeNPeuXCZQGZCZ+CSTdHkH3QsuDxNxshzjp+uZOWG56u0fmE DfOMP34I3eHYPbRgXan2M7vDJfCNfnwFUXvagD1LAcHbRVeo4ekGBHtq/UomqyH9 Zjd0lYjMYzYaseRv0S9UUsaTZqRib+jsAu0TizEE2AlfAr6PZOKHkSBqJb0/Iypb MyKVwMoRtk5Z1Dbn72o/9atbYVQJPM9uy4T2nNegOnMhBx+wWx+Jg9l0ly0683sp ZY8E8tw0SYw/H+Pt/HNk7gab6ejcvZfWCVX7F2wsJKpP2SVoCTSMDe+mlXoKxL30 db1dAaRrgVzepUMrYY3jhOdYbVnPekax0UaDPwnMHZfK5xrfPXKZxCOIOgXeFIht /k1YZslBeewklLpRmGyQVPOti4It38ZJQxRkm7A5eOcSEMTyxcFfx/i6J5NjlXhZ BB63/KHUZEpCMtTCUpOl1IBuRmBXjK0+4j1Ih1TZkHPjeD1973Y=
    =Qf8O
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matthias Hanft@21:1/5 to Michael on Sun Apr 3 12:20:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)