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

Unable to compile on any version on Linux #126

Closed
pzduniak opened this issue Nov 17, 2017 · 7 comments
Closed

Unable to compile on any version on Linux #126

pzduniak opened this issue Nov 17, 2017 · 7 comments

Comments

@pzduniak
Copy link

Same output on base images node:9.2.0-alpine, node:9.2.0, node:8.9.1-alpine and node:8.9.1

make[4]: Entering directory '/app/node_modules/sodium/deps/libsodium/src/libsodium'
make[4]: *** No rule to make target 'crypto_scalarmult/curve25519/sandy2x/sandy2x.S', needed by 'crypto_scalarmult/curve25519/sandy2x/libsodium_la-sandy2x.lo'.  Stop.
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/app/node_modules/sodium/deps/libsodium/src/libsodium'
make[3]: Leaving directory '/app/node_modules/sodium/deps/libsodium/src/libsodium'
make[3]: *** [Makefile:3166: check-recursive] Error 1
make[2]: Leaving directory '/app/node_modules/sodium/deps/libsodium/src'
make[2]: *** [Makefile:391: check-recursive] Error 1
make[1]: *** [Makefile:503: check-recursive] Error 1
make[1]: Leaving directory '/app/node_modules/sodium/deps/libsodium'
make: *** [Makefile:65: libsodium] Error 2
/app/node_modules/sodium/install.js:288
            throw new Error(cmdLine + ' exited with code ' + code + ' signal ' + signal);
            ^

Error: make libsodium exited with code 2 signal null
    at ChildProcess.<anonymous> (/app/node_modules/sodium/install.js:288:19)
    at ChildProcess.emit (events.js:159:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)```
@pzduniak
Copy link
Author

Seems to be an issue with libsodium itself.

@timm0e
Copy link

timm0e commented Nov 18, 2017

Can confirm, tried on latest Ubuntu, Debian and Manjaro

@vekexasia
Copy link

See my ticket here -> #124

@paixaop
Copy link
Owner

paixaop commented Nov 22, 2017

upgrading to libsodium 1.0.15 and adding node 8 and node 9 support. will release soon

@paixaop
Copy link
Owner

paixaop commented Nov 23, 2017

New version released can you please test it out

@borisovg
Copy link

borisovg commented Nov 23, 2017

works for me on Alpine + Node v6.10.3

@borisovg
Copy link

borisovg commented Nov 23, 2017

also works on Debian + Node v8.9.1

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

5 participants