Skip to content

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

@alex-mayorga

Description

@alex-mayorga

¡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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions