Bug#640494: liblucene2-java: FTBFS with latest version of jtidy in unstable
James Page
james.page at ubuntu.com
Mon Sep 5 10:07:48 UTC 2011
Package: liblucene2-java
Version: 2.9.4+ds1-2
Severity: serious
Justification: fails to build from source
Whilst testing reverse build-deps for a late sync of the latest version
of jtidy into the latest Ubuntu development release I hit the following
issue which I can reproduce in Debian unstable (albiet I had to fix the
location of JAVA_HOME in debian/rules to point to a valid java home -
see d-j at l.d.o 'openjdk-6 and openjdk-7 multiarch installable'):
common.test:
[mkdir] Created dir: /build/jamespage-lucene2_2.9.4+ds1-2-amd64-qB5aEF/lucene2-2.9.4+ds1/build/contrib/ant/test
[junit] WARNING: multiple versions of ant detected in path for junit
[junit] jar:file:/usr/share/java/ant-1.8.2.jar!/org/apache/tools/ant/Project.class
[junit] and jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
[junit] Testsuite: org.apache.lucene.ant.HtmlDocumentTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.059 sec
[junit]
[junit] Testcase: testDoc(org.apache.lucene.ant.HtmlDocumentTest): Caused an ERROR
[junit] null
[junit] java.lang.ExceptionInInitializerError
[junit] at org.w3c.tidy.Tidy.<init>(Tidy.java:135)
[junit] at org.apache.lucene.ant.HtmlDocument.<init>(HtmlDocument.java:60)
[junit] at org.apache.lucene.ant.HtmlDocumentTest.setUp(HtmlDocumentTest.java:34)
[junit] Caused by: java.lang.RuntimeException: Failed to load jtidy.properties
[junit] at org.w3c.tidy.Report.readReleaseDate(Report.java:94)
[junit] at org.w3c.tidy.Report.<clinit>(Report.java:85)
[junit] Caused by: java.lang.NullPointerException
[junit] at java.util.Properties$LineReader.readLine(Properties.java:435)
[junit] at java.util.Properties.load0(Properties.java:354)
[junit] at java.util.Properties.load(Properties.java:342)
[junit] at org.w3c.tidy.Report.readReleaseDate(Report.java:91)
[junit]
[junit]
[junit] Test org.apache.lucene.ant.HtmlDocumentTest FAILED
[junit] Testsuite: org.apache.lucene.ant.IndexTaskTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.19 sec
[junit]
[junit] Testcase: testSearch(org.apache.lucene.ant.IndexTaskTest): Caused an ERROR
[junit] null
[junit] java.lang.ExceptionInInitializerError
[junit] at org.w3c.tidy.Tidy.<init>(Tidy.java:135)
[junit] at org.apache.lucene.ant.HtmlDocument.<init>(HtmlDocument.java:60)
[junit] at org.apache.lucene.ant.HtmlDocument.Document(HtmlDocument.java:175)
[junit] at org.apache.lucene.ant.FileExtensionDocumentHandler.getDocument(FileExtensionDocumentHandler.java:56)
[junit] at org.apache.lucene.ant.IndexTask.indexDocs(IndexTask.java:340)
[junit] at org.apache.lucene.ant.IndexTask.execute(IndexTask.java:236)
[junit] at org.apache.lucene.ant.IndexTaskTest.setUp(IndexTaskTest.java:69)
[junit] Caused by: java.lang.RuntimeException: Failed to load jtidy.properties
[junit] at org.w3c.tidy.Report.readReleaseDate(Report.java:94)
[junit] at org.w3c.tidy.Report.<clinit>(Report.java:85)
[junit] Caused by: java.lang.NullPointerException
[junit] at java.util.Properties$LineReader.readLine(Properties.java:435)
[junit] at java.util.Properties.load0(Properties.java:354)
[junit] at java.util.Properties.load(Properties.java:342)
[junit] at org.w3c.tidy.Report.readReleaseDate(Report.java:91)
[junit]
[junit]
[junit] Test org.apache.lucene.ant.IndexTaskTest FAILED
[junit] Testsuite: org.apache.lucene.ant.TextDocumentTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.039 sec
[junit]
[subant] Failure for target 'test' of: /build/jamespage-lucene2_2.9.4+ds1-2-amd64-qB5aEF/lucene2-2.9.4+ds1/contrib/ant/build.xml
[subant] The following error occurred while executing this line:
[subant] /build/jamespage-lucene2_2.9.4+ds1-2-amd64-qB5aEF/lucene2-2.9.4+ds1/contrib/contrib-build.xml:130: The following error occurred while executing this line:
[subant] /build/jamespage-lucene2_2.9.4+ds1-2-amd64-qB5aEF/lucene2-2.9.4+ds1/common-build.xml:455: The following error occurred while executing this line:
[subant] /build/jamespage-lucene2_2.9.4+ds1-2-amd64-qB5aEF/lucene2-2.9.4+ds1/common-build.xml:448: Tests failed!
[echo] Building benchmark...
This causes the build to fail.
*** /tmp/reportbug-liblucene2-java-20110905-26613-bWHgDw
Subject: liblucene2-java: FTBFS with latest version of jtidy in unstable
Package: liblucene2-java
Version: 2.9.4+ds1-2
Justification: fails to build from source
Severity: serious
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-11-generic (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages liblucene2-java depends on:
ii default-jre-headless [java5 1:1.6-40 Standard Java or Java compatible R
ii openjdk-6-jre-headless [jav 6b18-1.8.7-5 OpenJDK Java runtime, using Hotspo
Versions of packages liblucene2-java recommends:
ii libcommons-beanutils-jav 1.8.3-1 utility for manipulating JavaBeans
ii libcommons-collections3- 3.2.1-4 A set of abstract data type interf
ii libcommons-compress-java 1.2-1 Java API for working with tar, zip
ii libcommons-digester-java 1.8.1-2 Rule based XML Java object mapping
ii libcommons-logging-java 1.1.1-8 commmon wrapper interface for seve
ii libdb-java 5.1.4 Berkeley Database Libraries for Ja
ii libdb-je-java 3.3.98-1 Oracle Berkeley Database Java Edit
ii libicu4j-java 4.2.1.1-1 Library for unicode support and in
ii libjline-java 0.9.94-5 Java library for handling console
ii libjtidy-java 7+svn20070309-4 a Java port of HTML Tidy, a HTML s
ii libregexp-java 1.5-2 Regular expression library for Jav
liblucene2-java suggests no packages.
-- no debconf information
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-11-generic (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages liblucene2-java depends on:
ii default-jre-headless [java5 1:1.6-40 Standard Java or Java compatible R
ii openjdk-6-jre-headless [jav 6b18-1.8.7-5 OpenJDK Java runtime, using Hotspo
Versions of packages liblucene2-java recommends:
ii libcommons-beanutils-jav 1.8.3-1 utility for manipulating JavaBeans
ii libcommons-collections3- 3.2.1-4 A set of abstract data type interf
ii libcommons-compress-java 1.2-1 Java API for working with tar, zip
ii libcommons-digester-java 1.8.1-2 Rule based XML Java object mapping
ii libcommons-logging-java 1.1.1-8 commmon wrapper interface for seve
ii libdb-java 5.1.4 Berkeley Database Libraries for Ja
ii libdb-je-java 3.3.98-1 Oracle Berkeley Database Java Edit
ii libicu4j-java 4.2.1.1-1 Library for unicode support and in
ii libjline-java 0.9.94-5 Java library for handling console
ii libjtidy-java 7+svn20070309-4 a Java port of HTML Tidy, a HTML s
ii libregexp-java 1.5-2 Regular expression library for Jav
liblucene2-java suggests no packages.
-- no debconf information
More information about the pkg-java-maintainers
mailing list