Package: java-gcj-compat-dev
Version: 1.0.76-3
Severity: serious

With java-gcj-compat-dev from experimental installed, along with various other 
experimental gcj-related packages installed, javac doesn't work at all:

...
frobnitz:/tmp# COLUMNS=80 dpkg -l *gcj* *gij* *ecj*|grep ^i
ii  ecj            3.3.0-2        standalone version of the Eclipse Java compi
ii  ecj-gcj        3.3.0-2        standalone version of the Eclipse Java compi
ii  ecj-gcj        3.3.0-2        standalone version of the Eclipse Java compi
ii  gcj            4:4.2-20070707 The GNU Java compiler
ii  gcj-4.1        4.1.2-14       The GNU compiler for Java(TM)
ii  gcj-4.1-base   4.1.2-14       The GNU Compiler Collection (gcj base packag
ii  gcj-4.2        4.2.1-1        The GNU compiler for Java(TM)
ii  gcj-4.2-base   4.2.1-1        The GNU Compiler Collection (gcj base packag
ii  gij            4:4.2-20070707 The GNU Java bytecode interpreter
ii  gij-4.1        4.1.2-14       The GNU Java bytecode interpreter
ii  gij-4.2        4.2.1-1        The GNU Java bytecode interpreter
ii  java-gcj-compa 1.0.76-3       Java runtime environment using GIJ
ii  java-gcj-compa 1.0.76-3       Java runtime environment with GCJ
ii  libecj-java    3.3.0-2        Eclipse Java compiler (library)
ii  libgcj-bc      4.2-20070707-1 Link time only library for use with gcj
ii  libgcj-common  1:4.2-20070707 Java runtime library (common files)
ii  libgcj7-1      4.1.2-14       Java runtime library for use with gcj
ii  libgcj7-1-awt  4.1.2-14       AWT peer runtime libraries for use with gcj
ii  libgcj7-dev    4.1.2-14       Java development headers and static library
ii  libgcj7-jar    4.1.2-14       Java runtime library for use with gcj (jar f
ii  libgcj8-0      4.2.1-1        Java runtime library for use with gcj
ii  libgcj8-0-awt  4.2.1-1        AWT peer runtime libraries for use with gcj
ii  libgcj8-dev    4.2.1-1        Java development headers and static library
ii  libgcj8-jar    4.2.1-1        Java runtime library for use with gcj (jar f
frobnitz:/tmp# cat Test.java
class Test {
  public int foo() { return 0; }
};
frobnitz:/tmp# /usr/lib/jvm/java-gcj/bin/javac Test.java
----------
1. ERROR in Test.java (at line 1)
        class Test {
        ^
The type java.lang.Object cannot be resolved. It is indirectly referenced from 
required .class files
----------
2. ERROR in Test.java (at line 1)
        class Test {
              ^^^^
Implicit super constructor Object() is undefined for default constructor. Must 
define an explicit constructor
----------
2 problems (2 errors)frobnitz:/tmp#

My guess would be that probably the ecj compiled to use gcj-4.1 files is 
unhappy with gcj-4.2 somehow.
-- 
Daniel Schepler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to