atom feed5 messages in org.freebsd.freebsd-javaRe: Error building jdk15 in jail
FromSent OnAttachments
Peter JeremySep 13, 2009 1:01 pm 
Greg LewisSep 14, 2009 10:10 pm 
Peter JeremySep 16, 2009 3:01 am 
Kostik BelousovSep 16, 2009 3:34 am 
Peter JeremySep 17, 2009 6:00 pm 
Subject:Re: Error building jdk15 in jail
From:Peter Jeremy (pete@acm.org)
Date:Sep 16, 2009 3:01:03 am
List:org.freebsd.freebsd-java

On 2009-Sep-14 22:10:43 -0700, Greg Lewis <gle@eyesbeyond.com> wrote:

On Mon, Sep 14, 2009 at 06:01:42AM +1000, Peter Jeremy wrote:

I have installed a copy of my i386 netbook into a jail on my main amd64 system to speed up builds. After some initial rough edges got fixed up, I have managed to rebuild world and a significant number of ports but jdk15 has blown up. If anyone has any suggestions, I would appreciate it.

And, just for good measure, the errors move around from run to run, though I don't have any problem building java outside the jail.

When I added '-DDISABLE_MAKE_JOBS', jdk15 built to completion but scanning the build log revealed three "Internal Error" reports against the old jdk (and I've found 3 empty hs_err files).

VM Arguments: jvm_args: -Xbootclasspath/p:../../sun/javac/javac/gjc.jar

This is concerning to me. It looks like its got the JAR from GNU's gjc in the class path. I don't really think they are going to play well together.

My non-jail amd64 build shows exactly the same sequence (apart from the VM internal errors) so I don't think this is the problem.