jdk9 windows build failure
Phil Race
philip.race at oracle.com
Tue Apr 14 22:42:23 UTC 2015
> What happens if you do "make java.xml.bind-java"?
Update: This *apparently* succeeded (ie it didn't say it had failed) but
it did not create the "batch" file.
And that is why the subsequent "jdk.xml.bind" target did not succeed.
After some exploration I found I was picking up an older version of
cygwin make (3.81).
Updating my path to pick up a newer cygwin version (4.1) it went smoothly.
Maybe the README-builds.html should not say "Any GNU make 3.81 or newer"
-phil.
On 4/14/2015 10:41 AM, Phil Race wrote:
>
> On 4/12/2015 11:34 PM, Erik Joelsson wrote:
>> That looks weird. What does your
>> /cygdrive/c/jdks/jdk9/build/windows-x86-normal-server-release/make-support/module-deps.gmk
>> look like?
>
> It looks OK to me. I do have these lines :-
> DEPS_java.xml.bind := java.compiler java.datatransfer java.base
> java.desktop java.logging java.activation java.xml
> ..
> DEPS_jdk.xml.bind := jdk.compiler java.compiler java.xml.bind
> java.datatransfer java.base java.desktop java.logging java.activation
> java.xml
>
> .. and lots of other similar lines. No obvious errors.
>
>> What happens if you do "make java.xml.bind-java"?
>
> sh-4.1$ make java.xml.bind-java
> Building target(s) 'java.xml.bind-java' in configuration
> 'windows-x86-normal-server-release'
> Finished building target(s) 'java.xml.bind-java' in configuration
> 'windows-x86-normal-server-release'
>
> So that part succeeded, but repeating "make" after that results in
> the same error I reported in my initial email.
>
>> Exactly how did you run make to have this happen?
>
> I typed "make" :-). Running in a cygwin shell that is inside a cmd.exe
> shell (not a cygwin window).
> Same as I have always done.
>
> -phil.
>
>>
>> /Erik
>>
>> 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
>>>
>>> -phil.
>>
>
More information about the build-dev
mailing list