[Bug 185917] Re: lucene2 jdk dependence

2008-02-07 Thread Launchpad Bug Tracker
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 PROTECTED]>   Tue, 15 Jan 2008 19:09:15
+0530

** Changed in: lucene2 (Ubuntu)
   Status: New => Fix Released

-- 
lucene2 jdk dependence
https://bugs.launchpad.net/bugs/185917
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 185917] Re: lucene2 jdk dependence

2008-02-06 Thread Daniel Hahler
Just for info: This is addressed/included in the patch for bug 189602.

-- 
lucene2 jdk dependence
https://bugs.launchpad.net/bugs/185917
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 185917] Re: lucene2 jdk dependence

2008-02-05 Thread Marek Slama
Again in correct order. (Previous debdiff was in reverse order.)

** Attachment added: "diff.txt"
   http://launchpadlibrarian.net/11770615/diff.txt

-- 
lucene2 jdk dependence
https://bugs.launchpad.net/bugs/185917
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 185917] Re: lucene2 jdk dependence

2008-02-05 Thread Marek Slama
Attached. I did these changes to be able to build binary packages from
source package.

** Attachment added: "diff.txt"
   http://launchpadlibrarian.net/11770553/diff.txt

-- 
lucene2 jdk dependence
https://bugs.launchpad.net/bugs/185917
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 185917] Re: lucene2 jdk dependence

2008-02-04 Thread Onkar Shinde
I have added a debdiff to bug bug #183164 and hopefully it will get
accepted in a day or two. I will then fix lucene2.

@Marek,
Can you please attach a debdiff rather than .diff.gz so that I can check 
differences between your solution and mine and merge them if possible.

-- 
lucene2 jdk dependence
https://bugs.launchpad.net/bugs/185917
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 185917] Re: lucene2 jdk dependence

2008-01-28 Thread Onkar Shinde
Jack,

No the errors you are seeing are different. The one I was talking about is 
related to unit test 'testEncoding' found in 
contrib/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java.
I never encountered the errors you are specifying because my build never got 
past the test that uses DTD.

Today I used some workaround for the DTD problem (bug #183164) and now I 
similar as the one you specified. I also found a reference to this on Debian 
pkg-java mailing list. 
http://lists.alioth.debian.org/pipermail/pkg-java-commits/2007-August/003771.html
I am not sure if this is GCJ specific error.
I will try to build the package with Icedtea and see if error persists. If it 
does not then building with Icedtea is 'the solution'. But this also means that 
I will have to add a patch for build scripts to specify target VM version as 
1.5 else the resulting binary won't be usable with other runtimes. (Icedtea 
uses VM version 1.7).
If the error persists then I don't know what path I will have to take.

-- 
lucene2 jdk dependence
https://bugs.launchpad.net/bugs/185917
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 185917] Re: lucene2 jdk dependence

2008-01-26 Thread jablko
Thanks Onkar, for working on lucene2 in Ubuntu.

I'm interested in building lucene2 with GCJ - you mention:

The lucene2 core (and contrib) libraries build with GCJ also. I have
already tried this by disabling unit tests. The solution to unit test
failure is known but depends on another bug #183164.

However I'm getting the following unit test failures:

[junit] Testsuite: org.apache.lucene.search.TestSort
[junit] Tests run: 17, Failures: 2, Errors: 0, Time elapsed: 1.755 sec
[junit]
[junit] Testcase: 
testInternationalSort(org.apache.lucene.search.TestSort):FAILED
[junit] expected: but was:
[junit] junit.framework.ComparisonFailure: expected: but 
was:
[junit]at 
org.apache.lucene.search.TestSort.assertMatches(TestSort.java:639)
[junit]at 
org.apache.lucene.search.TestSort.testInternationalSort(TestSort.java:358)
[junit]
[junit]
[junit] Testcase: 
testInternationalMultiSearcherSort(org.apache.lucene.search.TestSort):FAILED
[junit] expected: but was:
[junit] junit.framework.ComparisonFailure: expected: but 
was:
[junit]at 
org.apache.lucene.search.TestSort.assertMatches(TestSort.java:639)
[junit]at 
org.apache.lucene.search.TestSort.testInternationalMultiSearcherSort(TestSort.java:382)
[junit]
[junit]
[junit] Test org.apache.lucene.search.TestSort FAILED

Are these the failures to which you're referring?

Thanks and best wishes, Jack

-- 
lucene2 jdk dependence
https://bugs.launchpad.net/bugs/185917
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 185917] Re: lucene2 jdk dependence

2008-01-25 Thread Onkar Shinde
The problem is not with Sun JDK dependency. The problem is that one unit
test fails on build servers since it can not get access to certain DTD
hosted on internet. And this problem is independent of the compiler
used.

The lucene2 core (and contrib) libraries build with GCJ also. I have
already tried this by disabling unit tests. The solution to unit test
failure is known but depends on another bug #183164.

Have patience. In about a week's time this will get fixed. :-)

-- 
lucene2 jdk dependence
https://bugs.launchpad.net/bugs/185917
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 185917] Re: lucene2 jdk dependence

2008-01-25 Thread Onkar Shinde
Assigning to myself since I am going to fix this eventually.

** Changed in: lucene2 (Ubuntu)
 Assignee: (unassigned) => Onkar Shinde (onkarshinde)

-- 
lucene2 jdk dependence
https://bugs.launchpad.net/bugs/185917
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 185917] Re: lucene2 jdk dependence

2008-01-25 Thread Marek Slama

** Attachment added: "jdk/jre dependence changed to icedtea-java7"
   http://launchpadlibrarian.net/11562573/lucene2_2.2.0-2.diff.gz

-- 
lucene2 jdk dependence
https://bugs.launchpad.net/bugs/185917
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs