Bug#869251: java-allocation-instrumenter FTBFS: Unable to JarJar: /build/1st/java-allocation-instrumenter-3.0.1/target/classes cause: RemappingClassAdapter is deprecated, use ClassRemapper instead

Adrian Bunk bunk at debian.org
Fri Jul 21 23:56:15 UTC 2017


Source: java-allocation-instrumenter
Version: 3.0.1-1
Severity: serious
Tags: buster sid

Some recent change in unstable makes java-allocation-instrumenter FTBFS:

https://tests.reproducible-builds.org/debian/history/java-allocation-instrumenter.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/java-allocation-instrumenter.html

...
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
[INFO] Scanning for projects...
[WARNING] The POM for org.apache.maven.plugins:maven-eclipse-plugin:jar:2.9 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-eclipse-plugin:2.9: Plugin org.apache.maven.plugins:maven-eclipse-plugin:2.9 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-eclipse-plugin:jar:2.9 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.5.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.5.1: Plugin org.apache.maven.plugins:maven-release-plugin:2.5.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:2.5.1 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-eclipse-plugin:jar:2.9 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-eclipse-plugin:2.9: Plugin org.apache.maven.plugins:maven-eclipse-plugin:2.9 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-eclipse-plugin:jar:2.9 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.5.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.5.1: Plugin org.apache.maven.plugins:maven-release-plugin:2.5.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:2.5.1 has not been downloaded from it before.
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building java-allocation-instrumenter 3.0.1
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.apache.maven.plugins:maven-eclipse-plugin:jar:2.9 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-eclipse-plugin:2.9: Plugin org.apache.maven.plugins:maven-eclipse-plugin:2.9 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-eclipse-plugin:jar:2.9 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.5.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.5.1: Plugin org.apache.maven.plugins:maven-release-plugin:2.5.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:2.5.1 has not been downloaded from it before.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ java-allocation-instrumenter ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /build/1st/java-allocation-instrumenter-3.0.1/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ java-allocation-instrumenter ---
[WARNING] The POM for org.codehaus.plexus:plexus-compiler-api:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.codehaus.plexus:plexus-compiler-javac:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 9 source files to /build/1st/java-allocation-instrumenter-3.0.1/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ java-allocation-instrumenter ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /build/1st/java-allocation-instrumenter-3.0.1/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ java-allocation-instrumenter ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ java-allocation-instrumenter ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- jarjar-maven-plugin:1.9:jarjar (embed-jars) @ java-allocation-instrumenter ---
[INFO] Processing: /build/1st/java-allocation-instrumenter-3.0.1/target/classes
[INFO] Building zip: /build/1st/java-allocation-instrumenter-3.0.1/target/jarjar/uber-classes
[INFO] JarJar'ing to: /build/1st/java-allocation-instrumenter-3.0.1/target/classes
Error reading module-info.class: RemappingClassAdapter is deprecated, use ClassRemapper instead
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping java-allocation-instrumenter
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.344 s
[INFO] Finished at: 2018-08-15T05:00:50-12:00
[INFO] Final Memory: 29M/683M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.plugins:jarjar-maven-plugin:1.9:jarjar (embed-jars) on project java-allocation-instrumenter: Unable to JarJar: /build/1st/java-allocation-instrumenter-3.0.1/target/classes cause: RemappingClassAdapter is deprecated, use ClassRemapper instead -> [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/MojoExecutionException
dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/1st/java-allocation-instrumenter-3.0.1 -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/java-allocation-instrumenter-3.0.1/debian -Dmaven.repo.local=/build/1st/java-allocation-instrumenter-3.0.1/debian/maven-repo package javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 2



More information about the pkg-java-maintainers mailing list