#1011536 apiguardian: FTBFS with OpenJDK 17 due to JDK detection error

Package:
src:apiguardian
Source:
apiguardian
Submitter:
Emmanuel Bourg
Date:
2022-05-26 04:51:03 UTC
Severity:
important
Tags:
#1011536#5
Date:
2022-05-24 17:28:38 UTC
From:
To:
apiguardian fails to build with OpenJDK 17, it requires OpenJDK 11 but the check can probably be bypassed:


  FAILURE: Build failed with an exception.

  * Where:
  Settings file '/<<PKGBUILDDIR>>/settings.gradle' line: 6

  * What went wrong:
  A problem occurred evaluating settings 'apiguardian-api'.
  > The @API Guardian build requires Java 11. Currently executing with Java 12.

  * Try:
  Run with --debug option to get more log output. Run with --scan to get full insights.

#1011536#10
Date:
2022-05-26 04:32:02 UTC
From:
To:
Hello,

Bug #1011536 in apiguardian reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/java-team/apiguardian/-/commit/5e45ef3b68f515552db6df5d69e61dbbc67e7e29

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1011536

#1011536#17
Date:
2022-05-26 04:48:48 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
apiguardian, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1011536@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
tony mancill <tmancill@debian.org> (supplier of updated apiguardian package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 25 May 2022 20:22:50 -0700
Source: apiguardian
Architecture: source
Version: 1.1.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: tony mancill <tmancill@debian.org>
Closes: 1011536
Changes:
 apiguardian (1.1.0-4) unstable; urgency=medium
 .
   * Team upload.
   * Patch build system JDK detection for Java > 11 (Closes: #1011536)
   * Bump Standards-Version to 4.6.1
Checksums-Sha1:
 ba195d0937a5458bc930aff562d72b7b6aff01ce 2049 apiguardian_1.1.0-4.dsc
 3ab747094f8e02070b5081812174fc04d67516d1 2868 apiguardian_1.1.0-4.debian.tar.xz
 a1dfea6566a093d4c9cde8402f39a506bd8f091b 13063 apiguardian_1.1.0-4_amd64.buildinfo
Checksums-Sha256:
 3ba3ec150e53a336537e60901ebd1c86d217ef38aead51cc8a125da3eda1b837 2049 apiguardian_1.1.0-4.dsc
 7179a622648398a41684a2ee3b68106799d7abe34111cb23ace0670159789afe 2868 apiguardian_1.1.0-4.debian.tar.xz
 040603df71423702dccaec273713e995589f2f56d9bbe37791170776935d1fc7 13063 apiguardian_1.1.0-4_amd64.buildinfo
Files:
 e3f12f0ba3b0e6b9e65d24e1ed9d47ec 2049 java optional apiguardian_1.1.0-4.dsc
 4323daff0cb70edf2dd57c42d3214d9f 2868 java optional apiguardian_1.1.0-4.debian.tar.xz
 89f0843e34cc5efd781343cbeb8702ee 13063 java optional apiguardian_1.1.0-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmKPApAUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpYCrg//d6k1pdBsAhF/C+8yAtfmIuUEMKMP
BB2j5pK2b1MwGZ+NpdzPCgoU0dtZW+H5V7H3durOUZhnGdS++xUdlRb0132TphPS
8FXkKWCYpLeR4Q0CX1JwvVA5eCBKNqMbHbtwDriok2wUYNZIB0ErK+WjO/3tK2vs
2f6J+oCC1KkN/rPgKTu2l94llZFvNrAZKB6LZ4gF03JoWTxNg2CAGT9O4C6ZYmEy
tJpffkll/vjZp+eYzI2NMrgAcS/OKJcp+5E8g1qRGmotfwR4HNddlTR7cmCukH/c
NFLzsksuy27Mv16zLNgQPeP8CpEt6wi1uol70RsYdbc0Kmlm0HFED7oh+WmOOmGR
rYtvbC5x/tWrAPy43nyzM6VZOVMeCUqq0usiMlp6ObZckYjw8nfsrHtYP2zaP4Yg
G7P2qsvHLGzhjtHdr9nmfRlYjDLzdTkODIL5cXOgoyi02eK4xnoFppPayJOEfpKf
S9VtP0oVzHFm6l/g5FjnD4trCCfT6hK66AxF2BcZFXUE7kUeMHHsumEig9pIoJjY
Qn45je3tcMVwYDKkQG3keibCPLJC4D4T9a1dUfAXmYlGyvGLpX9m/WOlx//e4SjF
YZcDBpOwpZUL+/MenxrqbIaQBZZUINql2siFZUNTjnT9hIzWy1mO+Ug6xsoTouCO
sSp+htRpV6ZL5Lk=
=/kDD
-----END PGP SIGNATURE-----