Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6674227
Votes 0
Synopsis Missing LICENSE file during build (jprt build issue)
Category java:build
Reported Against
Release Fixed 7(b34)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs 6637369 , 6675289
Submit Date 12-MAR-2008
Description
Not sure how predictable this build error is, filing a bug so that when we fix it we have a record of the fix.

...
gnumake[4]: Leaving directory `/BUILD_AREA/jdk7/jdk/make/docs'
  Timing: 00184 seconds or 3m4s for make-docs
<<<Finished Recursively making docs docs @ Tue Mar 11 12:25: customer  PST 2008.
Done Processing OTHERSUBDIRS: docs
>>>Making images @ Tue Mar 11 12:25: customer  PST 2008 ...
>>>Making initial-image-jre @ Tue Mar 11 12:25: customer  PST 2008 ...
rm -f -r /BUILD_AREA/jdk7/build/linux-i586/open-output/j2re-image
/bin/mkdir -p /BUILD_AREA/jdk7/build/linux-i586/open-output/j2re-image
gnumake[3]: *** No rule to make target `/BUILD_AREA/jdk7/build/linux-i586/open-output/j2re-image/LICENSE', needed by `initial-image-jre'.  Stop.
gnumake[3]: Leaving directory `/BUILD_AREA/jdk7/jdk/make'
gnumake[2]: *** [jdk-build] Error 2
gnumake[2]: Leaving directory `/BUILD_AREA/jdk7'
gnumake[1]: *** [product_build] Error 2
gnumake[1]: Leaving directory `/BUILD_AREA/jdk7'
gnumake: *** [openjdk_build] Error 2
## Linux IA 32-bit local build finished on dol-lini586
Posted Date : 2008-03-12 00:27:29.0
Work Around
N/A
Evaluation
It appears like the make pattern rule is not finding this file, when all indications are that the file exists. So why does the pattern rule fail? Only seen this on Linux 32bit so far.
Posted Date : 2008-03-12 00:27:29.0

If the openjdk source came from an openjdk source bundle, then there could be a missing LICENSE file.
The openjdk source bundle logic was changed via 6637369 and this problem might be solved now, need to test again.
Posted Date : 2008-05-01 22:10:54.0

It appears that jprt at least reproduces this because only the make and src directories were bundled and not the top files in the repository.  So at least one fix is fixing the jprt.properties file for the jdk repository.

There were some LICENSE like files in jdk/make that have been removed. For open builds, files like LICENSE are copied from the top of the repository and into the jdk and jre images.

This bug will be used to fix the problem with the jprt.properties file.
Posted Date : 2008-08-12 23:20:33.0

http://hg.openjdk.java.net/jdk7/build/jdk/rev/b010683123b3
Posted Date : 2008-08-15 05:06:45.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang