Source: netty Version: 1:4.1.48-7 Severity: important Tags: ftbfs User: debian-j...@lists.debian.org Usertags: default-java21 X-Debbugs-Cc: vladimir.pe...@canonical.com
Dear Maintainers, The package netty ftbfs with default Java 21. The relevant part of the build log: --------------- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project netty-handler: Compilation failure: Compilation failure: [ERROR] /<<PKGBUILDDIR>>/handler/src/main/java/io/netty/handler/ssl/util/OpenJdkSelfSignedCertGenerator.java:[22,24] error: cannot find symbol [ERROR] symbol: class CertificateIssuerName [ERROR] location: package sun.security.x509 [ERROR] /<<PKGBUILDDIR>>/handler/src/main/java/io/netty/handler/ssl/util/OpenJdkSelfSignedCertGenerator.java:[54,12] error: cannot find symbol [ERROR] symbol: method set(String,CertificateVersion) [ERROR] location: variable info of type X509CertInfo [ERROR] /<<PKGBUILDDIR>>/handler/src/main/java/io/netty/handler/ssl/util/OpenJdkSelfSignedCertGenerator.java:[55,12] error: cannot find symbol [ERROR] symbol: method set(String,CertificateSerialNumber) [ERROR] location: variable info of type X509CertInfo [ERROR] /<<PKGBUILDDIR>>/handler/src/main/java/io/netty/handler/ssl/util/OpenJdkSelfSignedCertGenerator.java:[57,16] error: cannot find symbol [ERROR] symbol: method set(String,CertificateSubjectName) [ERROR] location: variable info of type X509CertInfo [ERROR] /<<PKGBUILDDIR>>/handler/src/main/java/io/netty/handler/ssl/util/OpenJdkSelfSignedCertGenerator.java:[59,16] error: cannot find symbol [ERROR] symbol: method set(String,X500Name) [ERROR] location: variable info of type X509CertInfo [ERROR] /<<PKGBUILDDIR>>/handler/src/main/java/io/netty/handler/ssl/util/OpenJdkSelfSignedCertGenerator.java:[62,46] error: cannot find symbol [ERROR] symbol: class CertificateIssuerName [ERROR] location: class OpenJdkSelfSignedCertGenerator [ERROR] /<<PKGBUILDDIR>>/handler/src/main/java/io/netty/handler/ssl/util/OpenJdkSelfSignedCertGenerator.java:[64,16] error: cannot find symbol [ERROR] symbol: method set(String,X500Name) [ERROR] location: variable info of type X509CertInfo [ERROR] /<<PKGBUILDDIR>>/handler/src/main/java/io/netty/handler/ssl/util/OpenJdkSelfSignedCertGenerator.java:[66,12] error: cannot find symbol [ERROR] symbol: method set(String,CertificateValidity) [ERROR] location: variable info of type X509CertInfo [ERROR] /<<PKGBUILDDIR>>/handler/src/main/java/io/netty/handler/ssl/util/OpenJdkSelfSignedCertGenerator.java:[67,12] error: cannot find symbol [ERROR] symbol: method set(String,CertificateX509Key) [ERROR] location: variable info of type X509CertInfo [ERROR] /<<PKGBUILDDIR>>/handler/src/main/java/io/netty/handler/ssl/util/OpenJdkSelfSignedCertGenerator.java:[68,12] error: cannot find symbol [ERROR] symbol: method set(String,CertificateAlgorithmId) [ERROR] location: variable info of type X509CertInfo [ERROR] /<<PKGBUILDDIR>>/handler/src/main/java/io/netty/handler/ssl/util/OpenJdkSelfSignedCertGenerator.java:[73,28] error: no suitable constructor found for X509CertImpl(X509CertInfo) [ERROR] constructor X509CertImpl.X509CertImpl(byte[]) is not applicable [ERROR] (argument mismatch; X509CertInfo cannot be converted to byte[]) [ERROR] constructor X509CertImpl.X509CertImpl(DerValue) is not applicable [ERROR] (argument mismatch; X509CertInfo cannot be converted to DerValue) [ERROR] constructor X509CertImpl.X509CertImpl(InputStream) is not applicable [ERROR] (argument mismatch; X509CertInfo cannot be converted to InputStream) [ERROR] /<<PKGBUILDDIR>>/handler/src/main/java/io/netty/handler/ssl/util/OpenJdkSelfSignedCertGenerator.java:[74,12] error: cannot find symbol [ERROR] symbol: method sign(PrivateKey,String) [ERROR] location: variable cert of type X509CertImpl [ERROR] /<<PKGBUILDDIR>>/handler/src/main/java/io/netty/handler/ssl/util/OpenJdkSelfSignedCertGenerator.java:[77,75] error: cannot find symbol [ERROR] symbol: variable ALGORITHM [ERROR] location: class CertificateAlgorithmId [ERROR] /<<PKGBUILDDIR>>/handler/src/main/java/io/netty/handler/ssl/util/OpenJdkSelfSignedCertGenerator.java:[77,108] error: cannot find symbol [ERROR] symbol: variable SIG_ALG [ERROR] location: class X509CertImpl [ERROR] /<<PKGBUILDDIR>>/handler/src/main/java/io/netty/handler/ssl/util/OpenJdkSelfSignedCertGenerator.java:[78,15] error: no suitable constructor found for X509CertImpl(X509CertInfo) [ERROR] constructor X509CertImpl.X509CertImpl(byte[]) is not applicable [ERROR] (argument mismatch; X509CertInfo cannot be converted to byte[]) [ERROR] constructor X509CertImpl.X509CertImpl(DerValue) is not applicable [ERROR] (argument mismatch; X509CertInfo cannot be converted to DerValue) [ERROR] constructor X509CertImpl.X509CertImpl(InputStream) is not applicable [ERROR] (argument mismatch; X509CertInfo cannot be converted to InputStream) [ERROR] /<<PKGBUILDDIR>>/handler/src/main/java/io/netty/handler/ssl/util/OpenJdkSelfSignedCertGenerator.java:[79,12] error: cannot find symbol [ERROR] symbol: method sign(PrivateKey,String) [ERROR] location: variable cert of type X509CertImpl [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :netty-handler [0m[0mdh_auto_build: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package "-Dbuild.date=2023-05-03 06:52:31" -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1 make[1]: *** [debian/rules:13: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:7: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------- -- System Information: Debian Release: bookworm/sid APT prefers lunar-updates APT policy: (500, 'lunar-updates'), (500, 'lunar-security'), (500, 'lunar'), (100, 'lunar-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.2.0-33-generic (SMP w/32 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled