-
Notifications
You must be signed in to change notification settings - Fork 501
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
2.8.0 Bug for sodium package #716
Comments
They're just warnings, not errors. Closing, not a valid (or good) bug report. |
Actually @bnoordhuis it does not compile.
|
That is a separate issue which is not relevant here. |
A minor release that breaks things for dependants (and hence potentially violates semver) should at least be investigated as a valid bug, right? |
There is nothing here that suggests it's actually an issue with nan. |
So it is expected that a minor version bump to |
No, of course not. But if you look carefully nothing in the upstream bug report indicates a nan related error. It's just a warning. So, the thing pasted in the upstream bug is not what caused the build to fail. Hence, there is no indication that this is actually nan's fault. If we get to see the actual error we'll certainly investigate.
See what @bnoordhuis means? |
I'm not trying to argue that this was a well-reported bug, just that there does seem to be a bug there :) The issue was never the warnings, but the fact that a return code check in node-sodium's install script (https://github.com/paixaop/node-sodium/blob/2ba53357c1e1458c156b0e2933509eebdcc8a1fa/install.js#L286-L292) started failing with nan 2.8.0, making node-sodium impossible to install. As far as I can tell from my own sleuthing, the child process in question is |
What's the signal? What gets printed to the screen?
It's unlikely. Nan is widely used, any actual breaking change would have us swamped in bug reports. Odds are better than even it's a node-sodium bug (edit: or maybe an ICE.) |
What gets printed to screen is exactly what the original reporter linked, which admittedly isn't very useful, but also isn't "just warnings":
After some poking around I found that the signal was SIGTERM. So perhaps the upgrade to nan 2.8.0 somehow causes |
After even more investigation, I think I've figured it out. child_process.exec was killing the node-gyp child process due to So I suppose that the bug is invalid after all, but you have to admit---it's a pretty odd situation! Technically the upgrade to nan 2.8.0 did cause node-sodium to stop building ;) |
How is a broken build script an odd situation? |
But congrats for solving it! |
i encountered this problem, too. The version of nan is 2.6.2 Build node-sodium module Error: make nodesodium exited with code 2 npm ERR! A complete log of this run can be found in: |
@victortony Different issue. "Unexpected end of file" means a corrupted download. |
Hello guys,
apparently
sodium
package which depends onnan
cannot be compiled anymore due to2.8.0
.Here is the issue i've opened there. paixaop/node-sodium#124
The text was updated successfully, but these errors were encountered: