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: 6672777
Votes 0
Synopsis Broken deploy build from jdk fix 6668781 for cygwin windows
Category java:build
Reported Against
Release Fixed 6-open(b07), 7(b25) (Bug ID:2159925)
State 10-Fix Delivered, bug
Priority: 2-High
Related Bugs 6668781
Submit Date 07-MAR-2008
Description
The fix for cygwin builds and the vpath issue:

6668781: Openjdk windows cygwin build failure: no rule to make linker_md.obj target
http://hg.openjdk.java.net/jdk7/build/jdk/rev/82c85cfd8402

The deploy workspace had actually reached into the jdk source tree and done it's own javac compile of some of the awt sources. :^( My fix (which I still think is correct), broke some logic in the deploy makefiles.

gmake[2]: Entering directory `/net/bonsai.sfbay.sun.com/u/ohair/hgws7/jdk7/jdk7-build/deploy/make/plugin'
Building deploy.jar ... 
/net/bonsai.sfbay.sun.com/u/ohair/hgws7/jdk7/jdk7-build/build/solaris-i586/bin/jar cf /net/bonsai.sfbay.sun.com/u/ohair/hgws7/jdk7/jdk7-build/build/solaris-i586/tmp/deploy/common/lib/deploy.jar -C "/net/bonsai.sfbay.sun.com/u/ohair/hgws7/jdk7/jdk7-build/build/solaris-i586/tmp/deploy/deployClasses" com/sun/deploy -C "/net/bonsai.sfbay.sun.com/u/ohair/hgws7/jdk7/jdk7-build/build/solaris-i586/tmp/deploy/deployClasses" sun/net/www/protocol/http
/usr/bin/cp /net/bonsai.sfbay.sun.com/u/ohair/hgws7/jdk7/jdk7-build/build/solaris-i586/tmp/deploy/common/lib/deploy.jar /net/bonsai.sfbay.sun.com/u/ohair/hgws7/jdk7/jdk7-build/build/solaris-i586/lib/deploy.jar 
Finish building deploy.jar ... 
gmake -C java all
gmake[3]: Entering directory `/net/bonsai.sfbay.sun.com/u/ohair/hgws7/jdk7/jdk7-build/deploy/make/plugin/java'
gmake[3]: *** No rule to make target `/net/bonsai.sfbay.sun.com/u/ohair/hgws7/jdk7/jdk7-build/build/solaris-i586/tmp/deploy/plugin/classes/sun/awt/EmbeddedFrame.class', needed by `/net/bonsai.sfbay.sun.com/u/ohair/hgws7/jdk7/jdk7-build/build/solaris-i586/tmp/deploy/plugin/obj/.class.headers.i586'.  Stop.
gmake[3]: Leaving directory `/net/bonsai.sfbay.sun.com/u/ohair/hgws7/jdk7/jdk7-build/deploy/make/plugin/java'
gmake[2]: *** [java] Error 2
gmake[2]: Leaving directory `/net/bonsai.sfbay.sun.com/u/ohair/hgws7/jdk7/jdk7-build/deploy/make/plugin'
gmake[1]: *** [plugin-all] Error 2
gmake[1]: Leaving directory `/net/bonsai.sfbay.sun.com/u/ohair/hgws7/jdk7/jdk7-build/deploy/make'
gmake: *** [deploy-build] Error 2
Posted Date : 2008-03-07 17:39:27.0
Work Around
N/A
Evaluation
Trying the following fix:

######### File: jdk/make/common/Defs.gmk
######### (cd . && sccs diffs  -w -s -b Defs.gmk)

------- Defs.gmk -------
43a44
>   ifdef BUILDDIR
44a46,47
>   else
>     JDK_TOPDIR:=$(error "ERROR: Cannot define top of jdk repository")
45a49,53
> endif
> ifndef BUILDDIR
>   # Hack, due to deploy repository using this file.
>   BUILDDIR=$(JDK_TOPDIR)/make
> endif
Posted Date : 2008-03-07 21:43:07.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang