g++ '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DNODE_TAG=""' '-DHAVE_OPENSSL=1' '-D__POSIX__' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D_POSIX_C_SOURCE=200112' -I/usr/include -I../src -I../tools/msvs/genfiles -I../deps/uv/src/ares -I/var/tmp/portage/net-libs/nodejs-0.9.9/work/node-v0.9.9/out/Release/obj/gen -I../deps/http_parser -I../deps/cares/include -I../deps/uv/include -I/usr/kerberos/include -Wall -Wextra -Wno-unused-parameter -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-rtti -fno-exceptions -MMD -MF /var/tmp/portage/net-libs/nodejs-0.9.9/work/node-v0.9.9/out/Release/.deps//var/tmp/portage/net-libs/nodejs-0.9.9/work/node-v0.9.9/out/Release/obj.target/node/src/node_buffer.o.d.raw -march=core2 -mtune=generic -O2 -pipe -c -o /var/tmp/portage/net-libs/nodejs-0.9.9/work/node-v0.9.9/out/Release/obj.target/node/src/node_buffer.o ../src/node_buffer.cc In file included from ../src/node.h:67:0, from ../src/handle_wrap.cc:22: ../src/node_object_wrap.h: In static member function ‘static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>)’: ../src/node_object_wrap.h:62:36: error: ‘class v8::Object’ has no member named ‘GetAlignedPointerFromInternalField’ ../src/node_object_wrap.h: In member function ‘void node::ObjectWrap::Wrap(v8::Handle<v8::Object>)’: ../src/node_object_wrap.h:73:14: error: ‘class v8::Object’ has no member named ‘SetAlignedPointerInInternalField’ ../src/handle_wrap.cc: In static member function ‘static v8::Handle<v8::Value> node::HandleWrap::Ref(const v8::Arguments&)’: ../src/handle_wrap.cc:62:3: error: ‘class v8::Object’ has no member named ‘GetAlignedPointerFromInternalField’ ../src/handle_wrap.cc: In static member function ‘static v8::Handle<v8::Value> node::HandleWrap::Unref(const v8::Arguments&)’: ../src/handle_wrap.cc:76:3: error: ‘class v8::Object’ has no member named ‘GetAlignedPointerFromInternalField’ ../src/handle_wrap.cc: In static member function ‘static v8::Handle<v8::Value> node::HandleWrap::Close(const v8::Arguments&)’: ../src/handle_wrap.cc:91:22: error: ‘class v8::Object’ has no member named ‘GetAlignedPointerFromInternalField’ ../src/handle_wrap.cc: In constructor ‘node::HandleWrap::HandleWrap(v8::Handle<v8::Object>, uv_handle_t*)’: ../src/handle_wrap.cc:115:12: error: ‘class v8::Object’ has no member named ‘SetAlignedPointerInInternalField’ ../src/handle_wrap.cc: In static member function ‘static void node::HandleWrap::OnClose(uv_handle_t*)’: ../src/handle_wrap.cc:141:18: error: ‘class v8::Object’ has no member named ‘SetAlignedPointerInInternalField’ In file included from ../src/node.h:67:0, from ../src/node_buffer.cc:23: ../src/node_object_wrap.h: In static member function ‘static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>)’: ../src/node_object_wrap.h:62:36: error: ‘class v8::Object’ has no member named ‘GetAlignedPointerFromInternalField’ ../src/node_object_wrap.h: In member function ‘void node::ObjectWrap::Wrap(v8::Handle<v8::Object>)’: ../src/node_object_wrap.h:73:14: error: ‘class v8::Object’ has no member named ‘SetAlignedPointerInInternalField’ make[1]: *** [/var/tmp/portage/net-libs/nodejs-0.9.9/work/node-v0.9.9/out/Release/obj.target/node/src/handle_wrap.o] Error 1 make[1]: *** Waiting for unfinished jobs.... ../src/node_buffer.cc: In static member function ‘static v8::Handle<v8::Object> node::Buffer::New(v8::Handle<v8::String>)’: ../src/node_buffer.cc:119:66: error: no matching function for call to ‘v8::Local<v8::Value>::New(v8::Isolate*&, v8::Handle<v8::String>&)’ ../src/node_buffer.cc:119:66: note: candidate is: /usr/include/v8.h:4193:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Value] /usr/include/v8.h:4193:10: note: candidate expects 1 argument, 2 provided In file included from ../src/node.h:67:0, from ../src/fs_event_wrap.cc:22: ../src/node_object_wrap.h: In static member function ‘static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>)’: ../src/node_object_wrap.h:62:36: error: ‘class v8::Object’ has no member named ‘GetAlignedPointerFromInternalField’ ../src/node_object_wrap.h: In member function ‘void node::ObjectWrap::Wrap(v8::Handle<v8::Object>)’: ../src/node_object_wrap.h:73:14: error: ‘class v8::Object’ has no member named ‘SetAlignedPointerInInternalField’ ../src/fs_event_wrap.cc: In static member function ‘static v8::Handle<v8::Value> node::FSEventWrap::Start(const v8::Arguments&)’: ../src/fs_event_wrap.cc:94:3: error: ‘class v8::Object’ has no member named ‘GetAlignedPointerFromInternalField’ ../src/fs_event_wrap.cc: In static member function ‘static void node::FSEventWrap::OnEvent(uv_fs_event_t*, const char*, int, int)’: ../src/fs_event_wrap.cc:156:70: error: no matching function for call to ‘v8::Local<v8::Value>::New(v8::Isolate*&, v8::Handle<v8::Primitive>)’ ../src/fs_event_wrap.cc:156:70: note: candidate is: /usr/include/v8.h:4193:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Value] /usr/include/v8.h:4193:10: note: candidate expects 1 argument, 2 provided ../src/fs_event_wrap.cc: In static member function ‘static v8::Handle<v8::Value> node::FSEventWrap::Close(const v8::Arguments&)’: ../src/fs_event_wrap.cc:175:30: error: ‘class v8::Object’ has no member named ‘GetAlignedPointerFromInternalField’ In file included from ../src/node.h:67:0, from ../src/cares_wrap.cc:29: ../src/node_object_wrap.h: In static member function ‘static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>)’: ../src/node_object_wrap.h:62:36: error: ‘class v8::Object’ has no member named ‘GetAlignedPointerFromInternalField’ In file included from ../src/node.h:67:0, from ../src/node.cc:22: ../src/node_object_wrap.h: In static member function ‘static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>)’: ../src/node_object_wrap.h:62:36: error: ‘class v8::Object’ has no member named ‘GetAlignedPointerFromInternalField’ ../src/node_object_wrap.h: In member function ‘void node::ObjectWrap::Wrap(v8::Handle<v8::Object>)’: ../src/node_object_wrap.h:73:14: error: ‘class v8::Object’ has no member named ‘SetAlignedPointerInInternalField’ ../src/node_object_wrap.h: In member function ‘void node::ObjectWrap::Wrap(v8::Handle<v8::Object>)’: ../src/node_object_wrap.h:73:14: error: ‘class v8::Object’ has no member named ‘SetAlignedPointerInInternalField’ make[1]: *** [/var/tmp/portage/net-libs/nodejs-0.9.9/work/node-v0.9.9/out/Release/obj.target/node/src/fs_event_wrap.o] Error 1 ../src/node_object_wrap.h: In static member function ‘static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>) [with T = node::Buffer]’: ../src/node_object_wrap.h:63:3: warning: control reaches end of non-void function [-Wreturn-type] ../src/cares_wrap.cc: In function ‘void node::cares_wrap::AfterGetAddrInfo(uv_getaddrinfo_t*, int, addrinfo*)’: ../src/cares_wrap.cc:735:65: error: no matching function for call to ‘v8::Local<v8::Value>::New(v8::Isolate*&, v8::Handle<v8::Primitive>)’ ../src/cares_wrap.cc:735:65: note: candidate is: /usr/include/v8.h:4193:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Value] /usr/include/v8.h:4193:10: note: candidate expects 1 argument, 2 provided ../src/cares_wrap.cc: In function ‘v8::Handle<v8::Value> node::cares_wrap::Query(const v8::Arguments&) [with Wrap = node::cares_wrap::QueryAWrap]’: ../src/cares_wrap.cc:904:54: instantiated from here ../src/cares_wrap.cc:680:76: error: no matching function for call to ‘v8::Local<v8::Object>::New(v8::Isolate*&, v8::Handle<v8::Object>)’ ../src/cares_wrap.cc:680:76: note: candidate is: /usr/include/v8.h:4193:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Object] /usr/include/v8.h:4193:10: note: candidate expects 1 argument, 2 provided ../src/cares_wrap.cc: In function ‘v8::Handle<v8::Value> node::cares_wrap::Query(const v8::Arguments&) [with Wrap = node::cares_wrap::QueryAaaaWrap]’: ../src/cares_wrap.cc:905:60: instantiated from here ../src/cares_wrap.cc:680:76: error: no matching function for call to ‘v8::Local<v8::Object>::New(v8::Isolate*&, v8::Handle<v8::Object>)’ ../src/cares_wrap.cc:680:76: note: candidate is: /usr/include/v8.h:4193:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Object] /usr/include/v8.h:4193:10: note: candidate expects 1 argument, 2 provided ../src/cares_wrap.cc: In function ‘v8::Handle<v8::Value> node::cares_wrap::Query(const v8::Arguments&) [with Wrap = node::cares_wrap::QueryCnameWrap]’: ../src/cares_wrap.cc:906:62: instantiated from here ../src/cares_wrap.cc:680:76: error: no matching function for call to ‘v8::Local<v8::Object>::New(v8::Isolate*&, v8::Handle<v8::Object>)’ ../src/cares_wrap.cc:680:76: note: candidate is: /usr/include/v8.h:4193:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Object] /usr/include/v8.h:4193:10: note: candidate expects 1 argument, 2 provided ../src/cares_wrap.cc: In function ‘v8::Handle<v8::Value> node::cares_wrap::Query(const v8::Arguments&) [with Wrap = node::cares_wrap::QueryMxWrap]’: ../src/cares_wrap.cc:907:56: instantiated from here ../src/cares_wrap.cc:680:76: error: no matching function for call to ‘v8::Local<v8::Object>::New(v8::Isolate*&, v8::Handle<v8::Object>)’ ../src/cares_wrap.cc:680:76: note: candidate is: /usr/include/v8.h:4193:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Object] /usr/include/v8.h:4193:10: note: candidate expects 1 argument, 2 provided ../src/cares_wrap.cc: In function ‘v8::Handle<v8::Value> node::cares_wrap::Query(const v8::Arguments&) [with Wrap = node::cares_wrap::QueryNsWrap]’: ../src/cares_wrap.cc:908:56: instantiated from here ../src/cares_wrap.cc:680:76: error: no matching function for call to ‘v8::Local<v8::Object>::New(v8::Isolate*&, v8::Handle<v8::Object>)’ ../src/cares_wrap.cc:680:76: note: candidate is: /usr/include/v8.h:4193:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Object] /usr/include/v8.h:4193:10: note: candidate expects 1 argument, 2 provided ../src/cares_wrap.cc: In function ‘v8::Handle<v8::Value> node::cares_wrap::Query(const v8::Arguments&) [with Wrap = node::cares_wrap::QueryTxtWrap]’: ../src/cares_wrap.cc:909:58: instantiated from here ../src/cares_wrap.cc:680:76: error: no matching function for call to ‘v8::Local<v8::Object>::New(v8::Isolate*&, v8::Handle<v8::Object>)’ ../src/cares_wrap.cc:680:76: note: candidate is: /usr/include/v8.h:4193:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Object] /usr/include/v8.h:4193:10: note: candidate expects 1 argument, 2 provided ../src/cares_wrap.cc: In function ‘v8::Handle<v8::Value> node::cares_wrap::Query(const v8::Arguments&) [with Wrap = node::cares_wrap::QuerySrvWrap]’: ../src/cares_wrap.cc:910:58: instantiated from here ../src/cares_wrap.cc:680:76: error: no matching function for call to ‘v8::Local<v8::Object>::New(v8::Isolate*&, v8::Handle<v8::Object>)’ ../src/cares_wrap.cc:680:76: note: candidate is: /usr/include/v8.h:4193:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Object] /usr/include/v8.h:4193:10: note: candidate expects 1 argument, 2 provided ../src/cares_wrap.cc: In function ‘v8::Handle<v8::Value> node::cares_wrap::Query(const v8::Arguments&) [with Wrap = node::cares_wrap::GetHostByAddrWrap]’: ../src/cares_wrap.cc:911:68: instantiated from here ../src/cares_wrap.cc:680:76: error: no matching function for call to ‘v8::Local<v8::Object>::New(v8::Isolate*&, v8::Handle<v8::Object>)’ ../src/cares_wrap.cc:680:76: note: candidate is: /usr/include/v8.h:4193:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Object] /usr/include/v8.h:4193:10: note: candidate expects 1 argument, 2 provided ../src/cares_wrap.cc: In function ‘v8::Handle<v8::Value> node::cares_wrap::QueryWithFamily(const v8::Arguments&) [with Wrap = node::cares_wrap::GetHostByNameWrap]’: ../src/cares_wrap.cc:912:78: instantiated from here ../src/cares_wrap.cc:709:76: error: no matching function for call to ‘v8::Local<v8::Object>::New(v8::Isolate*&, v8::Handle<v8::Object>)’ ../src/cares_wrap.cc:709:76: note: candidate is: /usr/include/v8.h:4193:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Object] /usr/include/v8.h:4193:10: note: candidate expects 1 argument, 2 provided make[1]: *** [/var/tmp/portage/net-libs/nodejs-0.9.9/work/node-v0.9.9/out/Release/obj.target/node/src/node_buffer.o] Error 1 make[1]: *** [/var/tmp/portage/net-libs/nodejs-0.9.9/work/node-v0.9.9/out/Release/obj.target/node/src/cares_wrap.o] Error 1 ../src/node.cc: In function ‘v8::Handle<v8::Value> node::MakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::String>, int, v8::Handle<v8::Value>*)’: ../src/node.cc:945:65: error: no matching function for call to ‘v8::Local<v8::Value>::New(v8::Isolate*&, const v8::Handle<v8::Object>&)’ ../src/node.cc:945:65: note: candidate is: /usr/include/v8.h:4193:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Value] /usr/include/v8.h:4193:10: note: candidate expects 1 argument, 2 provided ../src/node.cc:946:65: error: no matching function for call to ‘v8::Local<v8::Value>::New(v8::Isolate*&, const v8::Handle<v8::String>&)’ ../src/node.cc:946:65: note: candidate is: /usr/include/v8.h:4193:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Value] /usr/include/v8.h:4193:10: note: candidate expects 1 argument, 2 provided ../src/node.cc: In function ‘void node::Load(v8::Handle<v8::Object>)’: ../src/node.cc:2406:69: error: no matching function for call to ‘v8::Local<v8::Value>::New(v8::Isolate*&, v8::Handle<v8::Object>&)’ ../src/node.cc:2406:69: note: candidate is: /usr/include/v8.h:4193:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Value] /usr/include/v8.h:4193:10: note: candidate expects 1 argument, 2 provided make[1]: *** [/var/tmp/portage/net-libs/nodejs-0.9.9/work/node-v0.9.9/out/Release/obj.target/node/src/node.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-libs/nodejs-0.9.9/work/node-v0.9.9/out'
Looks like a v8 dependency issue. Which version of v8 is nodejs-0-9-9 meant to compile against? Why does it not check for the right version of v8 in the ebuild? Or is it simply a bug?
*** This bug has been marked as a duplicate of bug 455788 ***
Actually, what version of v8 do you have installed?
dev-lang/v8-3.14.5.3:0/3.14.5. I see from the other bug (455788) that I need v8:0/3.15.11. I'll see if I can upgrade to that without breaking chromium.
+ 16 Feb 2013; Mike Gilbert <floppym@gentoo.org> nodejs-0.9.3-r1.ebuild, + nodejs-0.9.9.ebuild: + nodejs-0.9 needs v8-3.15, bugs 457862 and 455788. +