Bug#1095340: dnssecjava: FTBFS: incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
Santiago Vila
sanvila at debian.org
Fri Feb 7 12:11:22 GMT 2025
Package: src:dnssecjava
Version: 1.1.3-3
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_auto_clean
bash -c "for dir in \$(find . -name target -type d); do if [ -f \$(echo \$dir | sed -e s/target\$/pom.xml/) ]; then rm -Rf \$dir; fi done"
mh_unpatchpoms -plibdnssecjava-java
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
mh_patchpoms -plibdnssecjava-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
dh_auto_build
/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 javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
[INFO] Scanning for projects...
[INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-resources-plugin
[INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-install-plugin
[INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-deploy-plugin
[WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.12.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.12.1: Plugin org.apache.maven.plugins:maven-site-plugin:3.12.1 or one of its dependencies could not be resolved:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-site-plugin:jar:3.12.1 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:3.1.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:3.1.0: Plugin org.apache.maven.plugins:maven-antrun-plugin:3.1.0 or one of its dependencies could not be resolved:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-antrun-plugin:jar:3.1.0 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:3.7.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:3.7.1: Plugin org.apache.maven.plugins:maven-assembly-plugin:3.7.1 or one of its dependencies could not be resolved:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-assembly-plugin:jar:3.7.1 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:3.7.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:3.7.0: Plugin org.apache.maven.plugins:maven-dependency-plugin:3.7.0 or one of its dependencies could not be resolved:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-dependency-plugin:jar:3.7.0 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:3.0.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:3.0.1: Plugin org.apache.maven.plugins:maven-release-plugin:3.0.1 or one of its dependencies could not be resolved:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-release-plugin:jar:3.0.1 has not been downloaded from it before.
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 has not been downloaded from it before.
[INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-javadoc-plugin
[WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.12.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.12.1: Plugin org.apache.maven.plugins:maven-site-plugin:3.12.1 or one of its dependencies could not be resolved:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-site-plugin:jar:3.12.1 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:3.1.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:3.1.0: Plugin org.apache.maven.plugins:maven-antrun-plugin:3.1.0 or one of its dependencies could not be resolved:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-antrun-plugin:jar:3.1.0 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:3.7.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:3.7.1: Plugin org.apache.maven.plugins:maven-assembly-plugin:3.7.1 or one of its dependencies could not be resolved:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-assembly-plugin:jar:3.7.1 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:3.7.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:3.7.0: Plugin org.apache.maven.plugins:maven-dependency-plugin:3.7.0 or one of its dependencies could not be resolved:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-dependency-plugin:jar:3.7.0 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:3.0.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:3.0.1: Plugin org.apache.maven.plugins:maven-release-plugin:3.0.1 or one of its dependencies could not be resolved:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-release-plugin:jar:3.0.1 has not been downloaded from it before.
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 has not been downloaded from it before.
[INFO]
[INFO] ------------------------< org.jitsi:dnssecjava >------------------------
[INFO] Building dnssecjava 1.1.3
[INFO] from pom.xml
[INFO] -------------------------------[ bundle ]-------------------------------
[WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.12.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.12.1: Plugin org.apache.maven.plugins:maven-site-plugin:3.12.1 or one of its dependencies could not be resolved:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-site-plugin:jar:3.12.1 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:3.1.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:3.1.0: Plugin org.apache.maven.plugins:maven-antrun-plugin:3.1.0 or one of its dependencies could not be resolved:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-antrun-plugin:jar:3.1.0 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:3.7.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:3.7.1: Plugin org.apache.maven.plugins:maven-assembly-plugin:3.7.1 or one of its dependencies could not be resolved:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-assembly-plugin:jar:3.7.1 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:3.7.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:3.7.0: Plugin org.apache.maven.plugins:maven-dependency-plugin:3.7.0 or one of its dependencies could not be resolved:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-dependency-plugin:jar:3.7.0 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:3.0.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:3.0.1: Plugin org.apache.maven.plugins:maven-release-plugin:3.0.1 or one of its dependencies could not be resolved:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-release-plugin:jar:3.0.1 has not been downloaded from it before.
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 has not been downloaded from it before.
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ dnssecjava ---
[INFO] Copying 1 resource from src/main/resources to target/classes
[INFO]
[INFO] --- compiler:3.13.0:compile (default-compile) @ dnssecjava ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 15 source files with javac [debug target 1.6] to target/classes
Use of target 1.6 is no longer supported, switching to 8
Use of source 1.6 is no longer supported, switching to 8
[INFO] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValUtils.java: Some input files use or override a deprecated API.
[INFO] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValUtils.java: Recompile with -Xlint:deprecation for details.
[INFO] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValidatingResolver.java: /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValidatingResolver.java uses unchecked or unsafe operations.
[INFO] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValidatingResolver.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] bootstrap class path not set in conjunction with -source 8
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[INFO] 4 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/SRRset.java:[75,35] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/SRRset.java:[79,36] incompatible types: java.util.List<org.xbill.DNS.RRSIGRecord> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/SRRset.java:[110,32] incompatible types: java.util.List<org.xbill.DNS.RRSIGRecord> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/TrustAnchorStore.java:[83,39] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/TrustAnchorStore.java:[97,43] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/NSEC3ValUtils.java:[381,49] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/DnsSecVerifier.java:[87,45] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/DnsSecVerifier.java:[155,35] incompatible types: java.util.List<org.xbill.DNS.RRSIGRecord> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/DnsSecVerifier.java:[183,35] incompatible types: java.util.List<org.xbill.DNS.RRSIGRecord> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValUtils.java:[199,41] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValUtils.java:[205,57] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValUtils.java:[264,45] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValUtils.java:[275,49] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValUtils.java:[717,31] cannot find symbol
symbol: method hasNext()
location: interface java.util.List<org.xbill.DNS.RRSIGRecord>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValUtils.java:[769,37] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValUtils.java:[817,37] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValidatingResolver.java:[86,8] org.jitsi.dnssec.validator.ValidatingResolver is not abstract and does not override abstract method setTimeout(java.time.Duration) in org.xbill.DNS.Resolver
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValidatingResolver.java:[135,21] reference to setEDNS is ambiguous
both method setEDNS(int,int,int,java.util.List<org.xbill.DNS.EDNSOption>) in org.xbill.DNS.Resolver and method setEDNS(int,int,int,org.xbill.DNS.EDNSOption...) in org.xbill.DNS.Resolver match
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValidatingResolver.java:[1231,66] cannot find symbol
symbol: variable length
location: interface java.util.List<org.xbill.DNS.RRset>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/SMessage.java:[114,48] incompatible types: java.util.List<org.xbill.DNS.RRset> cannot be converted to org.xbill.DNS.RRset[]
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/SMessage.java:[295,47] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/SMessage.java:[299,48] incompatible types: java.util.List<org.xbill.DNS.RRSIGRecord> cannot be converted to java.util.Iterator<?>
[INFO] 22 errors
[INFO] -------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping dnssecjava
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.497 s
[INFO] Finished at: 2025-02-07T11:22:09Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project dnssecjava: Compilation failure: Compilation failure:
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/SRRset.java:[75,35] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/SRRset.java:[79,36] incompatible types: java.util.List<org.xbill.DNS.RRSIGRecord> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/SRRset.java:[110,32] incompatible types: java.util.List<org.xbill.DNS.RRSIGRecord> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/TrustAnchorStore.java:[83,39] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/TrustAnchorStore.java:[97,43] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/NSEC3ValUtils.java:[381,49] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/DnsSecVerifier.java:[87,45] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/DnsSecVerifier.java:[155,35] incompatible types: java.util.List<org.xbill.DNS.RRSIGRecord> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/DnsSecVerifier.java:[183,35] incompatible types: java.util.List<org.xbill.DNS.RRSIGRecord> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValUtils.java:[199,41] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValUtils.java:[205,57] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValUtils.java:[264,45] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValUtils.java:[275,49] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValUtils.java:[717,31] cannot find symbol
[ERROR] symbol: method hasNext()
[ERROR] location: interface java.util.List<org.xbill.DNS.RRSIGRecord>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValUtils.java:[769,37] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValUtils.java:[817,37] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValidatingResolver.java:[86,8] org.jitsi.dnssec.validator.ValidatingResolver is not abstract and does not override abstract method setTimeout(java.time.Duration) in org.xbill.DNS.Resolver
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValidatingResolver.java:[135,21] reference to setEDNS is ambiguous
[ERROR] both method setEDNS(int,int,int,java.util.List<org.xbill.DNS.EDNSOption>) in org.xbill.DNS.Resolver and method setEDNS(int,int,int,org.xbill.DNS.EDNSOption...) in org.xbill.DNS.Resolver match
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/validator/ValidatingResolver.java:[1231,66] cannot find symbol
[ERROR] symbol: variable length
[ERROR] location: interface java.util.List<org.xbill.DNS.RRset>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/SMessage.java:[114,48] incompatible types: java.util.List<org.xbill.DNS.RRset> cannot be converted to org.xbill.DNS.RRset[]
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/SMessage.java:[295,47] incompatible types: java.util.List<org.xbill.DNS.Record> cannot be converted to java.util.Iterator<?>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jitsi/dnssec/SMessage.java:[299,48] incompatible types: java.util.List<org.xbill.DNS.RRSIGRecord> cannot be converted to java.util.Iterator<?>
[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
dh_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 javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202502/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:dnssecjava, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the pkg-java-maintainers
mailing list