Package: src:plexus-archiver
Version: 3.6.0-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep
dh_update_autotools_config -i
dh_autoreconf -i
dh_auto_configure -i
mh_patchpoms -plibplexus-archiver-java --debian-build
--keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
dh_auto_build -i
/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
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
com.google.inject.internal.cglib.core.$ReflectUtils$1
(file:/usr/share/maven/lib/guice.jar) to method
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of
com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< org.codehaus.plexus:plexus-archiver >-----------------
[INFO] Building Plexus Archiver Component 3.6.0
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The artifact org.codehaus.plexus:plexus-container-default:jar:1.5.5
has been relocated to org.codehaus.plexus:plexus-container-default:jar:debian
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @
plexus-archiver ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @
plexus-archiver ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 100 source files to /<<PKGBUILDDIR>>/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/<<PKGBUILDDIR>>/src/main/java/org/codehaus/plexus/archiver/jar/JarToolModularJarArchiver.java:[81,46]
multi-catch statements are not supported in -source 6
(use -source 7 or higher to enable multi-catch statements)
[ERROR]
/<<PKGBUILDDIR>>/src/main/java/org/codehaus/plexus/archiver/jar/JarToolModularJarArchiver.java:[207,43]
diamond operator is not supported in -source 6
(use -source 7 or higher to enable diamond operator)
[ERROR]
/<<PKGBUILDDIR>>/src/main/java/org/codehaus/plexus/archiver/jar/JarArchiver.java:[487,21]
try-with-resources is not supported in -source 6
(use -source 7 or higher to enable try-with-resources)
[INFO] 3 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.578 s
[INFO] Finished at: 2018-08-16T17:56:20Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile)
on project plexus-archiver: Compilation failure: Compilation failure:
[ERROR]
/<<PKGBUILDDIR>>/src/main/java/org/codehaus/plexus/archiver/jar/JarToolModularJarArchiver.java:[81,46]
multi-catch statements are not supported in -source 6
[ERROR] (use -source 7 or higher to enable multi-catch statements)
[ERROR]
/<<PKGBUILDDIR>>/src/main/java/org/codehaus/plexus/archiver/jar/JarToolModularJarArchiver.java:[207,43]
diamond operator is not supported in -source 6
[ERROR] (use -source 7 or higher to enable diamond operator)
[ERROR]
/<<PKGBUILDDIR>>/src/main/java/org/codehaus/plexus/archiver/jar/JarArchiver.java:[487,21]
try-with-resources is not supported in -source 6
[ERROR] (use -source 7 or higher to enable try-with-resources)
[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: /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:4: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit
status 2
--------------------------------------------------------------------------------
The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/plexus-archiver.html
where you can get a full build log if you need it.
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.