Package: src:jmock2
Version: 2.8.3-2
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 -plibjmock2-java --debian-build --keep-pom-version
--maven-repo=/<>/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=/<>
-Dclassworlds.conf=/etc/maven/m2-debian.conf
-Dproperties.file.manual=/<>/debian/maven.properties
org.codehaus.plexus.classworlds.launcher.Launcher
-s/etc/maven/settings-debian.xml -Ddebian.dir=/<>/debian
-Dmaven.repo.local=/<>/debian/maven-repo --batch-mode package
javadoc:jar javadoc:aggregate -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...
[... snipped ...]
[INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 s
- in org.jmock.test.unit.lib.concurrent.DeterministicSchedulerTests
[INFO] Running org.jmock.test.unit.lib.concurrent.DeterministicExecutorTests
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s
- in org.jmock.test.unit.lib.concurrent.DeterministicExecutorTests
[INFO] Running org.jmock.test.unit.lib.CurrentStateMatcherTests
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s
- in org.jmock.test.unit.lib.CurrentStateMatcherTests
[INFO] Running org.jmock.test.unit.MockeryTests
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s
- in org.jmock.test.unit.MockeryTests
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] ReturnDefaultCollectionTests.imposterisesUnsupportedMapTypes:72
NoClassDefFound
[INFO]
[ERROR] Tests run: 302, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO]
[INFO] Reactor Summary:
[INFO]
[INFO] jMock 2 Parent 2.8.3 ... SUCCESS [ 0.094 s]
[INFO] jMock 2 Test Jar ... SUCCESS [ 0.905 s]
[INFO] jMock 2 Core ... FAILURE [ 3.338 s]
[INFO] jmock-junit3 ... SKIPPED
[INFO] jmock-junit4 ... SKIPPED
[INFO] jmock-legacy 2.8.3 . SKIPPED
[INFO]
[INFO] BUILD FAILURE
[INFO]
[INFO] Total time: 4.568 s
[INFO] Finished at: 2018-08-09T10:51:40Z
[INFO]
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test) on
project jmock: There are test failures.
[ERROR]
[ERROR] Please refer to /<>/jmock/target/surefire-reports for the
individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
[date].dumpstream and [date]-jvmRun[N].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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :jmock
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=/<>
-Dclassworlds.conf=/etc/maven/m2-debian.conf
-Dproperties.file.manual=/<>/debian/maven.properties
org.codehaus.plexus.classworlds.launcher.Launcher
-s/etc/maven/settings-debian.xml -Ddebian.dir=/<>/debian
-Dmaven.repo.local=/<>/debian/maven-repo --batch-mode test
returned exit code 1
make: *** [debian/rules:4: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit
status 2