On Jan 18, 2010, at 1:37 PM, Mandy Chung wrote:
Hi Max,
Sorry for the bug. I have a fix for it included in the review for
6916217:
http://cr.openjdk.java.net/~mchung/6916217/webrev.00/make/common/Defs.gmk.frames.html
I can file a separate bug and fix it separately if necessary (if I
don't get the review done for 6916217 say by Tuesday).
Not necessary at all.
Thanks
Max
Thanks
Mandy
Max (Weijun) Wang wrote:
Hi
I *rebuild* JDK and it fails in make/com/sun/servicetag:
The first build shows:
/bin/chmod 444 ../../../../build/linux-i586/lib/servicetag/
jdk_header.png
dest=`echo ../../../../build/linux-i586/lib/servicetag/
jdk_header.png | /bin/sed -e 's%.*\/classes\/%classes\/%' -e 's%.*\/
tmp.sun.com.sun.servicetag\/%classes\/%' -e 's%.*\/lib\/%lib\/%' -e
's%.*\/bin\/%bin\/%' -e 's%.*\/include\/%include\/%' -e 's%.*\/demo
\/%demo\/%' -e 's%.*\/sample\/%sample\/%'` ; /bin/chmod
444 ../../../../build/linux-i586/tmp/modules/servicetag/$dest
The second shows:
dest=`echo ../../../../build/linux-i586/lib/servicetag/ | /bin/sed -
e 's%.*\/classes\/%classes\/%' -e 's%.*\/tmp.sun.com.sun.servicetag
\/%classes\/%' -e 's%.*\/lib\/%lib\/%' -e 's%.*\/bin\/%bin\/%' -e 's
%.*\/include\/%include\/%' -e 's%.*\/demo\/%demo\/%' -e 's%.*\/
sample\/%sample\/%'` ; /bin/mkdir -p ../../../../build/linux-i586/
tmp/modules/servicetag/$dest; /bin/cp ../../../../build/linux-i586/
lib/servicetag/jdk_header.png ../../../../build/linux-i586/tmp/
modules/servicetag/$dest
/bin/cp: cannot create regular file `../../../../build/linux-i586/
tmp/modules/servicetag/lib/servicetag/jdk_header.png': Permission
denied
So it seems the file was changed to read-only in the first build,
and it's not writable in the second build.
Have you met the problem?
I notice a recent change http://hg.openjdk.java.net/jdk7/tl/jdk/rev/2048
that changes the Makefile. Don't know if there's any connection
here.
Thanks
Max