Gentoo Archives: gentoo-dev

From: "Miroslav Ć ulc" <fordfrog@g.o>
To: "gentoo-dev@l.g.o" <gentoo-dev@l.g.o>, java@g.o
Subject: [gentoo-dev] rfc: java-vm-2.eclass eapi 8 support
Date: Sat, 27 Nov 2021 09:54:46
Message-Id: 834aac5f-6918-fa73-4a64-d42ba4970864@gentoo.org
1 hello devs,
2
3 please find attached patch for upgrade of java-vm-2.eclass to support
4 eapi 8. eapi 5 is not used by any package inheriting this eclass so i
5 dropped it.
6
7 i also attach update of the ebuilds of packages that use this eclass and
8 can be updated to eapi 8 (dev-java/icedtea can't atm, it also inherits
9 another java eclass that does not support eapi 8 yet, and
10 dev-java/gcj-jdk is masked in profiles/releases/17.0/package.mask). all
11 works fine except dev-java/openjdk (all slots) where the configuration
12 phase fails or does not finish correctly. all those packages merge fine
13 with eapi 6 (in-tree ebuilds).
14
15 openjdk:8 - configuration finishes but no configuration file is created
16 (and hence compilation fails) as during the configuration phase it
17 complains with this:
18 configure: error: Could not find freetype!
19
20 openjdk:11 and openjdk:17 - configuration fails with this error (i was
21 told by sam it is a known bug):
22 configure: error: unrecognized options: --disable-static
23
24 i'd like to merge the patches asap (except the broken openjdk) so please
25 let me know if you find anything that could be improved or all's ok.
26
27 thanks
28
29 fordfrog

Attachments

File name MIME type
java-vm-2.eclass-eapi8.patch text/x-patch
java-vm-2-ebuilds-eapi8.patch text/x-patch

Replies

Subject Author
Re: [gentoo-dev] rfc: java-vm-2.eclass eapi 8 support Sam James <sam@g.o>