jdk9 windows build failure

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Tue Apr 14 07:29:22 UTC 2015


On 2015-04-11 00:39, Phil Race wrote:
> For some time (a couple of weeks) I have run into the following error 
> whenever I try to build on Windows on my system
> I've been using forever ..  I have worked around it by doing builds 
> using JPRT but its getting annoying.
> Does anyone have a clue what I am doing wrong. This happens on brand 
> new clean forests etc.
>
> make[3]: *** No rule to make target 
> `/cygdrive/c/jdks/jdk9/build/windows-x86-normal-server-release/jdk/modules/java.xml.bind/_the.java.xml.bind_batch', 
> needed by 
> `/cygdrive/c/jdks/jdk9/build/windows-x86-normal-server-release/jdk/modules/jdk.xml.bind/_the.jdk.xml.bind_batch'. 
> Stop.
> make[3]: *** Waiting for unfinished jobs....
> make[2]: *** [jdk.xml.bind-java] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[3]: *** No rule to make target 
> `/cygdrive/c/jdks/jdk9/build/windows-x86-normal-server-release/jdk/modules/java.xml.bind/_the.java.xml.bind_batch', 
> needed by 
> `/cygdrive/c/jdks/jdk9/build/windows-x86-normal-server-release/jdk/modules/java.xml.ws/_the.java.xml.ws_batch'. 
> Stop.
> make[3]: *** Waiting for unfinished jobs....
> make[2]: *** [java.xml.ws-java] Error 1

It sounds like you have tested the three-stage more effective 
sledgehammer technique:
1) make clean
2) make dist-clean
3) make a new clone from hg.openjdk.java.net

If you say this happens recently, there might have been a change 
(backported to jdk8, as well, apparently) that triggered this. What 
happens if you update the forest not at the tip, but at some point in 
time some months ago, before the symptoms started to appear? Be sure to 
do a make clean or make dist-clean before building after going back in 
time, just to be sure.

/Magnus



More information about the build-dev mailing list