1 |
On Thu, 2021-04-15 at 17:21 +0200, Miroslav Šulc wrote:
|
2 |
> Dne 15. 04. 21 v 16:34 Joakim Tjernlund napsal(a): |
3 |
> > On Wed, 2021-04-14 at 09:45 +0200, Miroslav Šulc wrote: |
4 |
> > > in case the package does not work with java > 1.8 (still, i suggest we |
5 |
> > > first try to resolve the issue before we use this restriction as it |
6 |
> > > might cause some issues in the future) |
7 |
> > > virtual/jdk:1.8 |
8 |
> > > virtual/jre:1.8 |
9 |
> > |
10 |
> > This does not seem to be enforced by java eclasses. Example dev-java/icedtea-web has |
11 |
> > BDEPEND=virtual/jdk:1.8 but building icedtea-web with openjdk:11 as system default will |
12 |
> > try to build with java-11 and the build will fail. |
13 |
> not sure about BDEPEND but it should be enforced for DEPEND and RDEPEND. |
14 |
> regular java apps use classes from jre (java runtime engine) and so they |
15 |
> must have the dep both in DEPEND and RDEPEND, not BDEPEND. wrt this |
16 |
> icedtea-web issue, this should be filed as a bug. thank you for |
17 |
> mentioning this. |
18 |
|
19 |
Don't think it is so simple, even if I add virtual/jdk:1.8 to DEPEND and changed
|
20 |
RDEPEND to virtual/jdk:1.8 it still fails.
|
21 |
|
22 |
|
23 |
> > Jocke |
24 |
> |
25 |
> fordfrog |
26 |
> |
27 |
> |