x86_64-pc-linux-gnu-g++ '-DNODE_ARCH="x64"' '-DNODE_PLATFORM="linux"' '-DNODE_WANT_INTERNALS=1' '-DV8_DEPRECATION_WARNINGS=1' '-DHAVE_OPENSSL=1' '-D__POSIX__' -I../src -I../tools/msvs/genfiles -I../deps/uv/src/ares -I/var/tmp/portage/net-libs/nodejs-5.6.0-r1/work/node-v5.6.0/out/Release/obj/gen -I../deps/v8 -I../deps/cares/include -I../deps/v8/include -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -march=core2 -mtune=generic -O2 -pipe -c -o /var/tmp/portage/net-libs/nodejs-5.6.0-r1/work/node-v5.6.0/out/Release/obj.target/node/src/node.o ../src/node.cc In file included from ../src/js_stream.h:6:0, from ../src/js_stream.cc:1: ../src/stream_base.h:225:11: error: looser throw specifier for 'virtual node::StreamBase::~StreamBase()' ../src/stream_base.h:141:11: error: overriding 'virtual node::StreamResource::~StreamResource() noexcept (true)' In file included from ../src/js_stream.cc:1:0: ../src/js_stream.h:17:3: error: looser throw specifier for 'virtual node::JSStream::~JSStream()' In file included from ../src/js_stream.h:6:0, from ../src/js_stream.cc:1: ../src/stream_base.h:225:11: error: overriding 'virtual node::StreamBase::~StreamBase() noexcept (true)' node.target.mk:139: recipe for target '/var/tmp/portage/net-libs/nodejs-5.6.0-r1/work/node-v5.6.0/out/Release/obj.target/node/src/js_stream.o' failed make: *** [/var/tmp/portage/net-libs/nodejs-5.6.0-r1/work/node-v5.6.0/out/Release/obj.target/node/src/js_stream.o] Error 1 make: *** Waiting for unfinished jobs.... make: Leaving directory '/var/tmp/portage/net-libs/nodejs-5.6.0-r1/work/node-v5.6.0/out' * ERROR: net-libs/nodejs-5.6.0-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-libs/nodejs-5.6.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/nodejs-5.6.0-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-libs/nodejs-5.6.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/nodejs-5.6.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/nodejs-5.6.0-r1/work/node-v5.6.0' * S: '/var/tmp/portage/net-libs/nodejs-5.6.0-r1/work/node-v5.6.0' >>> Failed to emerge net-libs/nodejs-5.6.0-r1, Log file:
Created attachment 426642 [details] emerge --info output
The solution is to use newer gcc - >=4.8.0 Please, add this as a requirement for those nodejs versions
Yes, gcc 4.8 or newer is required. I'll look at doing this check more narrow: https://github.com/gentoo/gentoo/blob/master/net-libs/nodejs/nodejs-5.6.0-r1.ebuild#L43
I believe this one can be closed now, since the corresponding version of nodejs was removed.