Use local DTD to fix build failure on buildd

Bug #189602 reported by Onkar Shinde
6
Affects Status Importance Assigned to Milestone
lucene2 (Ubuntu)
Fix Released
High
Onkar Shinde

Bug Description

The lucene2 build fails since one of the unit test tried to access a DTD on internet. The solution is to use DTD available in w3c-dtd-xhtml package.
I will attach the debdiff soon.

Related branches

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

Please find attached the debdiff.

Changed in lucene2:
status: New → Confirmed
Revision history for this message
Daniel Hahler (blueyed) wrote :

There's lucene2 2.3.0+ds1-1 in debian unstable.
I think it makes sense to get this into Ubuntu, with your patches added. Some things, e.g. the Homepage field in debian/control have been addresses in Debian already.
Can you please get 2.3.0+ds1-1 from Debian unstable and then provide a debdiff with your changes against it? Thank you.

Changed in lucene2:
assignee: nobody → onkarshinde
importance: Undecided → High
Revision history for this message
Michael Bienia (geser) wrote :

This was already discussed in #ubuntu-motu and it was agreed to keep lucene2 2.2 in hardy this short before FF. The new version has some API changes and one need to check if it doesn't break other software (like netbeans).

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lucene2 - 2.2.0-2ubuntu1

---------------
lucene2 (2.2.0-2ubuntu1) hardy; urgency=low

  * debian/control
    - Add w3c-dtd-xhtml as build dependency. Needed to fix build failure.
    - Use icedtea-java7-jdk build dependency. (LP: #185917)
    - Modify Maintainer value to match the DebianMaintainerField
      specification.
    - Add 'Homepage' field and remove links from description.
    - Update standards version to 3.7.3.
  * debian/patches
    - 82_fix_xhtml_dtd_access.dpatch - Patch for fixing contrib unit tests.
      Fixes FTBFS on buildd. (LP: #189602)
    - 00list - Updated to include above patch
  * debian/rules
    - Set JAVA_HOME corresponding to icedtea.

 -- Onkar Shinde <email address hidden> Tue, 15 Jan 2008 19:09:15 +0530

Changed in lucene2:
status: Confirmed → Fix Released
Revision history for this message
Michael Bienia (geser) wrote :

Uploaded.

Changed in lucene2:
status: Fix Released → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.