Gentoo Archives: gentoo-user

From: Andreas Fink <finkandreas@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] chromium-72.0.3626.96 and Java
Date: Fri, 15 Feb 2019 09:48:58
Message-Id: 20190215104834.2ffeceab@web.de
In Reply to: Re: [gentoo-user] chromium-72.0.3626.96 and Java by Mick
1 On Fri, 15 Feb 2019 09:32:15 +0000
2 Mick <michaelkintzios@×××××.com> wrote:
3
4 > On Thursday, 14 February 2019 12:36:04 GMT Mick wrote:
5 > > On Thursday, 14 February 2019 12:27:25 GMT Marc Joliet wrote:
6 > > > Am Donnerstag, 14. Februar 2019, 13:12:29 CET schrieb Mick:
7 > > > > Hi All,
8 > > > >
9 > > > > I just noticed chromium-72.0.3626.96 is bringing in Java
10 > > > > packages as dependencies, I'd rather keep off my systems. This
11 > > > > is caused by the new USE flag closure-compile, which I think is
12 > > > > advertised as a good thing.
13 > > > >
14 > > > > Would you know if these Java dependencies are used for chromium
15 > > > > build-time
16 > > > > only and therefore I could unmerge them thereafter, or if they
17 > > > > are for run-
18 > > > > time?
19 > > >
20 > > > The relevant dep is in BDEPEND [0], so yes, you should be able to
21 > > > unmerge them afterwards:
22 > > >
23 > > > BDEPEND="
24 > > >
25 > > > # snip other deps
26 > > > closure-compile? ( virtual/jre )
27 > >
28 > > Of course! Why was I searching for 'java' ... O_o
29 > >
30 > > > virtual/pkgconfig
31 > > >
32 > > > "
33 > > >
34 > > > [0] I was going to refer to ebuild(5), but it's currently not
35 > > > documented there (see bug #674932), however you can find a
36 > > > definition in the PMS at [1]. [1]
37 > > > https://projects.gentoo.org/pms/7/pms.html#x1-680008.1
38 > > >
39 > > > HTH
40 > >
41 > > Thank you Marc, I'll carry on with the emerge now.
42 >
43 > Hmm ... sadly it is not the case that I can remove all java packages
44 > thereafter. When chromium-72.0.3626.96 is emerged with the default
45 > new setting of USE="closure-compile" java seems to be necessary:
46 >
47 > # emerge --depclean -v -a sys-apps/baselayout-java
48 > app-eselect/eselect-java dev-java/java-config dev-java/icedtea-bin
49 > virtual/jdk virtual/jre dev-java/ icedtea-web
50 >
51 > Calculating dependencies... done!
52 > app-eselect/eselect-java-0.4.0 pulled in by:
53 > dev-java/icedtea-bin-3.10.0-r1 requires
54 > >=app-eselect/eselect-java-0.4.0 dev-java/icedtea-web-1.6.2 requires
55 > >>=app-eselect/eselect-java-0.2.0
56 >
57 > dev-java/icedtea-bin-3.10.0-r1 pulled in by:
58 > virtual/jdk-1.8.0-r3 requires dev-java/icedtea-bin:8
59 >
60 > dev-java/icedtea-web-1.6.2 pulled in by:
61 > dev-java/icedtea-bin-3.10.0-r1 requires
62 > >=dev-java/icedtea-web-1.6.1:0
63 >
64 > dev-java/java-config-2.2.0-r4 pulled in by:
65 > dev-java/icedtea-bin-3.10.0-r1 requires
66 > >=dev-java/java-config-2.2.0-r3 dev-java/icedtea-web-1.6.2 requires
67 > >>=dev-java/java-config-2.2.0-r3
68 >
69 > sys-apps/baselayout-java-0.1.0 pulled in by:
70 > dev-java/java-config-2.2.0-r4 requires sys-apps/baselayout-java
71 >
72 > virtual/jdk-1.8.0-r3 pulled in by:
73 > dev-java/icedtea-web-1.6.2 requires >=virtual/jdk-1.7,
74 > =virtual/jdk-1.8.0- r3
75 > virtual/jre-1.8.0-r1 requires virtual/jdk:1.8,
76 > =virtual/jdk-1.8.0-r3
77 >
78 > virtual/jre-1.8.0-r1 pulled in by:
79 > dev-java/icedtea-web-1.6.2 requires >=virtual/jre-1.7,
80 > =virtual/jre-1.8.0- r1
81 > www-client/chromium-72.0.3626.96 requires =virtual/jre-1.8.0-r1,
82 > virtual/ jre
83 >
84 > >>> No packages selected for removal by depclean
85 > Packages installed: 1231
86 > Packages in world: 111
87 > Packages in system: 43
88 > Required packages: 1231
89 > Number removed: 0
90 >
91 > Am I interpreting the above output correctly?
92 >
93
94 That's because depclean sets --with-bdeps=y by default, i.e. build
95 dependencies are considered to be crucial to the system. If you update
96 your depclean command and add the flag --with-bdeps=n it should allow
97 you to unmerge java again.
98
99 Cheers
100 Andreas

Replies

Subject Author
Re: [gentoo-user] chromium-72.0.3626.96 and Java Mick <michaelkintzios@×××××.com>