|
Quick Lists
|
|
Bug ID:
|
6668260
|
|
Votes
|
0
|
|
Synopsis
|
build in openjdk/jdk/make fails if openjdk/build exists
|
|
Category
|
java:build
|
|
Reported Against
|
|
|
Release Fixed
|
|
|
State
|
11-Closed, duplicate of 6668018,
bug
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
|
|
Submit Date
|
27-FEB-2008
|
|
Description
|
Building JDK inside openjdk/jdk/make fails at make/sun/security/smartcardio:
$ gmake
...
gmake[1]: Entering directory `/export/hg/jdk7/6465942/jdk/make/sun/security/smartcardio'
/usr/bin/mkdir -p ../../../../build/solaris-i586/tmp/sun/sun.security.smartcardio/j2pcsc/obj
rm -f ../../../../build/solaris-i586/tmp/sun/sun.security.smartcardio/j2pcsc/obj/.class.headers.i586
# Running javah:
/opt/jdk1.7.0/bin/javah -bootclasspath ../../../../build/solaris-i586/classes -d ../../../../build/solaris-i586/tmp/sun/sun.security.smartcardio/j2pcsc/CClassHeaders/ \
sun.security.smartcardio.PCSC sun.security.smartcardio.PlatformPCSC
error: cannot access sun.security.smartcardio.PCSC
class file for sun.security.smartcardio.PCSC not found
javadoc: error - Class sun.security.smartcardio.PCSC not found.
error: cannot access sun.security.smartcardio.PlatformPCSC
class file for sun.security.smartcardio.PlatformPCSC not found
javadoc: error - Class sun.security.smartcardio.PlatformPCSC not found.
Error: No classes were specified on the command line. Try -help.
gmake[1]: *** [../../../../build/solaris-i586/tmp/sun/sun.security.smartcardio/j2pcsc/obj/.class.headers.i586] Error 15
gmake[1]: Leaving directory `/export/hg/jdk7/6465942/jdk/make/sun/security/smartcardio'
gmake: *** [all] Error 1
Posted Date : 2008-02-27 05:06:49.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
Turns out that if you've already built the whole openjdk (formerly known as control build), building inside openjdk/jdk/make will notice the existence of class files inside openjdk/build and refuse to create them again inside openjdk/jdk/build. However, javah still looks for them in openjdk/jdk/build, that's why you see the error. I've tried removing the openjdk/build directory and the build goes on.
Posted Date : 2008-02-27 05:06:49.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |