FS#59394 - [nodejs-lts-carbon] The runtime breaks ABI from the official Node distribution.
Attached to Project:
Community Packages
Opened by Nicolas Noble (nicolasnoble) - Thursday, 19 July 2018, 18:08 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Thursday, 16 August 2018, 14:41 GMT
Opened by Nicolas Noble (nicolasnoble) - Thursday, 19 July 2018, 18:08 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Thursday, 16 August 2018, 14:41 GMT
|
Details
I made a similar, more detailed bug report for Ubuntu,
available here:
https://bugs.launchpad.net/ubuntu/+source/nodejs/+bug/1779863 Basically, by linking against OpenSSL 1.1 instead of OpenSSL 1.0, this package breaks NodeJS' ABI. Any precompiled binary package for node that is targeting the 8.x runtime and that uses OpenSSL will fail due to ABI changes between OpenSSL 1.0 and OpenSSL 1.1 If you want a reproduction case, check this repository: https://github.com/nicolasnoble/openssl-nodejs-ubuntu-demo - if you compile this extension using the official nodejs 8 runtime, then use this extension on arch linux's nodejs 8 runtime, it'll fail loading. |
This task depends upon
Closed by Bruno Pagani (ArchangeGabriel)
Thursday, 16 August 2018, 14:41 GMT
Reason for closing: Fixed
Additional comments about closing: Following discussions with upstream, this has been changed in 8.11.4.
Thursday, 16 August 2018, 14:41 GMT
Reason for closing: Fixed
Additional comments about closing: Following discussions with upstream, this has been changed in 8.11.4.
Please also read the discussion over at https://bugs.launchpad.net/ubuntu/+source/nodejs/+bug/1779863 and https://github.com/nodejs/node/issues/21897
In addition, it's most likely that you're also affected by this bug here: https://github.com/nodejs/node-gyp/issues/1415 - meaning that since you're linking against the wrong version of openssl, compiling node modules that depend on openssl from sources should be impossible.