Skip to content
This repository has been archived by the owner on Nov 22, 2017. It is now read-only.

ninja doesn't work (ninja: fatal: posix_spawn: Invalid argument) #33

Open
skyem123 opened this issue Nov 26, 2016 · 1 comment
Open

Comments

@skyem123
Copy link

I'm not sure if this is the correct place for this as there is an issue on the main WSL thing, but I'm reporting this anyway in the hope that it can help.
Whenever the ninja build tool tries to start another program it crashes with the error ninja: fatal: posix_spawn: Invalid argument.

A good / simple way to reproduce is to compile ninja from source.
I have also put some more details at microsoft/WSL#1306 (comment).

@patstew
Copy link

patstew commented May 31, 2017

I've fixed this problem with spawn by backing out the change in glibc mentioned here microsoft/WSL#1878
The package is available on the AUR here: https://aur.archlinux.org/packages/glibc-wsl/
You need to build it on a system that already has a working glibc, e.g. a proper linux install.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants