Bug#361608: ecj-bootstrap: takes over /usr/lib/jvm/java-gcj/bin/javac with ../../../../bin/ecj

Filippo Giunchedi filippo at debian.org
Sun Apr 9 10:40:27 UTC 2006


Package: ecj-bootstrap
Severity: normal

Hi,
I'm not sure if this belongs to ecj-bootstrap, feel free to reassign if
I'm wrong. Here is the problem:

db4.2 (4.2.52-24):

checking if /usr/lib/jvm/java-gcj/bin/javac works... configure: error:
The Java compiler /usr/lib/jvm/java-gcj/bin/javac failed (see
config.log, check the CLASSPATH?)

configure:21107: checking if /usr/lib/jvm/java-gcj/bin/javac works
configure:21121: /usr/lib/jvm/java-gcj/bin/javac  Test.java
----------
1. ERROR in Test.java
 (at line 1)
        /* #line 21116 "configure" */
        ^
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
----------
1 problem (1 error)configure:21124: $? = 255
configure:21128: error: The Java compiler /usr/lib/jvm/java-gcj/bin/javac failed (see config.log, check the CLASSPATH?)


and indeed:

# file /usr/lib/jvm/java-gcj/bin/javac
/usr/lib/jvm/java-gcj/bin/javac: symbolic link to `../../../../bin/ecj'

shouldn't that be gcj-wrapper-4.0 ? (which in turn compiles successfully Test.java)

# /usr/bin/gcj-wrapper-4.0 Test.java
#

system is unstable, building with sbuild

java-gcj-compat-dev: 1.0.51-1
java-gcj-compat: 1.0.51-1
gcj-4.0: 4.0.3-1
ecj-bootstrap: 3.1.2-4

thanks,
filippo

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.7-1-k7-csa
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)




More information about the pkg-java-maintainers mailing list