#1011135 netty: FTBFS with OpenJDK 17 due to removed constants in sun.security.x509.AlgorithmId

Package:
src:netty
Source:
netty
Submitter:
Emmanuel Bourg
Date:
2022-05-26 05:39:03 UTC
Severity:
important
Tags:
#1011135#5
Date:
2022-05-17 12:04:18 UTC
From:
To:
netty fails to build with Java 17, it uses a constant from an internal class that was removed:

  [INFO] -------------------------------------------------------------
  [ERROR] COMPILATION ERROR :
  [INFO] -------------------------------------------------------------
  [ERROR] /<<PKGBUILDDIR>>/handler/src/main/java/io/netty/handler/ssl/util/OpenJdkSelfSignedCertGenerator.java:[69,70] error: cannot find symbol
    symbol:   variable sha256WithRSAEncryption_oid
    location: class AlgorithmId
  [INFO] 1 error
  [INFO] -------------------------------------------------------------

#1011135#10
Date:
2022-05-23 14:06:02 UTC
From:
To:
This use was removed from the upstream sources in release 4.1.52 and
later, so this can be resolved with an upstream version update.

https://github.com/netty/netty/commit/bb184794341255cf02f9b7156c5ad828b172fdab

#1011135#15
Date:
2022-05-26 05:19:43 UTC
From:
To:
Hello,

Bug #1011135 in netty 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/netty/-/commit/d3ff8bf60848a832cbee17249bc56b0cb271aee4

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1011135

#1011135#22
Date:
2022-05-26 05:21:37 UTC
From:
To:
The packaging work on 4.1.77 is still underway, so I went ahead applied
a patch from this commit to address the FTBFS.

#1011135#27
Date:
2022-05-26 05:34:26 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
netty, 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 1011135@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 netty 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 22:09:22 -0700
Source: netty
Architecture: source
Version: 1:4.1.48-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: tony mancill <tmancill@debian.org>
Closes: 1011135
Changes:
 netty (1:4.1.48-5) unstable; urgency=medium
 .
   * Team upload.
   * Fix FTBFS on Java 17 (Closes: #1011135)
Checksums-Sha1:
 89883fb6fd1ccd6fbd7b95d7a1e874ba960fabb4 2468 netty_4.1.48-5.dsc
 67191b2f9243ca1fdc2ba29615fb88f45d4c2bdb 24544 netty_4.1.48-5.debian.tar.xz
 0c50fab9d47515705b9a189d6295b3ccb171df72 15225 netty_4.1.48-5_amd64.buildinfo
Checksums-Sha256:
 4444d3e6f19a70e26ddff3be94897ab75b499d7562eb4634a56d012c044fee59 2468 netty_4.1.48-5.dsc
 58ab595ae8de033ff4f79105c5aef106a39effb5b4cfa6b9faae20892a094254 24544 netty_4.1.48-5.debian.tar.xz
 1743a82677b09afb989f740c675bdcf7f59f2c3afad8c023749c986b6434ec92 15225 netty_4.1.48-5_amd64.buildinfo
Files:
 1e1994f053ed6c7d9bc471a7255fbfc6 2468 java optional netty_4.1.48-5.dsc
 22e927f2cd658537107b8ed98727260b 24544 java optional netty_4.1.48-5.debian.tar.xz
 90b7854eeaeb429a12a7cc4cf5f7d397 15225 java optional netty_4.1.48-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmKPDbMUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpaF/w//XVi8XfzpCA0nXCp2guLjkAuTb6Fq
/Q+U05S2rxnDPt9NU2Sol4DCTl7XXuFnmkV84vFjEPnp+MG+tgWvk3zCxH/y5hXj
nNmuIYY0ZuHXA+U9yv0W9EfPvYQudLvHlxGLALYjMrVs1LLwVzTaQznqKvdO1vVq
5MDBpcl0KwNTWRfEWOtypyXFEIYEcjKjU3U2BxWP62scFY0bqSSVxrNfTOLNM+Wl
l/ZMVtu85Ces+1ZAsi9GsiIX1mMJpJrNkUrWK7rmqxFonsyHjRG9MMG8Opuijhns
Kn0u9mzo/nkYxcDeXWlJdxaNysBds3ML33fTEgz70bj5HveidKCBtMelSxjmGetc
c7QN0WKvL/RcDOjXkt3DE8fpER8YSZJcG99Yf6UyApxyvlYfCU+2muzBaUF3RjF6
bpwTzLdSvRchuNtUcohxm3VVCgQVDbocwombfs4lh8VSF5fdh9wo3MrFulbjKICH
DADFehkGe6VfGJPSPl51xi2j0reDzZtGDoLTC3CO38BzNsSegvUHuspr6LI3AIgO
hX5LSvYKygDK/1a5BemkXyVM09cdA7/3e0k3MIEOAd4c1DHvYI6C+A5rgYOf1a3F
oyZIDLgeFYotVKesk+G5w+GwFPCEstp5SBOy36CzE2td3uK7rmsXH6//+hMW6EOe
LAXemBZOjV9zBF0=
=4EYh
-----END PGP SIGNATURE-----