Gentoo Archives: gentoo-dev

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] unmasking java 11 on gentoo (for those that maintain packages where java is involved, either directly or conditionally)
Date: Thu, 15 Apr 2021 15:21:29
Message-Id: a09c2713-6a73-27c4-6be4-9010a4d83da6@gentoo.org
In Reply to: Re: [gentoo-dev] unmasking java 11 on gentoo (for those that maintain packages where java is involved, either directly or conditionally) by Joakim Tjernlund
1 Dne 15. 04. 21 v 16:34 Joakim Tjernlund napsal(a):
2 > On Wed, 2021-04-14 at 09:45 +0200, Miroslav Šulc wrote:
3 >> in case the package does not work with java > 1.8 (still, i suggest we
4 >> first try to resolve the issue before we use this restriction as it
5 >> might cause some issues in the future)
6 >> virtual/jdk:1.8
7 >> virtual/jre:1.8
8 >
9 > This does not seem to be enforced by java eclasses. Example dev-java/icedtea-web has
10 > BDEPEND=virtual/jdk:1.8 but building icedtea-web with openjdk:11 as system default will
11 > try to build with java-11 and the build will fail.
12 not sure about BDEPEND but it should be enforced for DEPEND and RDEPEND.
13 regular java apps use classes from jre (java runtime engine) and so they
14 must have the dep both in DEPEND and RDEPEND, not BDEPEND. wrt this
15 icedtea-web issue, this should be filed as a bug. thank you for
16 mentioning this.
17 > Jocke
18
19 fordfrog

Replies