Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/nodejs-node-expat.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-8c1fcd9f35dc11ebfc34529ce85b7435a9f30cf6/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/nodejs-node-expat.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/nodejs-node-expat-2.1.4-5.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/nodejs-node-expat.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-8c1fcd9f35dc11ebfc34529ce85b7435a9f30cf6/root'shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/nodejs-node-expat.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GEX0vp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf package + /usr/bin/gzip -dc /builddir/build/SOURCES/node-expat-2.1.4.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd package + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (nodejs-node-expat-2.1.4-Use-system-expat.patch): + echo 'Patch #0 (nodejs-node-expat-2.1.4-Use-system-expat.patch):' + /usr/bin/cat /builddir/build/SOURCES/nodejs-node-expat-2.1.4-Use-system-expat.patch + /usr/bin/patch -p1 --fuzz=0 patching file binding.gyp patching file deps/libexpat/libexpat.gyp + rm -rf deps/ + cp -p /usr/lib/node_modules/nan@0/nan.h . + /usr/lib/rpm/nodejs-fixdep nan 0.8 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eaJE9g + umask 022 + cd /builddir/build/BUILD + cd package + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules --check + export 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + node-gyp rebuild gyp info it worked if it ends with ok gyp info using node-gyp@0.10.6 gyp info using node@6.12.0 | linux | arm gyp info spawn python gyp info spawn args [ '/usr/bin/gyp', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/builddir/build/BUILD/package/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/lib/node_modules/node-gyp/addon-rpm.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/share/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/usr/share/node', gyp info spawn args '-Dmodule_root_dir=/builddir/build/BUILD/package', gyp info spawn args '--depth=.', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' ] (node:5854) DeprecationWarning: child_process: options.customFds option is deprecated. Use options.stdio instead. gyp info spawn make make: Entering directory `/builddir/build/BUILD/package/build' gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] CXX(target) Release/obj.target/node_expat/node-expat.o In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h: In function 'v8::Handle NanError(const char*)': ../../../../../usr/lib/node_modules/nan@0/nan.h:319:38: error: 'New' is not a member of 'v8::String' # define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:339:13: note: in expansion of macro '_NAN_ERROR' return _NAN_ERROR(v8::Exception::Error, errmsg); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h: In function 'void NanThrowError(const char*)': ../../../../../usr/lib/node_modules/nan@0/nan.h:324:7: error: 'ThrowException' is not a member of 'v8' v8::ThrowException(_NAN_ERROR(fun, errmsg)); \ ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:343:5: note: in expansion of macro '_NAN_THROW_ERROR' _NAN_THROW_ERROR(v8::Exception::Error, errmsg); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:319:38: error: 'New' is not a member of 'v8::String' # define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:324:26: note: in expansion of macro '_NAN_ERROR' v8::ThrowException(_NAN_ERROR(fun, errmsg)); \ ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:343:5: note: in expansion of macro '_NAN_THROW_ERROR' _NAN_THROW_ERROR(v8::Exception::Error, errmsg); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h: In function 'void NanThrowError(v8::Handle)': ../../../../../usr/lib/node_modules/nan@0/nan.h:348:5: error: 'ThrowException' is not a member of 'v8' v8::ThrowException(error); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h: In function 'v8::Handle NanError(const char*, int)': ../../../../../usr/lib/node_modules/nan@0/nan.h:355:53: error: 'New' is not a member of 'v8::String' v8::Local err = v8::Exception::Error(v8::String::New(msg)); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:357:14: error: 'New' is not a member of 'v8::String' obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber)); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:357:65: error: no matching function for call to 'v8::Int32::New(const int&)' obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber)); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:357:65: note: candidate is: In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:2558:25: note: static v8::Local v8::Integer::New(v8::Isolate*, int32_t) static Local New(Isolate* isolate, int32_t value); ^ /usr/include/node/v8.h:2558:25: note: candidate expects 2 arguments, 1 provided In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h: In function 'v8::Handle NanTypeError(const char*)': ../../../../../usr/lib/node_modules/nan@0/nan.h:319:38: error: 'New' is not a member of 'v8::String' # define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:369:12: note: in expansion of macro '_NAN_ERROR' return _NAN_ERROR(v8::Exception::TypeError, errmsg); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h: In function 'void NanThrowTypeError(const char*)': ../../../../../usr/lib/node_modules/nan@0/nan.h:324:7: error: 'ThrowException' is not a member of 'v8' v8::ThrowException(_NAN_ERROR(fun, errmsg)); \ ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:373:5: note: in expansion of macro '_NAN_THROW_ERROR' _NAN_THROW_ERROR(v8::Exception::TypeError, errmsg); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:319:38: error: 'New' is not a member of 'v8::String' # define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:324:26: note: in expansion of macro '_NAN_ERROR' v8::ThrowException(_NAN_ERROR(fun, errmsg)); \ ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:373:5: note: in expansion of macro '_NAN_THROW_ERROR' _NAN_THROW_ERROR(v8::Exception::TypeError, errmsg); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h: In function 'v8::Handle NanRangeError(const char*)': ../../../../../usr/lib/node_modules/nan@0/nan.h:319:38: error: 'New' is not a member of 'v8::String' # define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:377:12: note: in expansion of macro '_NAN_ERROR' return _NAN_ERROR(v8::Exception::RangeError, errmsg); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h: In function 'void NanThrowRangeError(const char*)': ../../../../../usr/lib/node_modules/nan@0/nan.h:324:7: error: 'ThrowException' is not a member of 'v8' v8::ThrowException(_NAN_ERROR(fun, errmsg)); \ ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:381:5: note: in expansion of macro '_NAN_THROW_ERROR' _NAN_THROW_ERROR(v8::Exception::RangeError, errmsg); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:319:38: error: 'New' is not a member of 'v8::String' # define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:324:26: note: in expansion of macro '_NAN_ERROR' v8::ThrowException(_NAN_ERROR(fun, errmsg)); \ ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:381:5: note: in expansion of macro '_NAN_THROW_ERROR' _NAN_THROW_ERROR(v8::Exception::RangeError, errmsg); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h: At global scope: ../../../../../usr/lib/node_modules/nan@0/nan.h:406:13: error: 'node::smalloc' has not been declared , node::smalloc::FreeCallback callback ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:141:71: note: in definition of macro 'NAN_INLINE' # define NAN_INLINE(declarator) inline __attribute__((always_inline)) declarator ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:406:35: error: expected ',' or '...' before 'callback' , node::smalloc::FreeCallback callback ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:141:71: note: in definition of macro 'NAN_INLINE' # define NAN_INLINE(declarator) inline __attribute__((always_inline)) declarator ^ ../../../../../usr/lib/node_modules/nan@0/nan.h: In function 'v8::Local NanNewBufferHandle(char*, size_t, int)': ../../../../../usr/lib/node_modules/nan@0/nan.h:409:44: error: 'callback' was not declared in this scope return node::Buffer::New(data, length, callback, hint); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:409:54: error: 'hint' was not declared in this scope return node::Buffer::New(data, length, callback, hint); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h: In function 'v8::Local NanNewBufferHandle(char*, uint32_t)': ../../../../../usr/lib/node_modules/nan@0/nan.h:416:40: error: no matching function for call to 'New(char*&, uint32_t&)' return node::Buffer::New(data, size); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:416:40: note: candidates are: In file included from ../../../../../usr/lib/node_modules/nan@0/nan.h:135:0, from ../node-expat.cc:1: /usr/include/node/node_buffer.h:31:40: note: v8::MaybeLocal node::Buffer::New(v8::Isolate*, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, size_t length); ^ /usr/include/node/node_buffer.h:31:40: note: no known conversion for argument 1 from 'char*' to 'v8::Isolate*' /usr/include/node/node_buffer.h:34:40: note: v8::MaybeLocal node::Buffer::New(v8::Isolate*, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, ^ /usr/include/node/node_buffer.h:34:40: note: no known conversion for argument 1 from 'char*' to 'v8::Isolate*' /usr/include/node/node_buffer.h:39:40: note: v8::MaybeLocal node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*) NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, ^ /usr/include/node/node_buffer.h:39:40: note: candidate expects 5 arguments, 2 provided /usr/include/node/node_buffer.h:46:40: note: v8::MaybeLocal node::Buffer::New(v8::Isolate*, char*, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, ^ /usr/include/node/node_buffer.h:46:40: note: candidate expects 3 arguments, 2 provided In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h: In function 'v8::Local NanNewBufferHandle(uint32_t)': ../../../../../usr/lib/node_modules/nan@0/nan.h:420:34: error: no matching function for call to 'New(uint32_t&)' return node::Buffer::New(size); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:420:34: note: candidates are: In file included from ../../../../../usr/lib/node_modules/nan@0/nan.h:135:0, from ../node-expat.cc:1: /usr/include/node/node_buffer.h:31:40: note: v8::MaybeLocal node::Buffer::New(v8::Isolate*, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, size_t length); ^ /usr/include/node/node_buffer.h:31:40: note: candidate expects 2 arguments, 1 provided /usr/include/node/node_buffer.h:34:40: note: v8::MaybeLocal node::Buffer::New(v8::Isolate*, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, ^ /usr/include/node/node_buffer.h:34:40: note: candidate expects 3 arguments, 1 provided /usr/include/node/node_buffer.h:39:40: note: v8::MaybeLocal node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*) NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, ^ /usr/include/node/node_buffer.h:39:40: note: candidate expects 5 arguments, 1 provided /usr/include/node/node_buffer.h:46:40: note: v8::MaybeLocal node::Buffer::New(v8::Isolate*, char*, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, ^ /usr/include/node/node_buffer.h:46:40: note: candidate expects 3 arguments, 1 provided In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h: In function 'v8::Local NanBufferUse(char*, uint32_t)': ../../../../../usr/lib/node_modules/nan@0/nan.h:427:12: error: 'Use' is not a member of 'node::Buffer' return node::Buffer::Use(data, size); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h: In constructor 'NanCallback::NanCallback()': ../../../../../usr/lib/node_modules/nan@0/nan.h:727:49: error: no matching function for call to 'v8::Object::New()' v8::Local obj = v8::Object::New(); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:727:49: note: candidate is: In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:3006:24: note: static v8::Local v8::Object::New(v8::Isolate*) static Local New(Isolate* isolate); ^ /usr/include/node/v8.h:3006:24: note: candidate expects 1 argument, 0 provided In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h: In constructor 'NanCallback::NanCallback(v8::Handle&)': ../../../../../usr/lib/node_modules/nan@0/nan.h:733:49: error: no matching function for call to 'v8::Object::New()' v8::Local obj = v8::Object::New(); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:733:49: note: candidate is: In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:3006:24: note: static v8::Local v8::Object::New(v8::Isolate*) static Local New(Isolate* isolate); ^ /usr/include/node/v8.h:3006:24: note: candidate expects 1 argument, 0 provided In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h: In destructor 'NanCallback::~NanCallback()': ../../../../../usr/lib/node_modules/nan@0/nan.h:740:12: error: 'class v8::Persistent' has no member named 'Dispose' handle.Dispose(); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:741:12: error: 'class v8::Persistent' has no member named 'Clear' handle.Clear(); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h: In member function 'void NanCallback::SetFunction(v8::Handle&)': ../../../../../usr/lib/node_modules/nan@0/nan.h:181:26: error: 'NewSymbol' is not a member of 'v8::String' #define NanSymbol(value) v8::String::NewSymbol(value) ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:746:39: note: in expansion of macro 'NanSymbol' NanPersistentToLocal(handle)->Set(NanSymbol("callback"), fn); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h: In member function 'v8::Local NanCallback::GetFunction()': ../../../../../usr/lib/node_modules/nan@0/nan.h:181:26: error: 'NewSymbol' is not a member of 'v8::String' #define NanSymbol(value) v8::String::NewSymbol(value) ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:750:46: note: in expansion of macro 'NanSymbol' return NanPersistentToLocal(handle)->Get(NanSymbol("callback")) ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:751:25: error: expected primary-expression before '>' token .As(); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:751:27: error: expected primary-expression before ')' token .As(); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h: In member function 'void NanCallback::Call(int, v8::Handle*)': ../../../../../usr/lib/node_modules/nan@0/nan.h:181:26: error: 'NewSymbol' is not a member of 'v8::String' #define NanSymbol(value) v8::String::NewSymbol(value) ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:759:13: note: in expansion of macro 'NanSymbol' Get(NanSymbol("callback")).As(); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:759:51: error: expected primary-expression before '>' token Get(NanSymbol("callback")).As(); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:759:53: error: expected primary-expression before ')' token Get(NanSymbol("callback")).As(); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:761:9: error: 'GetCurrent' is not a member of 'v8::Context' v8::Context::GetCurrent()->Global() ^ ../../../../../usr/lib/node_modules/nan@0/nan.h: In member function 'void NanAsyncWorker::SavePersistent(const char*, v8::Local&)': ../../../../../usr/lib/node_modules/nan@0/nan.h:181:26: error: 'NewSymbol' is not a member of 'v8::String' #define NanSymbol(value) v8::String::NewSymbol(value) ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:808:17: note: in expansion of macro 'NanSymbol' handle->Set(NanSymbol(key), obj); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h: In member function 'v8::Local NanAsyncWorker::GetFromPersistent(const char*)': ../../../../../usr/lib/node_modules/nan@0/nan.h:181:26: error: 'NewSymbol' is not a member of 'v8::String' #define NanSymbol(value) v8::String::NewSymbol(value) ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:815:24: note: in expansion of macro 'NanSymbol' return handle->Get(NanSymbol(key)).As(); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:815:53: error: expected primary-expression before '>' token return handle->Get(NanSymbol(key)).As(); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:815:55: error: expected primary-expression before ')' token return handle->Get(NanSymbol(key)).As(); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h: In member function 'virtual void NanAsyncWorker::HandleErrorCallback()': ../../../../../usr/lib/node_modules/nan@0/nan.h:837:30: error: 'New' is not a member of 'v8::String' v8::Exception::Error(v8::String::New(errmsg)) ^ ../../../../../usr/lib/node_modules/nan@0/nan.h: In function 'bool _NanGetExternalParts(v8::Handle, const char**, size_t*)': ../../../../../usr/lib/node_modules/nan@0/nan.h:1005:12: error: 'class v8::String' has no member named 'IsExternalAscii' if (str->IsExternalAscii()) { ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:1006:11: error: 'ExternalAsciiStringResource' in 'class v8::String' does not name a type const v8::String::ExternalAsciiStringResource* ext; ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:1007:5: error: 'ext' was not declared in this scope ext = str->GetExternalAsciiStringResource(); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:1007:16: error: 'class v8::String' has no member named 'GetExternalAsciiStringResource' ext = str->GetExternalAsciiStringResource(); ^ ../node-expat.cc: In static member function 'static void Parser::Initialize(v8::Handle)': ../node-expat.cc:14:58: error: no matching function for call to 'v8::FunctionTemplate::New(void (&)(const v8::FunctionCallbackInfo&))' Local t = FunctionTemplate::New(New); ^ ../node-expat.cc:14:58: note: candidates are: In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:4485:34: note: static v8::Local v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/node/v8.h:4485:34: note: no known conversion for argument 1 from 'void(const v8::FunctionCallbackInfo&)' to 'v8::Isolate*' /usr/include/node/v8.h:4489:34: note: static v8::Local v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /usr/include/node/v8.h:4489:34: note: candidate expects 6 arguments, 1 provided In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h:181:26: error: 'NewSymbol' is not a member of 'v8::String' #define NanSymbol(value) v8::String::NewSymbol(value) ^ ../node-expat.cc:28:17: note: in expansion of macro 'NanSymbol' target->Set(NanSymbol("Parser"), t->GetFunction()); ^ ../node-expat.cc: In static member function 'static void Parser::Parse(const v8::FunctionCallbackInfo&)': ../node-expat.cc:96:67: error: too few arguments to function 'v8::Local v8::True(v8::Isolate*)' NanReturnValue(parser->parseString(**str, isFinal) ? True() : False()); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:8562:16: note: declared here Local True(Isolate* isolate) { ^ In file included from ../node-expat.cc:1:0: ../node-expat.cc:96:77: error: too few arguments to function 'v8::Local v8::False(v8::Isolate*)' NanReturnValue(parser->parseString(**str, isFinal) ? True() : False()); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:8571:16: note: declared here Local False(Isolate* isolate) { ^ In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h:301:70: error: return-statement with a value, in function returning 'void' [-fpermissive] # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ ../node-expat.cc:96:9: note: in expansion of macro 'NanReturnValue' NanReturnValue(parser->parseString(**str, isFinal) ? True() : False()); ^ ../node-expat.cc:103:67: error: too few arguments to function 'v8::Local v8::True(v8::Isolate*)' NanReturnValue(parser->parseBuffer(obj, isFinal) ? True() : False()); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:8562:16: note: declared here Local True(Isolate* isolate) { ^ In file included from ../node-expat.cc:1:0: ../node-expat.cc:103:77: error: too few arguments to function 'v8::Local v8::False(v8::Isolate*)' NanReturnValue(parser->parseBuffer(obj, isFinal) ? True() : False()); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:8571:16: note: declared here Local False(Isolate* isolate) { ^ In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h:301:70: error: return-statement with a value, in function returning 'void' [-fpermissive] # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ ../node-expat.cc:103:11: note: in expansion of macro 'NanReturnValue' NanReturnValue(parser->parseBuffer(obj, isFinal) ? True() : False()); ^ ../node-expat.cc: In static member function 'static void Parser::SetEncoding(const v8::FunctionCallbackInfo&)': ../node-expat.cc:154:38: error: too few arguments to function 'v8::Local v8::True(v8::Isolate*)' NanReturnValue(status ? True() : False()); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:8562:16: note: declared here Local True(Isolate* isolate) { ^ In file included from ../node-expat.cc:1:0: ../node-expat.cc:154:48: error: too few arguments to function 'v8::Local v8::False(v8::Isolate*)' NanReturnValue(status ? True() : False()); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:8571:16: note: declared here Local False(Isolate* isolate) { ^ In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h:301:70: error: return-statement with a value, in function returning 'void' [-fpermissive] # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ ../node-expat.cc:154:9: note: in expansion of macro 'NanReturnValue' NanReturnValue(status ? True() : False()); ^ ../node-expat.cc:157:28: error: too few arguments to function 'v8::Local v8::False(v8::Isolate*)' NanReturnValue(False()); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:8571:16: note: declared here Local False(Isolate* isolate) { ^ In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h:301:70: error: return-statement with a value, in function returning 'void' [-fpermissive] # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ ../node-expat.cc:157:7: note: in expansion of macro 'NanReturnValue' NanReturnValue(False()); ^ ../node-expat.cc: In static member function 'static void Parser::GetError(const v8::FunctionCallbackInfo&)': ../node-expat.cc:174:22: error: 'New' is not a member of 'v8::String' NanReturnValue(String::New(error)); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:70: error: return-statement with a value, in function returning 'void' [-fpermissive] # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ ../node-expat.cc:174:7: note: in expansion of macro 'NanReturnValue' NanReturnValue(String::New(error)); ^ ../node-expat.cc:176:27: error: too few arguments to function 'v8::Local v8::Null(v8::Isolate*)' NanReturnValue(Null()); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:325:27: note: declared here friend Local Null(Isolate* isolate); ^ In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h:301:70: error: return-statement with a value, in function returning 'void' [-fpermissive] # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ ../node-expat.cc:176:7: note: in expansion of macro 'NanReturnValue' NanReturnValue(Null()); ^ ../node-expat.cc: In static member function 'static void Parser::Stop(const v8::FunctionCallbackInfo&)': ../node-expat.cc:188:34: error: too few arguments to function 'v8::Local v8::True(v8::Isolate*)' NanReturnValue(status ? True() : False()); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:8562:16: note: declared here Local True(Isolate* isolate) { ^ In file included from ../node-expat.cc:1:0: ../node-expat.cc:188:44: error: too few arguments to function 'v8::Local v8::False(v8::Isolate*)' NanReturnValue(status ? True() : False()); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:8571:16: note: declared here Local False(Isolate* isolate) { ^ In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h:301:70: error: return-statement with a value, in function returning 'void' [-fpermissive] # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ ../node-expat.cc:188:5: note: in expansion of macro 'NanReturnValue' NanReturnValue(status ? True() : False()); ^ ../node-expat.cc: In static member function 'static void Parser::Resume(const v8::FunctionCallbackInfo&)': ../node-expat.cc:205:34: error: too few arguments to function 'v8::Local v8::True(v8::Isolate*)' NanReturnValue(status ? True() : False()); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:8562:16: note: declared here Local True(Isolate* isolate) { ^ In file included from ../node-expat.cc:1:0: ../node-expat.cc:205:44: error: too few arguments to function 'v8::Local v8::False(v8::Isolate*)' NanReturnValue(status ? True() : False()); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:8571:16: note: declared here Local False(Isolate* isolate) { ^ In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h:301:70: error: return-statement with a value, in function returning 'void' [-fpermissive] # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ ../node-expat.cc:205:5: note: in expansion of macro 'NanReturnValue' NanReturnValue(status ? True() : False()); ^ ../node-expat.cc: In static member function 'static void Parser::Reset(const v8::FunctionCallbackInfo&)': ../node-expat.cc:227:34: error: too few arguments to function 'v8::Local v8::True(v8::Isolate*)' NanReturnValue(status ? True() : False()); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:8562:16: note: declared here Local True(Isolate* isolate) { ^ In file included from ../node-expat.cc:1:0: ../node-expat.cc:227:44: error: too few arguments to function 'v8::Local v8::False(v8::Isolate*)' NanReturnValue(status ? True() : False()); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:8571:16: note: declared here Local False(Isolate* isolate) { ^ In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h:301:70: error: return-statement with a value, in function returning 'void' [-fpermissive] # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ ../node-expat.cc:227:5: note: in expansion of macro 'NanReturnValue' NanReturnValue(status ? True() : False()); ^ ../node-expat.cc: In static member function 'static void Parser::GetCurrentLineNumber(const v8::FunctionCallbackInfo&)': ../node-expat.cc:246:75: error: no matching function for call to 'v8::Integer::NewFromUnsigned(uint32_t)' NanReturnValue(Integer::NewFromUnsigned(parser->getCurrentLineNumber())); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ ../node-expat.cc:246:75: note: candidate is: NanReturnValue(Integer::NewFromUnsigned(parser->getCurrentLineNumber())); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:2559:25: note: static v8::Local v8::Integer::NewFromUnsigned(v8::Isolate*, uint32_t) static Local NewFromUnsigned(Isolate* isolate, uint32_t value); ^ /usr/include/node/v8.h:2559:25: note: candidate expects 2 arguments, 1 provided In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h:301:70: error: return-statement with a value, in function returning 'void' [-fpermissive] # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ ../node-expat.cc:246:5: note: in expansion of macro 'NanReturnValue' NanReturnValue(Integer::NewFromUnsigned(parser->getCurrentLineNumber())); ^ ../node-expat.cc: In static member function 'static void Parser::GetCurrentColumnNumber(const v8::FunctionCallbackInfo&)': ../node-expat.cc:259:77: error: no matching function for call to 'v8::Integer::NewFromUnsigned(uint32_t)' NanReturnValue(Integer::NewFromUnsigned(parser->getCurrentColumnNumber())); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ ../node-expat.cc:259:77: note: candidate is: NanReturnValue(Integer::NewFromUnsigned(parser->getCurrentColumnNumber())); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:2559:25: note: static v8::Local v8::Integer::NewFromUnsigned(v8::Isolate*, uint32_t) static Local NewFromUnsigned(Isolate* isolate, uint32_t value); ^ /usr/include/node/v8.h:2559:25: note: candidate expects 2 arguments, 1 provided In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h:301:70: error: return-statement with a value, in function returning 'void' [-fpermissive] # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ ../node-expat.cc:259:5: note: in expansion of macro 'NanReturnValue' NanReturnValue(Integer::NewFromUnsigned(parser->getCurrentColumnNumber())); ^ ../node-expat.cc: In static member function 'static void Parser::GetCurrentByteIndex(const v8::FunctionCallbackInfo&)': ../node-expat.cc:272:62: error: no matching function for call to 'v8::Integer::New(int32_t)' NanReturnValue(Integer::New(parser->getCurrentByteIndex())); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ ../node-expat.cc:272:62: note: candidate is: NanReturnValue(Integer::New(parser->getCurrentByteIndex())); ^ ../../../../../usr/lib/node_modules/nan@0/nan.h:301:65: note: in definition of macro 'NanReturnValue' # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:2558:25: note: static v8::Local v8::Integer::New(v8::Isolate*, int32_t) static Local New(Isolate* isolate, int32_t value); ^ /usr/include/node/v8.h:2558:25: note: candidate expects 2 arguments, 1 provided In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h:301:70: error: return-statement with a value, in function returning 'void' [-fpermissive] # define NanReturnValue(value) return args.GetReturnValue().Set(value) ^ ../node-expat.cc:272:5: note: in expansion of macro 'NanReturnValue' NanReturnValue(Integer::New(parser->getCurrentByteIndex())); ^ ../node-expat.cc: In static member function 'static void Parser::StartElement(void*, const XML_Char*, const XML_Char**)': ../node-expat.cc:297:38: error: no matching function for call to 'v8::Object::New()' Local attr = Object::New(); ^ ../node-expat.cc:297:38: note: candidate is: In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:3006:24: note: static v8::Local v8::Object::New(v8::Isolate*) static Local New(Isolate* isolate); ^ /usr/include/node/v8.h:3006:24: note: candidate expects 1 argument, 0 provided ../node-expat.cc:299:17: error: 'New' is not a member of 'v8::String' attr->Set(String::New(atts1[0]), String::New(atts1[1])); ^ ../node-expat.cc:299:40: error: 'New' is not a member of 'v8::String' attr->Set(String::New(atts1[0]), String::New(atts1[1])); ^ In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h:181:26: error: 'NewSymbol' is not a member of 'v8::String' #define NanSymbol(value) v8::String::NewSymbol(value) ^ ../node-expat.cc:302:31: note: in expansion of macro 'NanSymbol' Handle argv[3] = { NanSymbol("startElement"), ^ ../node-expat.cc:303:31: error: 'New' is not a member of 'v8::String' String::New(name), ^ In file included from ../node-expat.cc:1:0: ../node-expat.cc: In static member function 'static void Parser::EndElement(void*, const XML_Char*)': ../../../../../usr/lib/node_modules/nan@0/nan.h:181:26: error: 'NewSymbol' is not a member of 'v8::String' #define NanSymbol(value) v8::String::NewSymbol(value) ^ ../node-expat.cc:315:31: note: in expansion of macro 'NanSymbol' Handle argv[2] = { NanSymbol("endElement"), String::New(name) }; ^ ../node-expat.cc:315:56: error: 'New' is not a member of 'v8::String' Handle argv[2] = { NanSymbol("endElement"), String::New(name) }; ^ In file included from ../node-expat.cc:1:0: ../node-expat.cc: In static member function 'static void Parser::StartCdata(void*)': ../../../../../usr/lib/node_modules/nan@0/nan.h:181:26: error: 'NewSymbol' is not a member of 'v8::String' #define NanSymbol(value) v8::String::NewSymbol(value) ^ ../node-expat.cc:325:31: note: in expansion of macro 'NanSymbol' Handle argv[1] = { NanSymbol("startCdata") }; ^ ../node-expat.cc: In static member function 'static void Parser::EndCdata(void*)': ../../../../../usr/lib/node_modules/nan@0/nan.h:181:26: error: 'NewSymbol' is not a member of 'v8::String' #define NanSymbol(value) v8::String::NewSymbol(value) ^ ../node-expat.cc:335:31: note: in expansion of macro 'NanSymbol' Handle argv[1] = { NanSymbol("endCdata") }; ^ ../node-expat.cc: In static member function 'static void Parser::Text(void*, const XML_Char*, int)': ../../../../../usr/lib/node_modules/nan@0/nan.h:181:26: error: 'NewSymbol' is not a member of 'v8::String' #define NanSymbol(value) v8::String::NewSymbol(value) ^ ../node-expat.cc:346:31: note: in expansion of macro 'NanSymbol' Handle argv[2] = { NanSymbol("text"), ^ ../node-expat.cc:347:31: error: 'New' is not a member of 'v8::String' String::New(s, len) }; ^ In file included from ../node-expat.cc:1:0: ../node-expat.cc: In static member function 'static void Parser::ProcessingInstruction(void*, const XML_Char*, const XML_Char*)': ../../../../../usr/lib/node_modules/nan@0/nan.h:181:26: error: 'NewSymbol' is not a member of 'v8::String' #define NanSymbol(value) v8::String::NewSymbol(value) ^ ../node-expat.cc:358:31: note: in expansion of macro 'NanSymbol' Handle argv[3] = { NanSymbol("processingInstruction"), ^ ../node-expat.cc:359:31: error: 'New' is not a member of 'v8::String' String::New(target), ^ ../node-expat.cc:360:31: error: 'New' is not a member of 'v8::String' String::New(data) }; ^ In file included from ../node-expat.cc:1:0: ../node-expat.cc: In static member function 'static void Parser::Comment(void*, const XML_Char*)': ../../../../../usr/lib/node_modules/nan@0/nan.h:181:26: error: 'NewSymbol' is not a member of 'v8::String' #define NanSymbol(value) v8::String::NewSymbol(value) ^ ../node-expat.cc:371:31: note: in expansion of macro 'NanSymbol' Handle argv[2] = { NanSymbol("comment"), String::New(data) }; ^ ../node-expat.cc:371:53: error: 'New' is not a member of 'v8::String' Handle argv[2] = { NanSymbol("comment"), String::New(data) }; ^ In file included from ../node-expat.cc:1:0: ../node-expat.cc: In static member function 'static void Parser::XmlDecl(void*, const XML_Char*, const XML_Char*, int)': ../../../../../usr/lib/node_modules/nan@0/nan.h:181:26: error: 'NewSymbol' is not a member of 'v8::String' #define NanSymbol(value) v8::String::NewSymbol(value) ^ ../node-expat.cc:383:30: note: in expansion of macro 'NanSymbol' Local argv[4] = { NanSymbol("xmlDecl"), ^ ../node-expat.cc:384:60: error: 'New' is not a member of 'v8::String' version ? NanNewLocal(String::New(version)) ^ ../node-expat.cc:385:65: error: too few arguments to function 'v8::Local v8::Null(v8::Isolate*)' : NanNewLocal(Null()), ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:325:27: note: declared here friend Local Null(Isolate* isolate); ^ ../node-expat.cc:386:61: error: 'New' is not a member of 'v8::String' encoding ? NanNewLocal(String::New(encoding)) ^ ../node-expat.cc:387:65: error: too few arguments to function 'v8::Local v8::Null(v8::Isolate*)' : NanNewLocal(Null()), ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:325:27: note: declared here friend Local Null(Isolate* isolate); ^ ../node-expat.cc:388:73: error: no matching function for call to 'v8::Boolean::New(int&)' NanNewLocal(Boolean::New(standalone)) }; ^ ../node-expat.cc:388:73: note: candidate is: In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:8012:16: note: static v8::Local v8::Boolean::New(v8::Isolate*, bool) Local Boolean::New(Isolate* isolate, bool value) { ^ /usr/include/node/v8.h:8012:16: note: candidate expects 2 arguments, 1 provided In file included from ../node-expat.cc:1:0: ../node-expat.cc: In static member function 'static void Parser::EntityDecl(void*, const XML_Char*, int, const XML_Char*, int, const XML_Char*, const XML_Char*, const XML_Char*, const XML_Char*)': ../../../../../usr/lib/node_modules/nan@0/nan.h:181:26: error: 'NewSymbol' is not a member of 'v8::String' #define NanSymbol(value) v8::String::NewSymbol(value) ^ ../node-expat.cc:400:30: note: in expansion of macro 'NanSymbol' Local argv[8] = { NanSymbol("entityDecl"), ^ ../node-expat.cc:401:63: error: 'New' is not a member of 'v8::String' entityName ? NanNewLocal(String::New(entityName)) ^ ../node-expat.cc:402:63: error: too few arguments to function 'v8::Local v8::Null(v8::Isolate*)' : NanNewLocal(Null()), ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:325:27: note: declared here friend Local Null(Isolate* isolate); ^ ../node-expat.cc:403:82: error: no matching function for call to 'v8::Boolean::New(int&)' NanNewLocal(Boolean::New(is_parameter_entity)), ^ ../node-expat.cc:403:82: note: candidate is: In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:8012:16: note: static v8::Local v8::Boolean::New(v8::Isolate*, bool) Local Boolean::New(Isolate* isolate, bool value) { ^ /usr/include/node/v8.h:8012:16: note: candidate expects 2 arguments, 1 provided ../node-expat.cc:404:58: error: 'New' is not a member of 'v8::String' value ? NanNewLocal(String::New(value, value_length)) ^ ../node-expat.cc:405:63: error: too few arguments to function 'v8::Local v8::Null(v8::Isolate*)' : NanNewLocal(Null()), ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:325:27: note: declared here friend Local Null(Isolate* isolate); ^ ../node-expat.cc:406:57: error: 'New' is not a member of 'v8::String' base ? NanNewLocal(String::New(base)) ^ ../node-expat.cc:407:63: error: too few arguments to function 'v8::Local v8::Null(v8::Isolate*)' : NanNewLocal(Null()), ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:325:27: note: declared here friend Local Null(Isolate* isolate); ^ ../node-expat.cc:408:61: error: 'New' is not a member of 'v8::String' systemId ? NanNewLocal(String::New(systemId)) ^ ../node-expat.cc:409:63: error: too few arguments to function 'v8::Local v8::Null(v8::Isolate*)' : NanNewLocal(Null()), ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:325:27: note: declared here friend Local Null(Isolate* isolate); ^ ../node-expat.cc:410:61: error: 'New' is not a member of 'v8::String' publicId ? NanNewLocal(String::New(publicId)) ^ ../node-expat.cc:411:63: error: too few arguments to function 'v8::Local v8::Null(v8::Isolate*)' : NanNewLocal(Null()), ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:325:27: note: declared here friend Local Null(Isolate* isolate); ^ ../node-expat.cc:412:65: error: 'New' is not a member of 'v8::String' notationName ? NanNewLocal(String::New(notationName)) ^ ../node-expat.cc:413:63: error: too few arguments to function 'v8::Local v8::Null(v8::Isolate*)' : NanNewLocal(Null()) ^ In file included from /usr/include/node/node.h:42:0, from ../../../../../usr/lib/node_modules/nan@0/nan.h:134, from ../node-expat.cc:1: /usr/include/node/v8.h:325:27: note: declared here friend Local Null(Isolate* isolate); ^ In file included from ../node-expat.cc:1:0: ../node-expat.cc: In member function 'void Parser::Emit(int, v8::Handle*)': ../../../../../usr/lib/node_modules/nan@0/nan.h:181:26: error: 'NewSymbol' is not a member of 'v8::String' #define NanSymbol(value) v8::String::NewSymbol(value) ^ ../node-expat.cc:423:40: note: in expansion of macro 'NanSymbol' Local emit = handle->Get(NanSymbol("emit")).As(); ^ ../node-expat.cc:423:70: error: expected primary-expression before '>' token Local emit = handle->Get(NanSymbol("emit")).As(); ^ ../node-expat.cc:423:72: error: expected primary-expression before ')' token Local emit = handle->Get(NanSymbol("emit")).As(); ^ make: Leaving directory `/builddir/build/BUILD/package/build' RPM build errors: In file included from ../node-expat.cc:1:0: ../../../../../usr/lib/node_modules/nan@0/nan.h: In instantiation of 'void NanDisposePersistent(v8::Persistent >&) [with T = v8::Object]': ../../../../../usr/lib/node_modules/nan@0/nan.h:786:44: required from here ../../../../../usr/lib/node_modules/nan@0/nan.h:394:5: error: 'class v8::Persistent' has no member named 'Clear' handle.Clear(); ^ make: *** [Release/obj.target/node_expat/node-expat.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:267:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12) gyp ERR! System Linux 4.10.8-fedora-1 gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild" gyp ERR! cwd /builddir/build/BUILD/package gyp ERR! node -v v6.12.0 gyp ERR! node-gyp -v v0.10.6 gyp ERR! not ok error: Bad exit status from /var/tmp/rpm-tmp.eaJE9g (%build) Bad exit status from /var/tmp/rpm-tmp.eaJE9g (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/nodejs-node-expat.spec