Can't build latest openjdk6

2009-08-13 Thread Martin Buchholz
When I try to build latest hg openjdk6, I get: build-classes-javac: [mkdir] Created dir: /home/martinrb/ws/openjdk6/build/linux-amd64/langtools/build/gensrc [mkdir] Created dir: /home/martinrb/ws/openjdk6/build/linux-amd64/langtools/build/classes [pcompile] Generating 7 resource files to

Re: Can't build latest openjdk6

2009-08-13 Thread Jonathan Gibbons
The langtools Hudson for jdk6/jdk6/langtools is happy here, last built Aug 12, 9:02. a.m. -- Jon Martin Buchholz wrote: When I try to build latest hg openjdk6, I get: build-classes-javac: [mkdir] Created dir: /home/martinrb/ws/openjdk6/build/linux-amd64/langtools/build/gensrc [mkdir]

Re: Can't build latest openjdk6

2009-08-13 Thread Martin Buchholz
There seems to be what they like to call an impedance mismatch between make and ant. make prints JAVAC_CMD = /usr/local/google/SLASH_JAVA/re/openjdk/6/promoted/latest/binaries/linux-amd64/bin/javac -J-XX:ThreadStackSize=1536 -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -sour

Re: Can't build latest openjdk6

2009-08-13 Thread Mark Wielaard
Hi Martin, On Thu, 2009-08-13 at 15:25 -0700, Martin Buchholz wrote: > /home/martinrb/ws/openjdk6/build/linux-amd64/langtools/build/classes > [javac] javac: source release 6 requires target release 1.6 > > BUILD FAILED > /usr/local/google/home/martin/ws/openjdk6/langtools/make/build.xml:196:

Re: Can't build latest openjdk6

2009-08-13 Thread Martin Buchholz
The version of java using ant being significant means there are 3 different java versions being juggled during a single build - it's easy for us all to get very confused. I'm going to try to stay in bug-reporting mode, not bug-fixing mode, with this problem unless Jonathan/Kelly/Joe can't reproduc

Re: Can't build latest openjdk6

2009-08-13 Thread Jonathan Gibbons
The primary goal of changeset: 49:608910eef036 is to bring the langtools build into line between jdk6 and jdk7, so that we can rely on eseentially the same behavior (subject to version differences) across the two repositoiries. The override mechanism is unused and harmless since javac.so

Re: Can't build latest openjdk6

2009-08-13 Thread Martin Buchholz
It appears that ant is being invoked with "-Djavac.target=5", but not with -Djavac.source execve("/usr/bin/ant", ["ant", "-Djdk.version=1.6.0", "-Dfull.version=1.6.0-internal-ma"..., "-Dmilestone=internal", "-Dbuild.number=b00", "-Djavac.target=5", "-Dboot.java.home=/ . In turn, this may be d

Re: Can't build latest openjdk6

2009-08-13 Thread Jonathan Gibbons
Martin, Comment noted. I'm now on vacation, so I'll look at this next week. -- Jon On Aug 13, 2009, at 6:10 PM, Martin Buchholz wrote: It appears that ant is being invoked with "-Djavac.target=5", but not with -Djavac.source execve("/usr/bin/ant", ["ant", "-Djdk.version=1.6.0", "-Dfull.ver

Re: Can't build latest openjdk6

2009-08-13 Thread Joseph D. Darcy
I'll do some test builds myself on Friday. -Joe Jonathan Gibbons wrote: Martin, Comment noted. I'm now on vacation, so I'll look at this next week. -- Jon On Aug 13, 2009, at 6:10 PM, Martin Buchholz wrote: It appears that ant is being invoked with "-Djavac.target=5", but not with -Djava

Re: Can't build latest openjdk6

2009-08-13 Thread Martin Buchholz
As an experiment, I tried the obvious diff --git a/make/Defs-internal.gmk b/make/Defs-internal.gmk --- a/make/Defs-internal.gmk +++ b/make/Defs-internal.gmk @@ -205,6 +205,7 @@ JDK_MAKE_SHARED_DIR=$(ABS_JDK_TOPDIR)/make/common/shared \ EXTERNALSANITYCONTROL=true \ TARGET_CLASS_VERSI

Re: Can't build latest openjdk6

2009-08-14 Thread Andrew John Hughes
2009/8/14 Martin Buchholz : > The version of java using ant being significant > means there are 3 different java versions being juggled during > a single build - it's easy for us all to get very confused. > This is the main problem with switching to Ant for parts of the build. I remember I manage

Re: Can't build latest openjdk6

2009-08-14 Thread Andrew John Hughes
2009/8/14 Martin Buchholz : > As an experiment, I tried the obvious > > diff --git a/make/Defs-internal.gmk b/make/Defs-internal.gmk > --- a/make/Defs-internal.gmk > +++ b/make/Defs-internal.gmk > @@ -205,6 +205,7 @@ >     JDK_MAKE_SHARED_DIR=$(ABS_JDK_TOPDIR)/make/common/shared \ >     EXTERNALSAN

Re: Can't build latest openjdk6

2009-08-17 Thread Jonathan Gibbons
Martin, Thanks for the update. Since the previous langtools change was just intended to be an internal cleanup, I'll fix the langtools build so that this change is not necessary. -- Jon On Aug 13, 2009, at 11:53 PM, Martin Buchholz wrote: As an experiment, I tried the obvious diff --

Re: Can't build latest openjdk6

2009-08-17 Thread Jonathan Gibbons
I've been investigating how/why my recent change broke the build for OpenJDK 6, for which I apologize. The changeset in question is changeset: 49:608910eef036 user:jjg date:Tue Aug 11 16:40:03 2009 -0700 files: make/Makefile make/build.properties make/build.xml descripti