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

Reply via email to