m2 build is broken on Windows

Ludovic HOCHET lhochet at gmail.com
Sun Oct 19 21:09:25 UTC 2014


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
-- 
Ludovic
-----------------------------------------

"Les formes qui differencient les etres importent peu
 si leur pensees s'unissent pour batir un univers..."
 Yoko Tsuno (in 'Les titans' by Roger Leloup)
 [The shapes that differenciate beings are not important
 if their thoughts unite to build a universe]


More information about the jigsaw-dev mailing list