Bug#868603: json-smart FTBFS: ASM based accessors helper used by json-smart FAILURE

Adrian Bunk bunk at debian.org
Sun Jul 16 23:26:19 UTC 2017


Source: json-smart
Version: 2.2-1
Severity: serious
Tags: buster sid

Some recent change in unstable makes json-smart FTBFS:

https://tests.reproducible-builds.org/debian/history/json-smart.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/json-smart.html

...
dh_auto_build -- --file parent/pom.xml package
	/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/json-smart-2.2 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/1st/json-smart-2.2/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/json-smart-2.2/debian -Dmaven.repo.local=/build/1st/json-smart-2.2/debian/maven-repo --file parent/pom.xml package -DskipTests -Dnotimestamp=true -Dlocale=en_US
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Minidev super pom
[INFO] ASM based accessors helper used by json-smart
[INFO] JSON Small and Fast Parser
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Minidev super pom 2.2
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building ASM based accessors helper used by json-smart 1.1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ accessors-smart ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /build/1st/json-smart-2.2/accessors-smart/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ accessors-smart ---
[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 12 source files to /build/1st/json-smart-2.2/accessors-smart/target/classes
[INFO] /build/1st/json-smart-2.2/accessors-smart/src/main/java/net/minidev/asm/ASMUtil.java: Some input files use or override a deprecated API.
[INFO] /build/1st/json-smart-2.2/accessors-smart/src/main/java/net/minidev/asm/ASMUtil.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ accessors-smart ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /build/1st/json-smart-2.2/accessors-smart/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ accessors-smart ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 24 source files to /build/1st/json-smart-2.2/accessors-smart/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ accessors-smart ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-bundle-plugin:2.5.4:bundle (default-bundle) @ accessors-smart ---
[WARNING] Bundle net.minidev:accessors-smart:bundle:1.1 : Export net.minidev.asm,  has 1,  private references [org.objectweb.asm], 
[ERROR] Bundle net.minidev:accessors-smart:bundle:1.1 : Classes found in the wrong directory: {module-info.class=org.objectweb.asm.module-info}
[ERROR] Error(s) found in bundle configuration
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Minidev super pom .................................. SUCCESS [  0.003 s]
[INFO] ASM based accessors helper used by json-smart ...... FAILURE [  2.829 s]
[INFO] JSON Small and Fast Parser ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.933 s
[INFO] Finished at: 2017-07-16T10:50:35-12:00
[INFO] Final Memory: 21M/654M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:2.5.4:bundle (default-bundle) on project accessors-smart: Error(s) found in bundle configuration -> [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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :accessors-smart
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/json-smart-2.2 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/1st/json-smart-2.2/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/json-smart-2.2/debian -Dmaven.repo.local=/build/1st/json-smart-2.2/debian/maven-repo --file parent/pom.xml package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
debian/rules:9: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 1



More information about the pkg-java-maintainers mailing list