-
Notifications
You must be signed in to change notification settings - Fork 66
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
Error, exit code1 when building on OpenBSD 7.3 #178
Comments
I might be confused, but the code noted on npm: https://www.npmjs.com/package/sodium-native?activeTab=code looks different to that in this repo. In particular, the npm version has a Just wondering if this might have something to do with the error, given that it references |
As a workaround I can install version 3.2.1 like so:
Prior to this, I had done the following (unsure whether this is required):
|
I can recreate the error by doing the following
|
Further, I think the error can be narrowed down by running:
|
The EPIPE error seems to come from the Socket within the process instantiated here, arguments 'tar','xzv': https://github.com/sodium-friends/sodium-native/blob/v3.3.0/deps/bin.js#L203 |
In particular here Where it attempts |
We don't actively test on OpenBSD but happy to fix bugs if there is any. Does it compile for you on master if you clone that and follow the instructions? |
Thank you
gives the following output logs: Output logs
Please let me know if I've missed some instructions (I can see Happy to provide more information... |
I think the failed build on the master (above) might be because my hardware (amd a4-5300B APU 1.9GHz) doesn't to support ssse3; however I'm uncertain of this. |
I get the same SSSE3 errors on a new machine with new Intel processor. So I think that lowers the likelihood of the problem being hardware related. |
I can get it to install by setting
Progress ... :-) However 90 of 5963 tests fail on running |
Updating the binding.gyp file with the below would allow node-gyp to detect openbsd and set the cflags accordingly:
I have verified this as ~working ( |
Here is the output of the failed tests: Failed tests output
|
Looks like openbsd doesn't support some of the apis. you can skip those tests on openbsd. The test output there has a lot of noise as the APIs fail |
Hello,
I get the following output on OpenBSD 7.3 amd64:
npm install sodium-native
What steps could I take?
Perhaps this is relevant: #54
The text was updated successfully, but these errors were encountered: