Bug#760927: lucene-solr: ftbfs with OpenJDK 8

Matthias Klose doko at debian.org
Tue Sep 9 08:52:00 UTC 2014


Package: src:lucene-solr
Version: 3.6.2+dfsg-3
Severity: important
User: debian-java at lists.debian.org
Usertags: openjdk-8-transition

The package fails to build in a test rebuild on at least amd64 with
openjdk-8 as the default java version, but succeeds to build with
openjdk-7.

The full build log can be found at:
http://people.debian.org/~doko/logs/java8-20140908/logs-failed-ref/lucene-solr_3.6.2+dfsg-3_unstable_ref.log
The last lines of the build log are at the end of this report.

To build with openjdk-8 explicitly, install the openjdk-8-jdk package
from experimental,

  apt-get -t experimental install g++ 

and install the default-jdk package from

  deb https://people.debian.org/~doko/tmp/20140820 ./

[...]
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.908 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: per solr.test.leavedatadir, dataDir will not be removed: /«BUILDDIR»/lucene-solr-3.6.2+dfsg/solr/build/solr-core/test/3/solrtest-SuggesterFSTTest-1410070593309
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.solr.spelling.suggest.SuggesterWFSTTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.652 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: per solr.test.leavedatadir, dataDir will not be removed: /«BUILDDIR»/lucene-solr-3.6.2+dfsg/solr/build/solr-core/test/3/solrtest-SuggesterWFSTTest-1410070594240
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.solr.update.DirectUpdateHandlerOptimizeTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.02 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.update.TestIndexingPerformance
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.607 sec
    [junit] 
    [junit] ------------- Standard Output ---------------
    [junit] includeDoc=true doc=[text, simple, text, test, text, how now brown cow, text, what's that?, text, radical!, text, what's all this about, anyway?, text, just how fast is this text indexing?]
    [junit] iter=1000 time=131 throughput=7633
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.solr.update.processor.URLClassifyProcessorTest
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.073 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.util.ArraysUtilsTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.048 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.util.PrimUtilsTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.032 sec
    [junit] 

BUILD FAILED
/«BUILDDIR»/lucene-solr-3.6.2+dfsg/solr/build.xml:142: The following error occurred while executing this line:
/«BUILDDIR»/lucene-solr-3.6.2+dfsg/lucene/contrib/contrib-build.xml:61: The following error occurred while executing this line:
/«BUILDDIR»/lucene-solr-3.6.2+dfsg/lucene/common-build.xml:692: 
The following error occurred while executing this line:
/«BUILDDIR»/lucene-solr-3.6.2+dfsg/lucene/common-build.xml:676: Tests failed!
The following error occurred while executing this line:
/«BUILDDIR»/lucene-solr-3.6.2+dfsg/lucene/common-build.xml:676: Tests failed!
The following error occurred while executing this line:
/«BUILDDIR»/lucene-solr-3.6.2+dfsg/lucene/common-build.xml:676: Tests failed!
The following error occurred while executing this line:
/«BUILDDIR»/lucene-solr-3.6.2+dfsg/lucene/common-build.xml:676: Tests failed!

Total time: 5 minutes 32 seconds
make[1]: *** [override_dh_auto_test] Error 1
debian/rules:31: recipe for target 'override_dh_auto_test' failed
make[1]: Leaving directory '/«BUILDDIR»/lucene-solr-3.6.2+dfsg'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the pkg-java-maintainers mailing list