Build failure in make/com/sun/servicetag

Max (Weijun) Wang Weijun.Wang at Sun.COM
Mon Jan 18 01:04:47 UTC 2010


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




More information about the build-dev mailing list