oasislinux / oasis

a small statically-linked linux system
Other
2.79k stars 85 forks source link

ninja: error: pkg/mc/myr.ninja #4

Closed hovind closed 6 years ago

hovind commented 6 years ago

I am following the installation guide, and run into the following issue when issuing

ninja commit

ninja: error: pkg/mc/myr.ninja:1: expected ':', got '|' ($ also escapes ':') build $outdir/lib/sys/sys.o | $outdir/lib/sys/sys.use: mc $srcdir/lib/sy... ^ near here

Not at all a pressing issue, as I don't need Myrddin, and it might be that I am doing something wrong. Thanks a lot for all of the effort you put into this system, it is greatly appreciated!

michaelforney commented 6 years ago

The syntax failing here is implicit outputs, which looks like it was added in version 1.7. I'll update it to set ninja_required_version = 1.7 so that the version requirement is clear.

Here are some possible workarounds: