Bug#1031480: libreflectasm-java: FTBFS: make: *** [debian/rules:4: binary] Error 25

Lucas Nussbaum lucas at debian.org
Fri Feb 17 07:03:43 GMT 2023


Source: libreflectasm-java
Version: 1.11.9+dfsg-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230216 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with javahelper
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	mh_patchpoms -plibreflectasm-java --debian-build --keep-pom-version --maven-repo=/<<BUILDDIR>>/libreflectasm-java-1.11.9\+dfsg/debian/maven-repo
>    jh_linkjars
>    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=/<<BUILDDIR>>/libreflectasm-java-1.11.9\+dfsg -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<BUILDDIR>>/libreflectasm-java-1.11.9\+dfsg/debian -Dmaven.repo.local=/<<BUILDDIR>>/libreflectasm-java-1.11.9\+dfsg/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] 
> [INFO] ------------------< com.esotericsoftware:reflectasm >-------------------
> [INFO] Building ReflectASM 1.11.9
> [INFO] -------------------------------[ bundle ]-------------------------------
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ reflectasm ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 5 source files to /<<PKGBUILDDIR>>/target/classes
> Use of target 1.5 is no longer supported, switching to 7
> Use of source 1.5 is no longer supported, switching to 7
> [INFO] /<<PKGBUILDDIR>>/src/com/esotericsoftware/reflectasm/ConstructorAccess.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/src/com/esotericsoftware/reflectasm/ConstructorAccess.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/src/com/esotericsoftware/reflectasm/AccessClassLoader.java: Some input files use unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/src/com/esotericsoftware/reflectasm/AccessClassLoader.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ reflectasm ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 8 source files to /<<PKGBUILDDIR>>/target/test-classes
> Use of target 1.5 is no longer supported, switching to 7
> Use of source 1.5 is no longer supported, switching to 7
> [INFO] /<<PKGBUILDDIR>>/test/com/esotericsoftware/reflectasm/MethodAccessTest.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/test/com/esotericsoftware/reflectasm/MethodAccessTest.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/test/com/esotericsoftware/reflectasm/benchmark/Benchmark.java: Some input files use unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/test/com/esotericsoftware/reflectasm/benchmark/Benchmark.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ reflectasm ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-bundle-plugin:3.5.1:bundle (default-bundle) @ reflectasm ---
> [INFO] 
> [INFO] --- maven-javadoc-plugin:3.4.1:jar (default-cli) @ reflectasm ---
> [INFO] Adding the --ignore-source-errors option
> [INFO] No previous run data found, generating javadoc.
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/reflectasm-1.11.9-javadoc.jar
> [INFO] 
> [INFO] ------------------< com.esotericsoftware:reflectasm >-------------------
> [INFO] Building ReflectASM 1.11.9
> [INFO] -------------------------------[ bundle ]-------------------------------
> [INFO] 
> [INFO] >>> maven-javadoc-plugin:3.4.1:aggregate (default-cli) > compile @ reflectasm >>>
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ reflectasm ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 5 source files to /<<PKGBUILDDIR>>/target/classes
> Use of target 1.5 is no longer supported, switching to 7
> Use of source 1.5 is no longer supported, switching to 7
> [INFO] /<<PKGBUILDDIR>>/src/com/esotericsoftware/reflectasm/ConstructorAccess.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/src/com/esotericsoftware/reflectasm/ConstructorAccess.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/src/com/esotericsoftware/reflectasm/AccessClassLoader.java: Some input files use unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/src/com/esotericsoftware/reflectasm/AccessClassLoader.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] <<< maven-javadoc-plugin:3.4.1:aggregate (default-cli) < compile @ reflectasm <<<
> [INFO] 
> [INFO] 
> [INFO] --- maven-javadoc-plugin:3.4.1:aggregate (default-cli) @ reflectasm ---
> [INFO] Adding the --ignore-source-errors option
> [INFO] Configuration changed, re-generating javadoc.
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  5.520 s
> [INFO] Finished at: 2023-02-17T01:29:17Z
> [INFO] ------------------------------------------------------------------------
>    dh_auto_test
> 	/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=/<<BUILDDIR>>/libreflectasm-java-1.11.9\+dfsg -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<BUILDDIR>>/libreflectasm-java-1.11.9\+dfsg/debian -Dmaven.repo.local=/<<BUILDDIR>>/libreflectasm-java-1.11.9\+dfsg/debian/maven-repo --batch-mode test
> 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] ------------------< com.esotericsoftware:reflectasm >-------------------
> [INFO] Building ReflectASM 1.11.9
> [INFO] -------------------------------[ bundle ]-------------------------------
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ reflectasm ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ reflectasm ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ reflectasm ---
> [INFO] 
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running com.esotericsoftware.reflectasm.FieldAccessTest
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 s - in com.esotericsoftware.reflectasm.FieldAccessTest
> [INFO] Running com.esotericsoftware.reflectasm.MethodAccessTest
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.esotericsoftware.reflectasm.MethodAccessTest
> [INFO] Running com.esotericsoftware.reflectasm.ConstructorAccessTest
> Expected exception happened: java.lang.RuntimeException: Class cannot be created (missing no-arg constructor): com.esotericsoftware.reflectasm.ConstructorAccessTest$HasArgumentConstructor
> Expected exception happened: java.lang.RuntimeException: Class cannot be created (the no-arg constructor is private): com.esotericsoftware.reflectasm.ConstructorAccessTest$HasPrivateConstructor
> [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in com.esotericsoftware.reflectasm.ConstructorAccessTest
> [INFO] Running com.esotericsoftware.reflectasm.ClassLoaderTest
> [ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.029 s <<< FAILURE! - in com.esotericsoftware.reflectasm.ClassLoaderTest
> [ERROR] testAutoUnloadClassloaders(com.esotericsoftware.reflectasm.ClassLoaderTest)  Time elapsed: 0.021 s  <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<3> but was:<2>
> 	at com.esotericsoftware.reflectasm.ClassLoaderTest.testAutoUnloadClassloaders(ClassLoaderTest.java:63)
> 
> [INFO] 
> [INFO] Results:
> [INFO] 
> [ERROR] Failures: 
> [ERROR]   ClassLoaderTest.testAutoUnloadClassloaders:63 expected:<3> but was:<2>
> [INFO] 
> [ERROR] Tests run: 16, Failures: 1, Errors: 0, Skipped: 0
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  10.835 s
> [INFO] Finished at: 2023-02-17T01:29:29Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.3:test (default-test) on project reflectasm: There are test failures.
> [ERROR] 
> [ERROR] Please refer to /<<PKGBUILDDIR>>/target/surefire-reports for the individual test results.
> [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
> [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_test: 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=/<<BUILDDIR>>/libreflectasm-java-1.11.9\+dfsg -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<BUILDDIR>>/libreflectasm-java-1.11.9\+dfsg/debian -Dmaven.repo.local=/<<BUILDDIR>>/libreflectasm-java-1.11.9\+dfsg/debian/maven-repo --batch-mode test returned exit code 1
> make: *** [debian/rules:4: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/02/16/libreflectasm-java_1.11.9+dfsg-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230216;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230216&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-java-maintainers mailing list