Created attachment 696222 [details] build.log The package failed to build with error: Error [ERR_NO_CRYPTO]: Node.js is not compiled with OpenSSL crypto support at assertCrypto (internal/util.js:119:11) at crypto.js:36:1 at NativeModule.compileForInternalLoader (internal/bootstrap/loaders.js:283:7) at NativeModule.compileForPublicLoader (internal/bootstrap/loaders.js:225:10) at loadNativeModule (internal/modules/cjs/helpers.js:35:9) at Function.Module._load (internal/modules/cjs/loader.js:740:15) at Module.require (internal/modules/cjs/loader.js:952:19) at require (internal/modules/cjs/helpers.js:88:18) at Object.<anonymous> (/usr/lib64/node_modules/yarn/lib/cli.js:2605:18) at __webpack_require__ (/usr/lib64/node_modules/yarn/lib/cli.js:22:30) make[2]: *** [gsa/CMakeFiles/gsa-ng.dir/build.make:1185: gsa/bundle.stamp] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-analyzer/greenbone-security-assistant-9.0.1/work/gsa-9.0.1_build' make[1]: *** [CMakeFiles/Makefile2:223: gsa/CMakeFiles/gsa-ng.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Node.JS was build without 'ssl' USE flag: # emerge -pqv net-libs/nodejs [ebuild R ] net-libs/nodejs-14.16.0 USE="-debug -doc -icu -inspector -npm -pax_kernel -snapshot -ssl -system-icu -system-ssl -systemtap -test" CPU_FLAGS_X86="sse2"
Created attachment 696228 [details] emerge --info
The same error for =net-analyzer/greenbone-security-assistant-20.8.1 Error [ERR_NO_CRYPTO]: Node.js is not compiled with OpenSSL crypto support at assertCrypto (internal/util.js:119:11) at crypto.js:36:1 at NativeModule.compileForInternalLoader (internal/bootstrap/loaders.js:283:7) at NativeModule.compileForPublicLoader (internal/bootstrap/loaders.js:225:10) at loadNativeModule (internal/modules/cjs/helpers.js:35:9) at Function.Module._load (internal/modules/cjs/loader.js:740:15) at Module.require (internal/modules/cjs/loader.js:952:19) at require (internal/modules/cjs/helpers.js:88:18) at Object.<anonymous> (/usr/lib64/node_modules/yarn/lib/cli.js:2605:18) at __webpack_require__ (/usr/lib64/node_modules/yarn/lib/cli.js:22:30) make[2]: *** [gsa/CMakeFiles/gsa.dir/build.make:1190: gsa/bundle.stamp] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-analyzer/greenbone-security-assistant-20.8.1/work/gsa-20.8.1_build' make[1]: *** [CMakeFiles/Makefile2:199: gsa/CMakeFiles/gsa.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....
Both .ebuilds can be fixed by depend on 'net-libs/nodejs-8.12.0[ssl]'. After re-emerging of net-libs/nodejs with 'ssl' USE flag, both .ebuilds compiled successfully.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30778473678d27befd7418c8fd7a4107bb816ec6 commit 30778473678d27befd7418c8fd7a4107bb816ec6 Author: Jonas Licht <jonas.licht@fem.tu-ilmenau.de> AuthorDate: 2021-04-09 19:09:54 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2021-04-13 10:38:04 +0000 net-analyzer/greenbone-security-assistant: fix nodejs dependency Closes: https://bugs.gentoo.org/779382 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Jonas Licht <jonas.licht@fem.tu-ilmenau.de> Closes: https://github.com/gentoo/gentoo/pull/20315 Signed-off-by: Joonas Niilola <juippis@gentoo.org> .../greenbone-security-assistant-20.8.1.ebuild | 2 +- .../greenbone-security-assistant-9.0.1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)