Package: src:jdeb
Version: 1.10-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
mh_patchpoms -plibjdeb-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 -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]
[INFO] ---------------------------< org.vafer:jdeb >---------------------------
[INFO] Building jdeb 1.10
[INFO] from pom.xml
[INFO] ----------------------------[ maven-plugin ]----------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ jdeb ---
[INFO] Copying 2 resources from src/main/resources to target/classes
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:compile (default-compile) @ jdeb ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 51 source files with javac [debug target 1.8] to target/classes
[INFO] Annotation processing is enabled because one or more processors were
found
on the class path. A future release of javac may disable annotation processing
unless at least one processor is specified by name (-processor), or a search
path is specified (--processor-path, --processor-module-path), or annotation
processing is enabled explicitly (-proc:only, -proc:full).
Use -Xlint:-options to suppress this message.
Use -proc:none to disable annotation processing.
[INFO] /<<PKGBUILDDIR>>/src/main/java/org/vafer/jdeb/signing/PGPSigner.java:
Some input files use or override a deprecated API.
[INFO] /<<PKGBUILDDIR>>/src/main/java/org/vafer/jdeb/signing/PGPSigner.java:
Recompile with -Xlint:deprecation for details.
[INFO] /<<PKGBUILDDIR>>/src/main/java/org/vafer/jdeb/maven/DebMojo.java:
/<<PKGBUILDDIR>>/src/main/java/org/vafer/jdeb/maven/DebMojo.java uses unchecked or unsafe
operations.
[INFO] /<<PKGBUILDDIR>>/src/main/java/org/vafer/jdeb/maven/DebMojo.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/vafer/jdeb/DataBuilder.java:[65,42]
reference to getZipEncoding is ambiguous
both method getZipEncoding(java.nio.charset.Charset) in
org.apache.commons.compress.archivers.zip.ZipEncodingHelper and method
getZipEncoding(java.lang.String) in
org.apache.commons.compress.archivers.zip.ZipEncodingHelper match
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.840 s
[INFO] Finished at: 2024-10-29T09:17:01Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile)
on project jdeb: Compilation failure
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/vafer/jdeb/DataBuilder.java:[65,42]
reference to getZipEncoding is ambiguous
[ERROR] both method getZipEncoding(java.nio.charset.Charset) in
org.apache.commons.compress.archivers.zip.ZipEncodingHelper and method
getZipEncoding(java.lang.String) in
org.apache.commons.compress.archivers.zip.ZipEncodingHelper match
[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 -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make: *** [debian/rules:6: 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/202410/
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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.