IcedTea/OpenJDK bootstrapping issue

Ludovic Courtès ludo at gnu.org
Thu Jan 21 02:48:58 PST 2010


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/



More information about the distro-pkg-dev mailing list