Package: src:openhft-lang
Version: 6.7.6-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=maven
   dh_testdir -i -O--buildsystem=maven
   dh_update_autotools_config -i -O--buildsystem=maven
   dh_auto_configure -i -O--buildsystem=maven
find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-compiler/*/*.jar': No 
such file or directory
find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-compilers/*/*.jar': No 
such file or directory
find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-containers/*/*.jar': No 
such file or directory
        mh_patchpoms -plibopenhft-lang-java --debian-build --keep-pom-version 
--maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
   dh_auto_build -i -O--buildsystem=maven
        /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=/<<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 package -DskipTests 
-Dnotimestamp=true -Dlocale=en_US
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------

[... snipped ...]

net.openhft.lang.values.DoubleValue$$Heap 
net.openhft.lang.values.DoubleValue$$Native
net.openhft.lang.values.LongValue$$Heap 
net.openhft.lang.values.LongValue$$Native
net.openhft.lang.values.StringValue$$Heap 
net.openhft.lang.values.StringValue$$Native
net.openhft.lang.values.BooleanValue$$Heap 
net.openhft.lang.values.BooleanValue$$Native
net.openhft.lang.values.UnsignedByteValue$$Heap 
net.openhft.lang.values.UnsignedByteValue$$Native
net.openhft.lang.values.UnsignedIntValue$$Heap 
net.openhft.lang.values.UnsignedIntValue$$Native
net.openhft.lang.values.UnsignedShortValue$$Heap 
net.openhft.lang.values.UnsignedShortValue$$Native
net.openhft.lang.values.NestAll$$Heap net.openhft.lang.values.NestAll$$Native
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.064 sec - in 
net.openhft.lang.values.CheckValuesBuildTest
Running net.openhft.lang.values.StringValueTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
net.openhft.lang.values.StringValueTest
Running net.openhft.lang.locks.LockingStrategyTest
Tests run: 28, Failures: 0, Errors: 0, Skipped: 10, Time elapsed: 0.087 sec - 
in net.openhft.lang.locks.LockingStrategyTest

Results :

Failed tests: 
  DataValueGeneratorTest.testGenerateInterfaceWithDateNativeInstace:237 
expected: java.util.Date<Sat Nov 12 05:05:43 CET 2016> but was: 
java.util.Date<Sat Nov 12 05:05:43 CET 2016>

Tests run: 571, Failures: 1, Errors: 0, Skipped: 16

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] OpenHFT/Java-Lang/lang ............................. FAILURE [ 30.931 s]
[INFO] Java Lang Parent ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31.869 s
[INFO] Finished at: 2016-11-12T05:06:02+01:00
[INFO] Final Memory: 16M/90M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on 
project lang: There are test failures.
[ERROR] 
[ERROR] Please refer to /<<PKGBUILDDIR>>/lang/target/surefire-reports for the 
individual test results.
[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: /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=/<<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 test returned exit code 1
debian/rules:4: recipe for target 'build-indep' failed
make: *** [build-indep] Error 1
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

The relevant part of the build log is included above.

The failure happens randomly. Sometimes it fails, sometimes it does not.

But it also happened here:

https://tests.reproducible-builds.org/debian/logs/testing/amd64/openhft-lang_6.7.6-1.build2.log.gz

The error message is a little bit misleading. It says that it expected
something but instead it got the same thing. Maybe it is showing dates
with less precision (to the second) than the one with which they
differ?

Thanks.

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to