--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: gcj-4.3: fails running unit tests from Lucene package where Sun JDK works
- From: Jan-Pascal van Best <janpascal@vanbest.org>
- Date: Thu, 28 Feb 2008 13:09:16 +0100
- Message-id: <20080228120916.28991.55499.reportbug@gondolin>
Package: gcj-4.3
Version: 4.3-20080202-1
Severity: normal
The Lucene package contains a large number of unit tests. All tests succeed when
building using Sun JDK 5. When building using gcj-4.3 (with gcj-java-compat-dev
from unstable), quite a few unit tests fail. Upon a suggestion by Michael Koch
I'm filing a bug report to gcj with this issue, in the hope of pointing to more
concrete bugs in gcj.
Way to reproduce:
$ apt-get source lucene2
$ cd lucene2-2.3.0+ds1
(install dependencies including sun-java5-jdk)
$ debuild -i -us -uc
(observe the package builds without errors)
$ vi debian/rules
(change JAVA_HOME to /usr/lib/jvm/java-gcj and :wq)
$ debuild -i -us -uc
(observe unit test failures in build log)
I'll attach a list of the failed test cases as a reply to this bug.
Jan-Pascal
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (400, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gcj-4.3 depends on:
ii gcc-4.3 4.3-20080202-1 The GNU C compiler
ii gcj-4.3-base 4.3-20080202-1 The GNU Compiler Collection (gcj b
ii gij-4.3 4.3-20080202-1 The GNU Java bytecode interpreter
ii java-common 0.27 Base of all Java packages
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libc6-dev 2.7-6 GNU C Library: Development Librari
ii libecj-java 3.3.0+0728-8 Eclipse Java compiler (library)
ii libgcc1 1:4.3-20080202-1 GCC support library
ii libgcj-bc 4.3-1 Link time only library for use wit
ii libgcj9-0 4.3-20080202-1 Java runtime library for use with
ii libgcj9-dev 4.3-20080202-1 Java development headers and stati
ii libgcj9-jar 4.3-20080202-1 Java runtime library for use with
ii libgmp3c2 2:4.2.2+dfsg-2 Multiprecision arithmetic library
ii libmpfr1ldbl 2.3.0.dfsg.1-2 multiple precision floating-point
ii zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime
Versions of packages gcj-4.3 recommends:
ii ecj-gcj [libecj-java-gcj] 3.3.0+0728-8 standalone version of the Eclipse
ii fastjar 2:0.95-1 Jar creation utility
ii libecj-java-gcj 3.3.0+0728-8 Eclipse Java compiler (native libr
-- no debconf information
--- End Message ---