Gentoo Archives: gentoo-user

From: Michael <confabulate@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Java wants cups?
Date: Sat, 02 Apr 2022 09:02:58
Message-Id: 4389965.LvFx2qVVIh@lenovo.localdomain
In Reply to: [gentoo-user] Java wants cups? by Matthias Hanft
1 On Saturday, 2 April 2022 08:32:08 BST Matthias Hanft wrote:
2 > Hi,
3 >
4 > after "emerge --sync" today, and "emerge -auv @world", I got the
5 > message:
6 >
7 > emerge: there are no ebuilds built with USE flags to satisfy
8 > ">=app-text/ghostscript-gpl-9.09[cups]". !!! One of the following packages
9 > is required to complete your request: -
10 > app-text/ghostscript-gpl-9.55.0-r1::gentoo (Change USE: +cups)
11 > (dependency required by
12 > "net-print/cups-filters-1.28.10-r3::gentoo[postscript]" [ebuild])
13 > (dependency required by "net-print/cups-2.3.3_p2-r3::gentoo" [ebuild])
14 > (dependency required by "dev-java/openjdk-11.0.14_p9-r1::gentoo" [ebuild])
15 > (dependency required by "virtual/jdk-11-r2::gentoo" [ebuild])
16 > (dependency required by "@selected" [set])
17 > (dependency required by "@world" [argument])
18 >
19 > But:
20 >
21 > - the cups USE flag is globally disabled (and nowhere locally
22 > enabled);
23 > - since this is a virtual server, no printers at all are used/
24 > connected/configured.
25 >
26 > I could run emerge with USE="cups", but in this case ~30 new
27 > packages would be installed (many, many "libXsomething" among
28 > them). And I would have a completely useless printing system.
29 >
30 > How do I get rid of all those cups things?
31 >
32 > Thanks,
33 >
34 > -Matt
35
36 Did you try running emerge with '--tree' to see the dependency tree with all
37 its dependencies? (The option '--deep' may show more dependencies too).
38
39 I have cups set here but don't have java. This is what I get when I set
40 USE="-cups"
41
42 ~ $ USE="-cups" emerge -upv dev-java/openjdk app-text/ghostscript-gpl
43
44 These are the packages that would be merged, in order:
45
46 Calculating dependencies... done!
47 [ebuild N ] app-eselect/eselect-java-0.4.3::gentoo 14 KiB
48 [ebuild N ] app-crypt/p11-kit-0.23.22::gentoo USE="asn1 libffi trust -
49 debug -systemd" ABI_X86="(64) -32 (-x32)" 811 KiB
50 [ebuild N ] sys-apps/baselayout-java-0.1.0-r1::gentoo 71 KiB
51 [ebuild N ] dev-java/java-config-2.3.1:2::gentoo USE="-test"
52 PYTHON_TARGETS="python3_9 -python3_8 -python3_10" 26 KiB
53 [ebuild N ] dev-java/openjdk-bin-17.0.2_p8:17::gentoo USE="alsa -cups (-
54 gentoo-vm) -headless-awt (-selinux) -source" 187,541 KiB
55 [ebuild N ] dev-java/openjdk-17.0.2_p8:17::gentoo USE="alsa jbootstrap
56 (system-bootstrap) (-big-endian) -cups -debug -doc -examples (-gentoo-vm) -
57 headless-awt (-javafx) (-selinux) -source -systemtap" 102,288 KiB
58
59 which doesn't appear to disagree with the "-cups" flag.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Java wants cups? Matthias Hanft <mh@×××××.de>