Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd missing on Windows Subsystem for Linux (WSL) causes seemingly harmless errors #2

Open
alex-mayorga opened this issue Sep 11, 2019 · 1 comment

Comments

@alex-mayorga
Copy link

alex-mayorga commented Sep 11, 2019

¡Hola!

systemd missing on Windows Subsystem for Linux (WSL) causes seemingly harmless errors.

The tests complete successfully afterwards.

¡Gracias!
Alex

$ npx bulldohzer --doh commonshost cleanbrowsing cloudflare quad9 powerdns securedns google ../notify.cc:5:10: fatal error: systemd/sd-daemon.h: No such file or directory 5 | #include <systemd/sd-daemon.h> | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [notify.target.mk:107: Release/obj.target/notify/notify.o] Error 1 gyp ERR! build error gyp ERR! stack Error:makefailed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/home/alex/.nvm/versions/node/v12.10.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23) gyp ERR! stack at ChildProcess.emit (events.js:209:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) gyp ERR! System Linux 4.4.0-18975-Microsoft gyp ERR! command "/home/alex/.nvm/versions/node/v12.10.0/bin/node" "/home/alex/.nvm/versions/node/v12.10.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/alex/.npm/_npx/792/lib/node_modules/bulldohzer/node_modules/sd-notify gyp ERR! node -v v12.10.0 gyp ERR! node-gyp -v v5.0.3 gyp ERR! not ok [prebuilt-bindings] => Prebuilt bindings installed!

@sebdeckers
Copy link
Member

Interesting. I don't use WSL so can't really investigate it easily. From the message it looks like this is in the sd-notify dependency, not bulldohzer itself. Would you consider opening an issue at the sd-notify project? Feel free to link to this issue and I'll bump the dependency once there is a patch upstream.

https://github.com/systemd/node-sd-notify

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

No branches or pull requests

2 participants