IcedTea/OpenJDK bootstrapping issue

Andrew John Hughes gnu_andrew at member.fsf.org
Thu Jan 21 06:00:08 PST 2010


2010/1/21 Ludovic Courtès <ludo at gnu.org>:
> Hello,
>
> I’m in the process of packaging IcedTea 1.6 for the NixOS GNU/Linux
> distribution [0].  I’m hitting what looks like a bootstrapping issue:
>
> --8<---------------cut here---------------start------------->8---
> -def-pcompile:
>    [mkdir] Created dir: /tmp/nix-build-3k2gbs45pjl5jv02xna5x8daynvnng7g-icedtea6-1.6.1.drv-0/icedtea6-1.6.1/openjdk-ecj/build/linux-amd64/langtools/build/toolclasses
>    [javac] Compiling 2 source files to /tmp/nix-build-3k2gbs45pjl5jv02xna5x8daynvnng7g-icedtea6-1.6.1.drv-0/icedtea6-1.6.1/openjdk-ecj/build/linux-amd64/langtools/build/toolclasses
>    [javac] ----------
>    [javac] 1. ERROR in /tmp/nix-build-3k2gbs45pjl5jv02xna5x8daynvnng7g-icedtea6-1.6.1.drv-0/icedtea6-1.6.1/openjdk-ecj/langtools/make/tools/CompileProperties/CompileProperties.java (at line 1)
>    [javac]     /*
>    [javac]     ^
>    [javac] The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
>
> [...]
>
>    [javac] 145. ERROR in /tmp/nix-build-3k2gbs45pjl5jv02xna5x8daynvnng7g-icedtea6-1.6.1.drv-0/icedtea6-1.6.1/openjdk-ecj/langtools/make/tools/CompileProperties/CompilePropertiesTask.java (at line 95)
>    [javac]     private String superclass = "java.util.ListResourceBundle";
>    [javac]             ^^^^^^
>    [javac] String cannot be resolved to a type
>    [javac] ----------
>    [javac] 145 problems (145 errors)
>
> BUILD FAILED
> /tmp/nix-build-3k2gbs45pjl5jv02xna5x8daynvnng7g-icedtea6-1.6.1.drv-0/icedtea6-1.6.1/openjdk-ecj/langtools/make/build.xml:575: Compile failed; see the compiler error output for details.
> --8<---------------cut here---------------end--------------->8---
>
> (Full build log at
> <http://www.fdn.fr/~lcourtes/tmp/icedtea-1.6.1.20100121.log>.)
>
> This is with GCJ 4.4.2 and ECJ 3.5.1.
>
> What am I missing here?
>
> Thanks,
> Ludo’.
>
> [0] http://nixos.org/
>

It's difficult to tell from that.  How are you configuring?  What is
the output of configure and the javac command before that?
-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the distro-pkg-dev mailing list