cryptonote-universal-pool icon indicating copy to clipboard operation
cryptonote-universal-pool copied to clipboard

Error running npm update

Open PEVN opened this issue 7 years ago • 4 comments

Hi so I have tried numerous versions of node. Node v5.0.0 seemed to have no problem however upon running init.js there were a bunch of errors talking about a recon error. I have now tried v6.2.0 and got similar errors to other node versions. (node:25510) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.


[email protected] install /home/pieter/cryptonote-universal-pool/node_modules/bignum node-pre-gyp install --fallback-to-build

[bignum] Success: "/home/pieter/cryptonote-universal-pool/node_modules/bignum/binding/bignum.node" is i nstalled via remote

[email protected] install /home/pieter/cryptonote-universal-pool/node_modules/cryptonote-util node-gyp rebuild

make: Entering directory '/home/pieter/cryptonote-universal-pool/node_modules/cryptonote-util/build' CXX(target) Release/obj.target/cryptonote/src/main.o ../src/main.cc: In function ‘v8::Handlev8::Value except(const char*)’: ../src/main.cc:21:44: error: ‘New’ is not a member of ‘v8::String’ return ThrowException(Exception::Error(String::New(msg))); ^ ../src/main.cc:21:61: error: ‘ThrowException’ was not declared in this scope return ThrowException(Exception::Error(String::New(msg))); ^ ../src/main.cc: At global scope: ../src/main.cc:80:34: error: ‘Arguments’ does not name a type Handle<Value> convert_blob(const Arguments& args) { ^ In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0, from ../src/main.cc:2: /home/pieter/.node-gyp/6.2.0/include/node/v8.h: In function ‘v8::Handlev8::Value convert_blob(const i nt&)’: /home/pieter/.node-gyp/6.2.0/include/node/v8.h:904:13: error: ‘v8::HandleScope::HandleScope()’ is prote cted V8_INLINE HandleScope() {} ^ ../src/main.cc:81:17: error: within this context HandleScope scope; ^ ../src/main.cc:83:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const i nt’ if (args.Length() < 1) ^ ../src/main.cc:86:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../src/main.cc:111:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output.data(), output.size()); ^ ../src/main.cc:111:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output.data(), output.size()); ^ ../src/main.cc:111:60: error: no matching function for call to ‘New(const char*, std::cxx11::basic_st ring::size_type)’ Buffer* buff = Buffer::New(output.data(), output.size()); ^ In file included from ../src/main.cc:3:0: /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:31:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, size_t) NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length); ^ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘const char*’ to ‘v8::Isolate*’ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:34:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding) NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, ^ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:34:40: note: no known conversion for argument 1 from ‘const char*’ to ‘v8::Isolate*’ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:39:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*) NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, ^ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:39:40: note: candidate expects 5 arguments, 2 provided /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:46:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, char*, size_t) NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, ^ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:46:40: note: candidate expects 3 arguments, 2 provided ../src/main.cc:112:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../src/main.cc: At global scope: ../src/main.cc:115:34: error: ‘Arguments’ does not name a type Handle<Value> get_block_id(const Arguments& args) { ^ In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0, from ../src/main.cc:2: /home/pieter/.node-gyp/6.2.0/include/node/v8.h: In function ‘v8::Handlev8::Value get_block_id(const i nt&)’: /home/pieter/.node-gyp/6.2.0/include/node/v8.h:904:13: error: ‘v8::HandleScope::HandleScope()’ is prote cted V8_INLINE HandleScope() {} ^ ../src/main.cc:116:17: error: within this context HandleScope scope; ^ ../src/main.cc:118:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../src/main.cc:121:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../src/main.cc:137:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(reinterpret_cast<char*>(&block_id), sizeof(block_id)); ^ ../src/main.cc:137:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(reinterpret_cast<char*>(&block_id), sizeof(block_id)); ^ ../src/main.cc:137:84: error: no matching function for call to ‘New(char*, long unsigned int)’ Buffer* buff = Buffer::New(reinterpret_cast<char*>(&block_id), sizeof(block_id)); ^ In file included from ../src/main.cc:3:0: /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:31:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, size_t) NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length); ^ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:34:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding) NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, ^ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:34:40: note: no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:39:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*) NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, ^ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:39:40: note: candidate expects 5 arguments, 2 provided /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:46:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, char*, size_t) NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, ^ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:46:40: note: candidate expects 3 arguments, 2 provided ../src/main.cc:138:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../src/main.cc: At global scope: ../src/main.cc:141:42: error: ‘Arguments’ does not name a type Handle<Value> construct_block_blob(const Arguments& args) { ^ In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0, from ../src/main.cc:2: /home/pieter/.node-gyp/6.2.0/include/node/v8.h: In function ‘v8::Handlev8::Value construct_block_blob (const int&)’: /home/pieter/.node-gyp/6.2.0/include/node/v8.h:904:13: error: ‘v8::HandleScope::HandleScope()’ is prote cted V8_INLINE HandleScope() {} ^ ../src/main.cc:142:17: error: within this context HandleScope scope; ^ ../src/main.cc:144:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 2) ^ ../src/main.cc:147:46: error: invalid types ‘const int[int]’ for array subscript Local<Object> block_template_buf = args[0]->ToObject(); ^ ../src/main.cc:148:37: error: invalid types ‘const int[int]’ for array subscript Local<Object> nonce_buf = args[1]->ToObject(); ^ ../src/main.cc:179:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output.data(), output.size()); ^ ../src/main.cc:179:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output.data(), output.size()); ^ ../src/main.cc:179:60: error: no matching function for call to ‘New(const char*, std::_cxx11::basic_st ring::size_type)’ Buffer* buff = Buffer::New(output.data(), output.size()); ^ In file included from ../src/main.cc:3:0: /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:31:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, size_t) NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length); ^ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘const char*’ to ‘v8::Isolate*’ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:34:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding) NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, ^ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:34:40: note: no known conversion for argument 1 from ‘const char*’ to ‘v8::Isolate*’ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:39:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*) NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, ^ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:39:40: note: candidate expects 5 arguments, 2 provided /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:46:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, char*, size_t) NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, ^ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:46:40: note: candidate expects 3 arguments, 2 provided ../src/main.cc:180:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../src/main.cc: At global scope: ../src/main.cc:183:37: error: ‘Arguments’ does not name a type Handle<Value> convert_blob_bb(const Arguments& args) { ^ In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0, from ../src/main.cc:2: /home/pieter/.node-gyp/6.2.0/include/node/v8.h: In function ‘v8::Handlev8::Value convert_blob_bb(cons t int&)’: /home/pieter/.node-gyp/6.2.0/include/node/v8.h:904:13: error: ‘v8::HandleScope::HandleScope()’ is prote cted V8_INLINE HandleScope() {} ^ ../src/main.cc:184:17: error: within this context HandleScope scope; ^ ../src/main.cc:186:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../src/main.cc:189:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../src/main.cc:204:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output.data(), output.size()); ^ ../src/main.cc:204:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output.data(), output.size()); ^ ../src/main.cc:204:60: error: no matching function for call to ‘New(const char*, std::_cxx11::basic_st ring::size_type)’ Buffer* buff = Buffer::New(output.data(), output.size()); ^ In file included from ../src/main.cc:3:0: /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:31:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, size_t) NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length); ^ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘const char*’ to ‘v8::Isolate*’ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:34:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding) NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, ^ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:34:40: note: no known conversion for argument 1 from ‘const char*’ to ‘v8::Isolate*’ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:39:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*) NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, ^ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:39:40: note: candidate expects 5 arguments, 2 provided /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:46:40: note: candidate: v8::MaybeLocal<v8::Obje ct> node::Buffer::New(v8::Isolate*, char*, size_t) NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, ^ /home/pieter/.node-gyp/6.2.0/include/node/node_buffer.h:46:40: note: candidate expects 3 arguments, 2 provided ../src/main.cc:205:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../src/main.cc: At global scope: ../src/main.cc:208:36: error: ‘Arguments’ does not name a type Handle<Value> address_decode(const Arguments& args) { ^ In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0, from ../src/main.cc:2: /home/pieter/.node-gyp/6.2.0/include/node/v8.h: In function ‘v8::Handlev8::Value address_decode(const int&)’: /home/pieter/.node-gyp/6.2.0/include/node/v8.h:904:13: error: ‘v8::HandleScope::HandleScope()’ is prote cted V8_INLINE HandleScope() {} ^ ../src/main.cc:209:17: error: within this context HandleScope scope; ^ ../src/main.cc:211:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../src/main.cc:214:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../src/main.cc:224:22: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(Undefined()); ^ ../src/main.cc:224:38: error: too few arguments to function ‘v8::Localv8::Primitive v8::Undefined(v8: :Isolate*)’ return scope.Close(Undefined()); ^ In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0, from ../src/main.cc:2: /home/pieter/.node-gyp/6.2.0/include/node/v8.h:322:27: note: declared here friend Local<Primitive> Undefined(Isolate* isolate); ^ ../src/main.cc:228:22: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(Undefined()); ^ ../src/main.cc:228:38: error: too few arguments to function ‘v8::Localv8::Primitive v8::Undefined(v8: :Isolate*)’ return scope.Close(Undefined()); ^ In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0, from ../src/main.cc:2: /home/pieter/.node-gyp/6.2.0/include/node/v8.h:322:27: note: declared here friend Local<Primitive> Undefined(Isolate* isolate); ^ ../src/main.cc:231:22: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(Undefined()); ^ ../src/main.cc:231:38: error: too few arguments to function ‘v8::Localv8::Primitive v8::Undefined(v8: :Isolate*)’ return scope.Close(Undefined()); ^ In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0, from ../src/main.cc:2: /home/pieter/.node-gyp/6.2.0/include/node/v8.h:322:27: note: declared here friend Local<Primitive> Undefined(Isolate* isolate); ^ ../src/main.cc:233:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(Integer::New(static_cast<uint32_t>(prefix))); ^ ../src/main.cc:233:66: error: no matching function for call to ‘v8::Integer::New(uint32_t)’ return scope.Close(Integer::New(static_cast<uint32_t>(prefix))); ^ In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0, from ../src/main.cc:2: /home/pieter/.node-gyp/6.2.0/include/node/v8.h:2547:25: note: candidate: static v8::Localv8::Integer v8::Integer::New(v8::Isolate*, int32_t) static Local<Integer> New(Isolate* isolate, int32_t value); ^ /home/pieter/.node-gyp/6.2.0/include/node/v8.h:2547:25: note: candidate expects 2 arguments, 1 provid ed ../src/main.cc: In function ‘void init(v8::Handlev8::Object)’: ../src/main.cc:237:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("construct_block_blob"), FunctionTemplate::New(construct_block_blob ^ ../src/main.cc:237:103: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v 8::Value> (&)(const int&))’ ->Set(String::NewSymbol("construct_block_blob"), FunctionTemplate::New(construct_block_blob)->GetFunct ^ In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0, from ../src/main.cc:2: /home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: candidate: static v8::Local<v8::FunctionT emplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Local< v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate*’ ../src/main.cc:238:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("get_block_id"), FunctionTemplate::New(get_block_id)->GetFunction() ^ ../src/main.cc:238:87: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8 ::Value> (&)(const int&))’ exports->Set(String::NewSymbol("get_block_id"), FunctionTemplate::New(get_block_id)->GetFunction() ^ In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0, from ../src/main.cc:2: /home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: candidate: static v8::Local<v8::FunctionT emplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Local< v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate*’ ../src/main.cc:239:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("convert_blob"), FunctionTemplate::New(convert_blob)->GetFunction() ^ ../src/main.cc:239:87: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8 ::Value> (&)(const int&))’ exports->Set(String::NewSymbol("convert_blob"), FunctionTemplate::New(convert_blob)->GetFunction() ^ In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0, from ../src/main.cc:2: /home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: candidate: static v8::Local<v8::FunctionT emplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Local< v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate*’ ../src/main.cc:240:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("convert_blob_bb"), FunctionTemplate::New(convert_blob_bb)->GetFunc ^ ../src/main.cc:240:93: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8 ::Value> (&)(const int&))’ exports->Set(String::NewSymbol("convert_blob_bb"), FunctionTemplate::New(convert_blob_bb)->GetFunct ^ In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0, from ../src/main.cc:2: /home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: candidate: static v8::Local<v8::FunctionT emplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Local< v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate*’ ../src/main.cc:241:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("address_decode"), FunctionTemplate::New(address_decode)->GetFuncti ^ ../src/main.cc:241:91: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8 ::Value> (&)(const int&))’ exports->Set(String::NewSymbol("address_decode"), FunctionTemplate::New(address_decode)->GetFuncti ^ In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0, from ../src/main.cc:2: /home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: candidate: static v8::Local<v8::FunctionT emplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Local< v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/pieter/.node-gyp/6.2.0/include/node/v8.h:4452:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate*’ cryptonote.target.mk:100: recipe for target 'Release/obj.target/cryptonote/src/main.o' failed make: *** [Release/obj.target/cryptonote/src/main.o] Error 1 make: Leaving directory '/home/pieter/cryptonote-universal-pool/node_modules/cryptonote-util/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/bu ild.js:276: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:204:12) gyp ERR! System Linux 4.4.0-89-generic gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node- gyp.js" "rebuild" gyp ERR! cwd /home/pieter/cryptonote-universal-pool/node_modules/cryptonote-util gyp ERR! node -v v6.2.0 gyp ERR! node-gyp -v v3.3.1 gyp ERR! not ok [email protected] /home/pieter/cryptonote-universal-pool ├─┬ [email protected] │ └── [email protected] ├── [email protected] ├─┬ [email protected] │ ├── [email protected] │ └─┬ [email protected] │ ├─┬ [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ └─┬ [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ ├── [email protected] │ │ │ │ └─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ ├── [email protected] │ │ │ └── [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ ├── [email protected] │ │ │ │ └─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ ├── [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ ├── [email protected] │ │ │ │ ├── [email protected] │ │ │ │ ├── [email protected] │ │ │ │ └─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ └─┬ [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ ├── [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ ├── [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ └─┬ [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ └─┬ [email protected] │ │ │ ├── [email protected] │ │ │ └── [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ └── [email protected] │ └─┬ [email protected] │ ├─┬ [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ └── [email protected] ├─┬ [email protected] │ ├── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ └── [email protected] ├── [email protected] ├─┬ [email protected] (git://github.com/fancoder/node-multi-hashing.git#ec00b7429b668b3366d80a8fa85e 9c22b4792d70) │ └── [email protected] └─┬ [email protected] ├── [email protected] ├── [email protected] └── [email protected]

npm ERR! Linux 4.4.0-89-generic npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v6.2.0 npm ERR! npm v3.8.9 npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the cryptonote-util package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs cryptonote-util npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls cryptonote-util npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /home/pieter/cryptonote-universal-pool/npm-debug.log


Sorry I know it is a very long post but I was thinking more info is better. Thanks in advance

Please note the following lines saying "npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the cryptonote-util package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs cryptonote-util npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls cryptonote-util npm ERR! There is likely additional logging output above.

And yes I know this isn't the proper log file

PEVN avatar Aug 08 '17 20:08 PEVN

Experiencing the same issue.

[intense@server1 pool]$ npm update

> [email protected] install /home/intense/pool/node_modules/cryptonote-util
> node-gyp rebuild

make: Entering directory `/home/intense/pool/node_modules/cryptonote-util/build'
  CXX(target) Release/obj.target/cryptonote/src/main.o
In file included from ../src/contrib/epee/include/serialization/keyvalue_serialization.h:31,
                 from ../src/cryptonote_core/cryptonote_basic.h:20,
                 from ../src/main.cc:8:
../src/contrib/epee/include/misc_log_ex.h:32:18: warning: atomic: No such file or directory
In file included from /home/intense/.node-gyp/6.11.2/include/node/node.h:42,
                 from ../src/main.cc:2:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:345: error: expected unqualified-id before ‘using’
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In constructor ‘v8::MaybeLocal<T>::MaybeLocal()’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:362: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::IsEmpty() const’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:369: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::ToLocal(v8::Local<S>*) const’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:373: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In member function ‘bool v8::WeakCallbackInfo<T>::IsFirstPass() const’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:441: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: At global scope:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:481: error: expected unqualified-id before ‘using’
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In constructor ‘v8::Global<T>::Global()’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:820: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In constructor ‘v8::Global<T>::Global(v8::Global<T>&&)’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:845: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In member function ‘v8::Global<T>& v8::Global<T>::operator=(v8::Global<S>&&)’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:857: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: At global scope:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:882: error: expected unqualified-id before ‘using’
/home/intense/.node-gyp/6.11.2/include/node/v8.h:1119: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h:1125: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In member function ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:3279: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: At global scope:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:4499: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h:4515: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In member function ‘v8::Local<T> v8::MaybeLocal<T>::ToLocalChecked()’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:7539: error: ‘nullptr’ was not declared in this scope
In file included from ../src/cryptonote_core/cryptonote_basic.h:16,
                 from ../src/main.cc:8:
../src/serialization/binary_archive.h: At global scope:
../src/serialization/binary_archive.h:18: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
../src/serialization/binary_archive.h:169: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
In file included from ../src/contrib/epee/include/misc_log_ex.h:54,
                 from ../src/contrib/epee/include/serialization/keyvalue_serialization.h:31,
                 from ../src/cryptonote_core/cryptonote_basic.h:20,
                 from ../src/main.cc:8:
../src/contrib/epee/include/string_tools.h:184: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
../src/contrib/epee/include/string_tools.h:185: warning: unknown option after ‘#pragma GCC diagnostic’ kind
../src/contrib/epee/include/string_tools.h: In function ‘bool epee::string_tools::get_xtype_from_string(XType&, const std::string&)’:
../src/contrib/epee/include/string_tools.h:191: error: expected initializer before ‘:’ token
../src/contrib/epee/include/string_tools.h:196: error: expected primary-expression before ‘}’ token
../src/contrib/epee/include/string_tools.h:196: error: expected ‘;’ before ‘}’ token
../src/contrib/epee/include/string_tools.h:196: error: expected primary-expression before ‘}’ token
../src/contrib/epee/include/string_tools.h:196: error: expected ‘)’ before ‘}’ token
../src/contrib/epee/include/string_tools.h:196: error: expected primary-expression before ‘}’ token
../src/contrib/epee/include/string_tools.h:196: error: expected ‘;’ before ‘}’ token
../src/contrib/epee/include/string_tools.h: At global scope:
../src/contrib/epee/include/string_tools.h:215: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
In file included from ../src/contrib/epee/include/misc_log_ex.h:55,
                 from ../src/contrib/epee/include/serialization/keyvalue_serialization.h:31,
                 from ../src/cryptonote_core/cryptonote_basic.h:20,
                 from ../src/main.cc:8:
../src/contrib/epee/include/time_helper.h: In function ‘std::string epee::misc_utils::get_time_str(const time_t&)’:
../src/contrib/epee/include/time_helper.h:62: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h:65: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h: In function ‘std::string epee::misc_utils::get_time_str_v2(const time_t&)’:
../src/contrib/epee/include/time_helper.h:84: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h:87: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h: In function ‘std::string epee::misc_utils::get_internet_time_str(const time_t&)’:
../src/contrib/epee/include/time_helper.h:112: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h:115: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h: In function ‘std::string epee::misc_utils::get_time_interval_string(const time_t&)’:
../src/contrib/epee/include/time_helper.h:124: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h:133: error: #pragma GCC diagnostic not allowed inside functions
In file included from ../src/contrib/epee/include/serialization/keyvalue_serialization.h:31,
                 from ../src/cryptonote_core/cryptonote_basic.h:20,
                 from ../src/main.cc:8:
../src/contrib/epee/include/misc_log_ex.h: In function ‘bool epee::log_space::is_stdout_a_tty()’:
../src/contrib/epee/include/misc_log_ex.h:205: error: expected initializer before ‘<’ token
../src/contrib/epee/include/misc_log_ex.h:206: error: expected initializer before ‘<’ token
../src/contrib/epee/include/misc_log_ex.h:208: error: ‘initialized’ was not declared in this scope
../src/contrib/epee/include/misc_log_ex.h:208: error: ‘memory_order_acquire’ is not a member of ‘std’
../src/contrib/epee/include/misc_log_ex.h:213: error: ‘is_a_tty’ was not declared in this scope
../src/contrib/epee/include/misc_log_ex.h:213: error: ‘memory_order_relaxed’ is not a member of ‘std’
../src/contrib/epee/include/misc_log_ex.h:215: error: ‘memory_order_release’ is not a member of ‘std’
../src/contrib/epee/include/misc_log_ex.h:218: error: ‘is_a_tty’ was not declared in this scope
../src/contrib/epee/include/misc_log_ex.h:218: error: ‘memory_order_relaxed’ is not a member of ‘std’
In file included from ../src/contrib/epee/include/serialization/keyvalue_serialization.h:31,
                 from ../src/cryptonote_core/cryptonote_basic.h:20,
                 from ../src/main.cc:8:
../src/contrib/epee/include/misc_log_ex.h: At global scope:
../src/contrib/epee/include/misc_log_ex.h:980: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
../src/contrib/epee/include/misc_log_ex.h:981: warning: unknown option after ‘#pragma GCC diagnostic’ kind
../src/contrib/epee/include/misc_log_ex.h:989: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
In file included from ../src/contrib/epee/include/serialization/keyvalue_serialization.h:33,
                 from ../src/cryptonote_core/cryptonote_basic.h:20,
                 from ../src/main.cc:8:
../src/contrib/epee/include/serialization/keyvalue_serialization_overloads.h: In function ‘bool epee::serialization::serialize_stl_container_t_obj(const stl_container&, t_storage&, typename t_storage::hsection, const char*)’:
../src/contrib/epee/include/serialization/keyvalue_serialization_overloads.h:167: error: ‘nullptr’ was not declared in this scope
../src/contrib/epee/include/serialization/keyvalue_serialization_overloads.h: In function ‘bool epee::serialization::unserialize_stl_container_t_obj(stl_container&, t_storage&, typename t_storage::hsection, const char*)’:
../src/contrib/epee/include/serialization/keyvalue_serialization_overloads.h:186: error: ‘nullptr’ was not declared in this scope
In file included from ../src/main.cc:8:
../src/cryptonote_core/cryptonote_basic.h: In static member function ‘static size_t cryptonote::transaction::get_signature_size(const cryptonote::txin_v&)’:
../src/cryptonote_core/cryptonote_basic.h:312: error: no matching function for call to ‘apply_visitor(cryptonote::transaction::get_signature_size(const cryptonote::txin_v&)::txin_signature_size_visitor, const boost::variant<cryptonote::txin_gen, cryptonote::txin_to_script, cryptonote::txin_to_scripthash, cryptonote::txin_to_key, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>&)’
../src/cryptonote_core/cryptonote_basic.h: In static member function ‘static size_t cryptonote::bb_transaction::get_signature_size(const cryptonote::txin_v&)’:
../src/cryptonote_core/cryptonote_basic.h:349: error: no matching function for call to ‘apply_visitor(cryptonote::bb_transaction::get_signature_size(const cryptonote::txin_v&)::txin_signature_size_visitor, const boost::variant<cryptonote::txin_gen, cryptonote::txin_to_script, cryptonote::txin_to_scripthash, cryptonote::txin_to_key, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>&)’
In file included from ../src/main.cc:8:
../src/cryptonote_core/cryptonote_basic.h: At global scope:
../src/cryptonote_core/cryptonote_basic.h:544: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/cryptonote_basic.h:544: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/cryptonote_basic.h:544: error: ‘nullptr’ was not declared in this scope
In file included from ../src/cryptonote_core/cryptonote_format_utils.h:6,
                 from ../src/main.cc:9:
../src/cryptonote_protocol/cryptonote_protocol_defs.h:25: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:25: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:25: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:45: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:45: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:45: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:64: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:64: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:64: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:81: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:81: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:81: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:99: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:99: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:99: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:114: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:114: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:114: error: ‘nullptr’ was not declared in this scope
In file included from ../src/cryptonote_core/cryptonote_format_utils.h:6,
                 from ../src/main.cc:9:
../src/cryptonote_protocol/cryptonote_protocol_defs.h:128: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:128: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:128: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:144: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:144: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:144: error: ‘nullptr’ was not declared in this scope
In file included from ../src/cryptonote_core/cryptonote_format_utils.h:9,
                 from ../src/main.cc:9:
../src/cryptonote_core/account.h:20: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/account.h:20: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/account.h:20: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/account.h:51: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/account.h:51: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/account.h:51: error: ‘nullptr’ was not declared in this scope
In file included from ../src/main.cc:9:
../src/cryptonote_core/cryptonote_format_utils.h: In function ‘bool cryptonote::find_tx_extra_field_by_type(const std::vector<boost::variant<cryptonote::tx_extra_padding, cryptonote::tx_extra_pub_key, cryptonote::tx_extra_nonce, cryptonote::tx_extra_merge_mining_tag, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, std::allocator<boost::variant<cryptonote::tx_extra_padding, cryptonote::tx_extra_pub_key, cryptonote::tx_extra_nonce, cryptonote::tx_extra_merge_mining_tag, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> > >&, T&)’:
../src/cryptonote_core/cryptonote_format_utils.h:50: error: expected primary-expression before ‘[’ token
../src/cryptonote_core/cryptonote_format_utils.h:50: error: expected primary-expression before ‘]’ token
../src/cryptonote_core/cryptonote_format_utils.h:50: error: expected primary-expression before ‘const’
../src/cryptonote_core/cryptonote_format_utils.h:50: error: unable to deduce ‘auto’ from ‘std::find_if(tx_extra_fields->std::vector<_Tp, _Alloc>::begin [with _Tp = boost::variant<cryptonote::tx_extra_padding, cryptonote::tx_extra_pub_key, cryptonote::tx_extra_nonce, cryptonote::tx_extra_merge_mining_tag, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, _Alloc = std::allocator<boost::variant<cryptonote::tx_extra_padding, cryptonote::tx_extra_pub_key, cryptonote::tx_extra_nonce, cryptonote::tx_extra_merge_mining_tag, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> >](), tx_extra_fields->std::vector<_Tp, _Alloc>::end [with _Tp = boost::variant<cryptonote::tx_extra_padding, cryptonote::tx_extra_pub_key, cryptonote::tx_extra_nonce, cryptonote::tx_extra_merge_mining_tag, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, _Alloc = std::allocator<boost::variant<cryptonote::tx_extra_padding, cryptonote::tx_extra_pub_key, cryptonote::tx_extra_nonce, cryptonote::tx_extra_merge_mining_tag, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> >](), <expression error>)’
../src/main.cc: At global scope:
../src/main.cc:20: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/main.cc:80: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/main.cc:51: warning: ‘bool mergeBlocks(const cryptonote::block&, cryptonote::block&, const std::vector<crypto::hash, std::allocator<crypto::hash> >&)’ defined but not used
../src/main.cc:68: warning: ‘bool construct_parent_block(const cryptonote::block&, cryptonote::block&)’ defined but not used
make: *** [Release/obj.target/cryptonote/src/main.o] Error 1
make: Leaving directory `/home/intense/pool/node_modules/cryptonote-util/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276: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:215:12)
gyp ERR! System Linux 2.6.32-696.3.2.el6.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/intense/pool/node_modules/cryptonote-util
gyp ERR! node -v v6.11.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
[email protected] /home/intense/pool
└── [email protected]  (git://github.com/fancoder/node-multi-hashing.git#ec00b7429b668b3366d80a8fa85e9c22b4792d70)

npm ERR! Linux 2.6.32-696.3.2.el6.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "update"
npm ERR! node v6.11.2
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the cryptonote-util package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs cryptonote-util
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls cryptonote-util
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/intense/pool/npm-debug.log

Referenced log file: https://pastebin.com/M5raQfQe

valiant1x avatar Aug 11 '17 03:08 valiant1x

same issues here

streamcoindev avatar Feb 05 '18 13:02 streamcoindev

having the same compile error

khunpoum avatar Feb 05 '18 19:02 khunpoum

Try this to solve the problem (helped me, because it was my issue to)

For Linux install:

npm 0.25.10, redis4.0.8,libboost-all-dev, libssl-dev

New working Nodejs: First remove NodeJS that you already installed: $sudo ap-get remove npm nodejs -y Then download and unzip NodeJS v0.10.25 $wget https://nodejs.org/dist/v0.10.25/node-v0.10.25.tar.gz && tar xvzf node-v0.10.25.tar.gz Compile and Install NodeJS and NPM from the source: $cd node-v0.10.25 $make $sudo make install Make sure to remove node_modules directory: $cd /home/user/pool $sudo rm -r node_modules run npm update: $npm update

blueavenue avatar Feb 16 '18 15:02 blueavenue