m2 build is broken on Windows

Erik Joelsson erik.joelsson at oracle.com
Mon Oct 20 08:04:50 UTC 2014

Thanks for the report! I just came to the same conclusion. Will be 
pushing a fix as soon as I have verified the full build on Windows.


On 2014-10-19 23:09, Ludovic HOCHET wrote:
> Hello,
> After getting the latest changes for m2, I get the following when
> building on Windows:
> $ make
> Main.gmk:345: *** target pattern contains no '%'. Arrêt.
> make: Nothing to be done for 'default'.
> After some digging, it seem that the change "Implemented support for
> Gensrc-jdk.dev.gmk in multiple repos" [1] unfortunately adds to a LIB
> variable in the DeclareRecipesForPhase macro, which is initialised in
> specs.gmk with Windows paths to the SDK libs directories.
> Changing the call to the macro on line 162 of Main.gmk (LIB to LIB2),
> then declaring LIB_TARGETS := $(LIB2_TARGETS) after the call, fixes it
> for me for now.
> [1] http://hg.openjdk.java.net/jigsaw/m2/rev/065d58d7f2a3

More information about the jigsaw-dev mailing list