Target "gnumake images" broken in jdk7/tl/jdk

Tim Bell Tim.Bell at Sun.COM
Fri Jun 6 17:27:33 UTC 2008


Joël wrote:

>> The target "images" is broken since I pulled 2 days ago this changeset:
>> http://hg.openjdk.java.net/jdk7/tl/jdk/rev/f494f33398f1 "6708729: 
>> update jdk Makefiles for new javap"
>>
>> The build error is:
>> [...]
>> /jmgt/mirror/jdk/6_05/promoted/latest/binaries/solaris-sparcv9/bin/jar 
>> c0f 
>> /jmgt/user/hg/repositories/jdk7/tl-local/jdk/build/solaris-sparc/lib/tools.jar 
>> -C [...] \
>>         -J-client -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m 
>> -J-XX:MaxPermSize=160m
>> /jmgt/user/hg/repositories/jdk7/tl-local/jdk/build/solaris-sparc/classes/com/sun/tools/classfile 
>> : no such file or directory
>> /jmgt/user/hg/repositories/jdk7/tl-local/jdk/build/solaris-sparc/classes/com/sun/tools/javap 
>> : no such file or directory
>> gnumake: *** [initial-image-jdk] Error 1
>>
>> Anybody else having noticed this problem?

After sleeping on this issue I believe I understand what is happening.

When you build only tl/jdk the other pieces are assembled from the latest promoted JDK.
The new classes Jon added for 6708729/6439940 are not there yet, so they are not pulled
over.  The build fails later when trying to assemble tools.jar.

The following statement applies only to the jdk7/tl forest: until b30 is promoted, you _must_
build (at least) langtools plus jdk to get the new classes added.

You may build the rest (corba hotspot jaxp jaxws etc...) if you wish.

Tim




More information about the build-dev mailing list