close 834739
thanks

Hi,
According to 
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/elki.html
the auto-builders succeed at building the package; there is only a
problem with openjdk-8/openjdk-9 differences in the JavaDoc.

I also tried "dpkg-buildpackage -A" and it worked.

Note that all tests that failed involved parallelism. I can imagine
this happening if "Runtime.getRuntime().availableProcessors()" returns
0, but the Java documentation says "never smaller than one". Could
there be any reason Java reported a wrong value on your test system?

I cannot reproduce your problems, sorry.

On Thu, Aug 18, 2016 at 4:22 PM, Santiago Vila <sanv...@debian.org> wrote:
> Package: src:elki
> Version: 0.7.1-1
> Severity: serious
>
> Dear maintainer:
>
> I tried to build this package 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
>    debian/rules override_dh_auto_configure
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # Remove unneded executable bits:
> find elki addons data -type f -executable -exec chmod -x {} \+
> dh_auto_configure -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 -pelki --debian-build --keep-pom-version 
> --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
>
> [... snipped ...]
>
> Running de.lmu.ifi.dbs.elki.evaluation.scores.MaximumF1EvaluationTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - 
> in de.lmu.ifi.dbs.elki.evaluation.scores.MaximumF1EvaluationTest
> Running 
> de.lmu.ifi.dbs.elki.evaluation.paircounting.ClusterContingencyTableTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec - 
> in de.lmu.ifi.dbs.elki.evaluation.paircounting.ClusterContingencyTableTest
>
> Results :
>
> Tests in error:
>   ParallelLloydKMeansTest.testParallelKMeansLloyd:68 ?? Arithmetic / by zero
>   ParallelKNNOutlierTest.testKNNOutlier:57 ?? Arithmetic / by zero
>   ParallelKNNWeightOutlierTest.testKNNWeightOutlier:57 ?? Arithmetic / by zero
>   ParallelSimplifiedLOFTest.testParallelSimplifiedLOF:57 ?? Arithmetic / by 
> zero
>   ParallelLOFTest.testParallelLOF:57 ?? Arithmetic / by zero
>
> Tests run: 348, Failures: 0, Errors: 5, Skipped: 1
>
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] ELKI Data Mining Framework - Parent Project ........ SUCCESS [  0.274 
> s]
> [INFO] ELKI Data Mining Framework ......................... FAILURE [01:39 
> min]
> [INFO] ELKI Data Mining Framework - Batik Visualization ... SKIPPED
> [INFO] ELKI Data Mining Framework - Tutorial Algorithms ... SKIPPED
> [INFO] ELKI Data Mining Framework - LibSVM based extensions SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 01:39 min
> [INFO] Finished at: 2016-08-16T17:39:50+02:00
> [INFO] Final Memory: 14M/35M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on 
> project elki: There are test failures.
> [ERROR]
> [ERROR] Please refer to /<<PKGBUILDDIR>>/elki/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
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn <goals> -rf :elki
> dh_auto_test: /usr/lib/jvm/java-8-openjdk-amd64/bin/java -noverify -cp 
> /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/java-8-openjdk-amd64/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:10: recipe for target 'build-indep' failed
> make: *** [build-indep] Error 1
> dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
> --------------------------------------------------------------------------------
>
> Because this source package only generates "Arch: all" packages, this
> is the same as a FTBFS bug in the usual sense and the fact that I was
> using "dpkg-buildpackage -A" is quite irrelevant.
>
> For this particular package, I've also checked that it fails to build
> from source in the reproducible builds site:
>
> https://tests.reproducible-builds.org/
>
> Thanks.

Reply via email to