From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6BACA158086 for ; Sat, 27 Nov 2021 15:58:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C9F92BC049; Sat, 27 Nov 2021 15:58:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C65D12BC01D for ; Sat, 27 Nov 2021 15:58:25 +0000 (UTC) Content-Type: multipart/signed; boundary="Apple-Mail=_9B431785-B409-4CAE-8983-C7FB49934240"; protocol="application/pgp-signature"; micalg=pgp-sha512 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) Subject: Re: [gentoo-dev] rfc: java-vm-2.eclass eapi 8 support From: Sam James In-Reply-To: <834aac5f-6918-fa73-4a64-d42ba4970864@gentoo.org> Date: Sat, 27 Nov 2021 15:58:16 +0000 Cc: java@gentoo.org Message-Id: <3C686CDD-89BA-493D-A7C8-571ECB870941@gentoo.org> References: <834aac5f-6918-fa73-4a64-d42ba4970864@gentoo.org> To: gentoo-dev@lists.gentoo.org X-Mailer: Apple Mail (2.3693.20.0.1.32) X-Archives-Salt: b04a5d0e-4caf-4b4d-be7a-9444c95765bc X-Archives-Hash: ee45c34c24e188e567f69867e98543cf --Apple-Mail=_9B431785-B409-4CAE-8983-C7FB49934240 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 27 Nov 2021, at 09:54, Miroslav =C5=A0ulc = wrote: >=20 > hello devs, >=20 > please find attached patch for upgrade of java-vm-2.eclass to support = eapi 8. eapi 5 is not used by any package inheriting this eclass so i = dropped it. >=20 > i also attach update of the ebuilds of packages that use this eclass = and can be updated to eapi 8 (dev-java/icedtea can't atm, it also = inherits another java eclass that does not support eapi 8 yet, and = dev-java/gcj-jdk is masked in profiles/releases/17.0/package.mask). all = works fine except dev-java/openjdk (all slots) where the configuration = phase fails or does not finish correctly. all those packages merge fine = with eapi 6 (in-tree ebuilds). >=20 > openjdk:8 - configuration finishes but no configuration file is = created (and hence compilation fails) as during the configuration phase = it complains with this: > configure: error: Could not find freetype! >=20 > openjdk:11 and openjdk:17 - configuration fails with this error (i was = told by sam it is a known bug): > configure: error: unrecognized options: --disable-static >=20 When b.g.o is back, let's make sure we update the existing bug about it = / file a new one. > i'd like to merge the patches asap (except the broken openjdk) so = please let me know if you find anything that could be improved or all's = ok. >=20 lgtm. I'd send with git send-email in future to ease review. I don't see a point in nitpicking the Java eclasses right now, = especially as we might be looking at future improvements anyway for how = we handle deps. Thanks for doing this! Best, sam --Apple-Mail=_9B431785-B409-4CAE-8983-C7FB49934240 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEYOpPv/uDUzOcqtTy9JIoEO6gSDsFAmGiVZhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYw RUE0RkJGRkI4MzUzMzM5Q0FBRDRGMkY0OTIyODEwRUVBMDQ4M0IACgkQ9JIoEO6g SDtXDgf8DjcKVOrPKgX6dWsXN4R4r8Qc5kUobu00tIkIJdSPS8c/2xSHV7kdkuKb 6kYUXVsa94jIwX567BascrBBDytt3Wwp/GYJyvvDHO/NAKm7RHLCJ3a4IhzINiT9 Zsnpey7nQ7VCSDQCCaBcNywPUv60U99miulqqMM6duOrrifh2PqWZKdNC5rV60mp inACfaqlr6m9tu1AFxYM8KQfPZXllmlTsBzLw8jf5Dze8nbjgbzjcwUGnFU5na7f xbZqT0/3H9uUyJZ/xpQlHMfhUEII4PsFJYXcBp1TMQL3REcQG+mnI8EFnlWtxB1s +nJTB1/T7o6hBgVMPGUA54UxoVOtXA== =SbVh -----END PGP SIGNATURE----- --Apple-Mail=_9B431785-B409-4CAE-8983-C7FB49934240--