>>> Source prepared. >>> Configuring source in /var/tmp/portage/net-libs/nodejs-7.9.0/work/node-v7.9.0 ... Error: --without-ssl is incompatible with --shared-openssl * ERROR: net-libs/nodejs-7.9.0::gentoo failed (configure phase): * (no error message) * ----------------------------------------------------------------- This is an unstable amd64 chroot image (named 13.0-abi32+64_20170407-212656) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-5.4.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.6 (fallback) [3] python2.7 (fallback) [4] pypy (fallback) Available Ruby profiles: [1] ruby21 (with Rubygems) * java-config: The following VMs are available for generation-2:
Created attachment 469986 [details] emerge-info.txt
Created attachment 469988 [details] emerge-history.txt
Created attachment 469990 [details] environment
Created attachment 469992 [details] etc.portage.tbz2
Created attachment 469994 [details] net-libs:nodejs-7.9.0:20170413-103827.log
Created attachment 469996 [details] temp.tbz2
Created attachment 471486 [details] ebuild for disabling ssl Build nodejs either with --shared-ssl or --without-ssl. Additional patch to node is needed for building without ssl.
Created attachment 471488 [details, diff] nodejs-7.9.0-fix_disabled_openssl.patch patch for building node without ssl
When nodejs is build without ssl, npm doesn't work: probook ~ # npm internal/util.js:80 throw new Error('Node.js is not compiled with openssl crypto support'); ^ Error: Node.js is not compiled with openssl crypto support at Object.exports.assertCrypto (internal/util.js:80:11) at crypto.js:7:14 at NativeModule.compile (bootstrap_node.js:526:7) at Function.NativeModule.require (bootstrap_node.js:467:18) at Function.Module._load (module.js:427:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object.<anonymous> (/usr/lib64/node_modules/npm/node_modules/uuid/lib/rng.js:4:10) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) So maybe building node without ssl should be combined with disabling npm. At least chromium-58 could be build, so this is a workaround for libressl users.
I confirm the same problem for net-libs/nodejs-7.10.0: >>> Configuring source in /var/tmp/portage/net-libs/nodejs-7.10.0/work/node-v7.10.0 ... Error: --without-ssl is incompatible with --shared-openssl (In reply to Toralf Förster from comment #0) > >>> Source prepared. > >>> Configuring source in /var/tmp/portage/net-libs/nodejs-7.9.0/work/node-v7.9.0 ... > Error: --without-ssl is incompatible with --shared-openssl > * ERROR: net-libs/nodejs-7.9.0::gentoo failed (configure phase): > * (no error message) > *
Fixed in 8.9.1 and 9.2.0.