Created attachment 885912 [details] Build log Hi, On an up-to-date Gentoo machine, nodejs fails to compile due to # /var/tmp/portage/net-libs/nodejs-20.11.0/work/node-v20.11.0/out/Release/node_mksnapshot[4930]: int BuildSnapshot(int, char**) at ../../tools/snapshot/node_mksnapshot.cc:69 # Assertion failed: !result->early_return() Output of emerge --pqv.txt [ebuild N ] net-libs/nodejs-20.11.0 USE="icu npm snapshot ssl system-icu system-ssl -corepack -debug -doc -inspector (-lto) -pax-kernel -test" CPU_FLAGS_X86="sse2" Build log attached. Thanks,
Created attachment 885913 [details] emerge --info
After looking into it, it was actually an incorrect OpenSSL configuration that was causing the issue. Closing the issue and sorry for the noise !
(In reply to Alexis Praga from comment #2) > After looking into it, it was actually an incorrect OpenSSL configuration > that was causing the issue. Closing the issue and sorry for the noise ! Could you elaborate?
Sure. Testing the binary for nodejs complained about a badly formatted line in openssl configuration. I've been playing around with /etc/ssl/openssl.cnf so reverting the configuration file to its default version made the binary work and Gentoo package compile. Unfortunately, I don't have the "wrong" version anymore for openssl.cnf.
(In reply to Alexis Praga from comment #4) > Sure. Testing the binary for nodejs complained about a badly formatted line > in openssl configuration. I've been playing around with /etc/ssl/openssl.cnf > so reverting the configuration file to its default version made the binary > work and Gentoo package compile. Unfortunately, I don't have the "wrong" > version anymore for openssl.cnf. Thank you! This sort of thing is quite helpful to know for future debugging.