Skip to content

npm install fail #21

Description

@mike-aungsan

npm -v
2.7.4

node -v
v0.12.2

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty

make: Entering directory /test/node_modules/ldapauth/node_modules/bcrypt/build' CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o ../src/bcrypt_node.cc: In destructor ‘virtual {anonymous}::baton_base::~baton_base()’: ../src/bcrypt_node.cc:118:18: error: ‘class v8::Persistent<v8::Function>’ has no member named ‘Dispose’ callback.Dispose(); ^ ../src/bcrypt_node.cc: At global scope: ../src/bcrypt_node.cc:198:19: error: variable or field ‘GenSaltAsync’ declared void void GenSaltAsync(uv_work_t* req) { ^ ../src/bcrypt_node.cc:198:19: error: ‘uv_work_t’ was not declared in this scope ../src/bcrypt_node.cc:198:30: error: ‘req’ was not declared in this scope void GenSaltAsync(uv_work_t* req) { ^ ../src/bcrypt_node.cc:483:30: error: expected ‘}’ at end of input NODE_MODULE(bcrypt_lib, init); ^ ../src/bcrypt_node.cc:85:13: warning: ‘void crypto_lock_init()’ defined but not used [-Wunused-function] static void crypto_lock_init(void) { ^ ../src/bcrypt_node.cc:95:13: warning: ‘void crypto_lock_cb(int, int, const char*, int)’ defined but not used [-Wunused-function] static void crypto_lock_cb(int mode, int n, const char* file, int line) { ^ ../src/bcrypt_node.cc:105:22: warning: ‘long unsigned int crypto_id_cb()’ defined but not used [-Wunused-function] static unsigned long crypto_id_cb(void) { ^ make: *** [Release/obj.target/bcrypt_lib/src/bcrypt_node.o] Error 1 make: Leaving directory/test/node_modules/ldapauth/node_modules/bcrypt/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:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.13.0-52-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /test/node_modules/ldapauth/node_modules/bcrypt
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok

buffertools@1.1.0 install /test/node_modules/ldapauth/node_modules/ldapjs/node_modules/buffertools
node-gyp rebuild

make: Entering directory /test/node_modules/ldapauth/node_modules/ldapjs/node_modules/buffertools/build' CXX(target) Release/obj.target/buffertools/buffertools.o ../buffertools.cc:19:52: error: ‘Arguments’ does not name a type Handle<Value> apply(Handle<Object>& buffer, const Arguments& args, HandleScope& scope); ^ ../buffertools.cc:19:63: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> apply(Handle<Object>& buffer, const Arguments& args, HandleScope& scope); ^ ../buffertools.cc:21:33: error: ‘Arguments’ does not name a type Handle<Value> operator()(const Arguments& args) { ^ ../buffertools.cc:21:44: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> operator()(const Arguments& args) { ^ ../buffertools.cc: In member function ‘v8::Handle<v8::Value> {anonymous}::UnaryAction<Derived>::operator()(const int&)’: ../buffertools.cc:24:29: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ Local<Object> self = args.This(); ^ ../buffertools.cc:26:47: error: ‘New’ is not a member of ‘v8::String’ return ThrowException(Exception::TypeError(String::New( ^ ../buffertools.cc:27:45: error: there are no arguments to ‘ThrowException’ that depend on a template parameter, so a declaration of ‘ThrowException’ must be available [-fpermissive] "Argument should be a buffer object."))); ^ ../buffertools.cc:27:45: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) ../buffertools.cc: At global scope: ../buffertools.cc:35:86: error: ‘Arguments’ does not name a type Handle<Value> apply(Handle<Object>& buffer, const uint8_t* data, size_t size, const Arguments& args, HandleScope& scope); ^ ../buffertools.cc:35:97: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> apply(Handle<Object>& buffer, const uint8_t* data, size_t size, const Arguments& args, HandleScope& scope); ^ ../buffertools.cc:37:33: error: ‘Arguments’ does not name a type Handle<Value> operator()(const Arguments& args) { ^ ../buffertools.cc:37:44: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> operator()(const Arguments& args) { ^ ../buffertools.cc: In member function ‘v8::Handle<v8::Value> {anonymous}::BinaryAction<Derived>::operator()(const int&)’: ../buffertools.cc:40:29: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ Local<Object> self = args.This(); ^ ../buffertools.cc:42:47: error: ‘New’ is not a member of ‘v8::String’ return ThrowException(Exception::TypeError(String::New( ^ ../buffertools.cc:43:45: error: there are no arguments to ‘ThrowException’ that depend on a template parameter, so a declaration of ‘ThrowException’ must be available [-fpermissive] "Argument should be a buffer object."))); ^ ../buffertools.cc:46:13: error: invalid types ‘const int[int]’ for array subscript if (args[0]->IsString()) { ^ ../buffertools.cc:47:30: error: invalid types ‘const int[int]’ for array subscript String::Utf8Value s(args[0]->ToString()); ^ ../buffertools.cc:50:33: error: invalid types ‘const int[int]’ for array subscript if (Buffer::HasInstance(args[0])) { ^ ../buffertools.cc:51:32: error: invalid types ‘const int[int]’ for array subscript Local<Object> other = args[0]->ToObject(); ^ ../buffertools.cc:56:80: error: ‘New’ is not a member of ‘v8::String’ static Persistent<String> illegalArgumentException = Persistent<String>::New(String::New( ^ ../buffertools.cc:58:70: error: no matching function for call to ‘v8::Exception::TypeError(v8::Persistent<v8::String>&)’ return ThrowException(Exception::TypeError(illegalArgumentException)); ^ ../buffertools.cc:58:70: note: candidate is: In file included from ../buffertools.cc:1:0: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3946:23: note: static v8::Local<v8::Value> v8::Exception::TypeError(v8::Handle<v8::String>) static Local<Value> TypeError(Handle<String> message); ^ /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3946:23: note: no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘v8::Handle<v8::String>’ ../buffertools.cc:58:71: error: there are no arguments to ‘ThrowException’ that depend on a template parameter, so a declaration of ‘ThrowException’ must be available [-fpermissive] return ThrowException(Exception::TypeError(illegalArgumentException)); ^ ../buffertools.cc: At global scope: ../buffertools.cc:104:52: error: ‘Arguments’ does not name a type Handle<Value> apply(Handle<Object>& buffer, const Arguments& args, HandleScope& scope) { ^ ../buffertools.cc:104:63: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> apply(Handle<Object>& buffer, const Arguments& args, HandleScope& scope) { ^ ../buffertools.cc:110:52: error: ‘Arguments’ does not name a type Handle<Value> apply(Handle<Object>& buffer, const Arguments& args, HandleScope& scope) { ^ ../buffertools.cc:110:63: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> apply(Handle<Object>& buffer, const Arguments& args, HandleScope& scope) { ^ ../buffertools.cc: In member function ‘v8::Handle<v8::Value> {anonymous}::FillAction::apply(v8::Handle<v8::Object>&, const int&, v8::HandleScope&)’: ../buffertools.cc:111:13: error: invalid types ‘const int[int]’ for array subscript if (args[0]->IsInt32()) { ^ ../buffertools.cc:112:18: error: invalid types ‘const int[int]’ for array subscript int c = args[0]->ToInt32()->Int32Value(); ^ ../buffertools.cc:116:13: error: invalid types ‘const int[int]’ for array subscript if (args[0]->IsString()) { ^ ../buffertools.cc:117:30: error: invalid types ‘const int[int]’ for array subscript String::Utf8Value s(args[0]->ToString()); ^ ../buffertools.cc:121:33: error: invalid types ‘const int[int]’ for array subscript if (Buffer::HasInstance(args[0])) { ^ ../buffertools.cc:122:33: error: invalid types ‘const int[int]’ for array subscript Handle<Object> other = args[0]->ToObject(); ^ ../buffertools.cc:128:80: error: ‘New’ is not a member of ‘v8::String’ static Persistent<String> illegalArgumentException = Persistent<String>::New(String::New( ^ ../buffertools.cc:130:70: error: no matching function for call to ‘v8::Exception::TypeError(v8::Persistent<v8::String>&)’ return ThrowException(Exception::TypeError(illegalArgumentException)); ^ ../buffertools.cc:130:70: note: candidate is: In file included from ../buffertools.cc:1:0: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3946:23: note: static v8::Local<v8::Value> v8::Exception::TypeError(v8::Handle<v8::String>) static Local<Value> TypeError(Handle<String> message); ^ /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3946:23: note: no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘v8::Handle<v8::String>’ ../buffertools.cc:130:71: error: ‘ThrowException’ was not declared in this scope return ThrowException(Exception::TypeError(illegalArgumentException)); ^ ../buffertools.cc: At global scope: ../buffertools.cc:137:52: error: ‘Arguments’ does not name a type Handle<Value> apply(Handle<Object>& buffer, const Arguments& args, HandleScope& scope) { ^ ../buffertools.cc:137:63: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> apply(Handle<Object>& buffer, const Arguments& args, HandleScope& scope) { ^ ../buffertools.cc:149:86: error: ‘Arguments’ does not name a type Handle<Value> apply(Handle<Object>& buffer, const uint8_t* data, size_t size, const Arguments& args, HandleScope& scope) { ^ ../buffertools.cc:149:97: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> apply(Handle<Object>& buffer, const uint8_t* data, size_t size, const Arguments& args, HandleScope& scope) { ^ ../buffertools.cc: In member function ‘v8::Handle<v8::Value> {anonymous}::EqualsAction::apply(v8::Handle<v8::Object>&, const uint8_t*, size_t, const int&, v8::HandleScope&)’: ../buffertools.cc:150:50: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::True(v8::Isolate*)’ return compare(buffer, data, size) == 0 ? True() : False(); ^ In file included from ../buffertools.cc:1:0: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:6624:17: note: declared here Handle<Boolean> True(Isolate* isolate) { ^ ../buffertools.cc:150:60: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::False(v8::Isolate*)’ return compare(buffer, data, size) == 0 ? True() : False(); ^ In file included from ../buffertools.cc:1:0: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:6633:17: note: declared here Handle<Boolean> False(Isolate* isolate) { ^ ../buffertools.cc: At global scope: ../buffertools.cc:155:86: error: ‘Arguments’ does not name a type Handle<Value> apply(Handle<Object>& buffer, const uint8_t* data, size_t size, const Arguments& args, HandleScope& scope) { ^ ../buffertools.cc:155:97: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> apply(Handle<Object>& buffer, const uint8_t* data, size_t size, const Arguments& args, HandleScope& scope) { ^ ../buffertools.cc: In member function ‘v8::Handle<v8::Value> {anonymous}::CompareAction::apply(v8::Handle<v8::Object>&, const uint8_t*, size_t, const int&, v8::HandleScope&)’: ../buffertools.cc:156:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(Integer::New(compare(buffer, data, size))); ^ ../buffertools.cc:156:62: error: no matching function for call to ‘v8::Integer::New(int)’ return scope.Close(Integer::New(compare(buffer, data, size))); ^ ../buffertools.cc:156:62: note: candidate is: In file included from ../buffertools.cc:1:0: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) static Local<Integer> New(Isolate* isolate, int32_t value); ^ /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided ../buffertools.cc: At global scope: ../buffertools.cc:161:88: error: ‘Arguments’ does not name a type Handle<Value> apply(Handle<Object>& buffer, const uint8_t* data2, size_t size2, const Arguments& args, HandleScope& scope) { ^ ../buffertools.cc:161:99: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> apply(Handle<Object>& buffer, const uint8_t* data2, size_t size2, const Arguments& args, HandleScope& scope) { ^ ../buffertools.cc: In member function ‘v8::Handle<v8::Value> {anonymous}::IndexOfAction::apply(v8::Handle<v8::Object>&, const uint8_t*, size_t, const int&, v8::HandleScope&)’: ../buffertools.cc:165:25: error: invalid types ‘const int[int]’ for array subscript int32_t start = args[1]->Int32Value(); ^ ../buffertools.cc:176:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(Integer::New(offset)); ^ ../buffertools.cc:176:41: error: no matching function for call to ‘v8::Integer::New(const ptrdiff_t&)’ return scope.Close(Integer::New(offset)); ^ ../buffertools.cc:176:41: note: candidate is: In file included from ../buffertools.cc:1:0: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) static Local<Integer> New(Isolate* isolate, int32_t value); ^ /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided ../buffertools.cc: At global scope: ../buffertools.cc:194:84: error: ‘Arguments’ does not name a type inline Handle<Value> decodeHex(const uint8_t* const data, const size_t size, const Arguments& args, HandleScope& scope) { ^ ../buffertools.cc:194:95: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] inline Handle<Value> decodeHex(const uint8_t* const data, const size_t size, const Arguments& args, HandleScope& scope) { ^ ../buffertools.cc: In function ‘v8::Handle<v8::Value> {anonymous}::decodeHex(const uint8_t*, size_t, const int&, v8::HandleScope&)’: ../buffertools.cc:196:42: error: ‘New’ is not a member of ‘v8::String’ return ThrowException(Exception::Error(String::New( ^ ../buffertools.cc:197:57: error: ‘ThrowException’ was not declared in this scope "Odd string length, this is not hexadecimal data."))); ^ ../buffertools.cc:201:24: error: no matching function for call to ‘v8::String::Empty()’ return String::Empty(); ^ ../buffertools.cc:201:24: note: candidate is: In file included from ../buffertools.cc:1:0: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:6247:15: note: static v8::Local<v8::String> v8::String::Empty(v8::Isolate*) Local<String> String::Empty(Isolate* isolate) { ^ /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:6247:15: note: candidate expects 1 argument, 0 provided ../buffertools.cc:204:50: error: ‘class v8::Object’ has no member named ‘handle_’ Handle<Object>& buffer = Buffer::New(size / 2)->handle_; ^ ../buffertools.cc:214:43: error: ‘New’ is not a member of ‘v8::String’ return ThrowException(Exception::Error(String::New( ^ ../buffertools.cc:215:39: error: ‘ThrowException’ was not declared in this scope "This is not hexadecimal data."))); ^ ../buffertools.cc: At global scope: ../buffertools.cc:225:52: error: ‘Arguments’ does not name a type Handle<Value> apply(Handle<Object>& buffer, const Arguments& args, HandleScope& scope) { ^ ../buffertools.cc:225:63: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> apply(Handle<Object>& buffer, const Arguments& args, HandleScope& scope) { ^ ../buffertools.cc:233:52: error: ‘Arguments’ does not name a type Handle<Value> apply(Handle<Object>& buffer, const Arguments& args, HandleScope& scope) { ^ ../buffertools.cc:233:63: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> apply(Handle<Object>& buffer, const Arguments& args, HandleScope& scope) { ^ ../buffertools.cc: In member function ‘v8::Handle<v8::Value> {anonymous}::ToHexAction::apply(v8::Handle<v8::Object>&, const int&, v8::HandleScope&)’: ../buffertools.cc:238:25: error: no matching function for call to ‘v8::String::Empty()’ return String::Empty(); ^ ../buffertools.cc:238:25: note: candidate is: In file included from ../buffertools.cc:1:0: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:6247:15: note: static v8::Local<v8::String> v8::String::Empty(v8::Isolate*) Local<String> String::Empty(Isolate* isolate) { ^ /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:6247:15: note: candidate expects 1 argument, 0 provided ../buffertools.cc:248:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(String::New(s.c_str(), s.size())); ^ ../buffertools.cc:248:22: error: ‘New’ is not a member of ‘v8::String’ return scope.Close(String::New(s.c_str(), s.size())); ^ ../buffertools.cc: At global scope: ../buffertools.cc:255:27: error: ‘Arguments’ does not name a type Handle<Value> Clear(const Arguments& args) { ^ ../buffertools.cc:255:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> Clear(const Arguments& args) { ^ ../buffertools.cc:259:26: error: ‘Arguments’ does not name a type Handle<Value> Fill(const Arguments& args) { ^ ../buffertools.cc:259:37: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> Fill(const Arguments& args) { ^ ../buffertools.cc:263:29: error: ‘Arguments’ does not name a type Handle<Value> Reverse(const Arguments& args) { ^ ../buffertools.cc:263:40: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> Reverse(const Arguments& args) { ^ ../buffertools.cc:267:28: error: ‘Arguments’ does not name a type Handle<Value> Equals(const Arguments& args) { ^ ../buffertools.cc:267:39: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> Equals(const Arguments& args) { ^ ../buffertools.cc:271:29: error: ‘Arguments’ does not name a type Handle<Value> Compare(const Arguments& args) { ^ ../buffertools.cc:271:40: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> Compare(const Arguments& args) { ^ ../buffertools.cc:275:29: error: ‘Arguments’ does not name a type Handle<Value> IndexOf(const Arguments& args) { ^ ../buffertools.cc:275:40: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> IndexOf(const Arguments& args) { ^ ../buffertools.cc:279:29: error: ‘Arguments’ does not name a type Handle<Value> FromHex(const Arguments& args) { ^ ../buffertools.cc:279:40: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> FromHex(const Arguments& args) { ^ ../buffertools.cc:283:27: error: ‘Arguments’ does not name a type Handle<Value> ToHex(const Arguments& args) { ^ ../buffertools.cc:283:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> ToHex(const Arguments& args) { ^ ../buffertools.cc:287:28: error: ‘Arguments’ does not name a type Handle<Value> Concat(const Arguments& args) { ^ ../buffertools.cc:287:39: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> Concat(const Arguments& args) { ^ In file included from ../buffertools.cc:1:0: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> {anonymous}::Concat(const int&)’: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../buffertools.cc:288:14: error: within this context HandleScope scope; ^ ../buffertools.cc:291:36: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ for (int index = 0, length = args.Length(); index < length; ++index) { ^ ../buffertools.cc:292:32: error: invalid types ‘const int[int]’ for array subscript Local<Value> arg = args[index]; ^ ../buffertools.cc:305:8: error: ‘New’ is not a member of ‘v8::String’ String::New(s.str().c_str()))); ^ ../buffertools.cc:305:37: error: ‘ThrowException’ was not declared in this scope String::New(s.str().c_str()))); ^ ../buffertools.cc:309:8: error: expected primary-expression before ‘&’ token Buffer& dst = *Buffer::New(size); ^ ../buffertools.cc:309:10: error: ‘dst’ was not declared in this scope Buffer& dst = *Buffer::New(size); ^ ../buffertools.cc:312:36: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ for (int index = 0, length = args.Length(); index < length; ++index) { ^ ../buffertools.cc:313:32: error: invalid types ‘const int[int]’ for array subscript Local<Value> arg = args[index]; ^ ../buffertools.cc:327:43: error: ‘New’ is not a member of ‘v8::String’ return ThrowException(Exception::Error(String::New( ^ ../buffertools.cc:329:61: error: ‘ThrowException’ was not declared in this scope "Please make the world a better place and report it."))); ^ ../buffertools.cc:333:15: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(dst.handle_); ^ ../buffertools.cc: In function ‘void {anonymous}::RegisterModule(v8::Handle<v8::Object>)’: ../buffertools.cc:337:14: error: ‘NewSymbol’ is not a member of ‘v8::String’ target->Set(String::NewSymbol("concat"), FunctionTemplate::New(Concat)->GetFunction()); ^ ../buffertools.cc:337:72: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ target->Set(String::NewSymbol("concat"), FunctionTemplate::New(Concat)->GetFunction()); ^ ../buffertools.cc:337:72: note: candidate is: In file included from ../buffertools.cc:1:0: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../buffertools.cc:338:14: error: ‘NewSymbol’ is not a member of ‘v8::String’ target->Set(String::NewSymbol("fill"), FunctionTemplate::New(Fill)->GetFunction()); ^ ../buffertools.cc:338:70: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ target->Set(String::NewSymbol("fill"), FunctionTemplate::New(Fill)->GetFunction()); ^ ../buffertools.cc:338:70: note: candidate is: In file included from ../buffertools.cc:1:0: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../buffertools.cc:339:14: error: ‘NewSymbol’ is not a member of ‘v8::String’ target->Set(String::NewSymbol("clear"), FunctionTemplate::New(Clear)->GetFunction()); ^ ../buffertools.cc:339:71: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ target->Set(String::NewSymbol("clear"), FunctionTemplate::New(Clear)->GetFunction()); ^ ../buffertools.cc:339:71: note: candidate is: In file included from ../buffertools.cc:1:0: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../buffertools.cc:340:14: error: ‘NewSymbol’ is not a member of ‘v8::String’ target->Set(String::NewSymbol("reverse"), FunctionTemplate::New(Reverse)->GetFunction()); ^ ../buffertools.cc:340:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ target->Set(String::NewSymbol("reverse"), FunctionTemplate::New(Reverse)->GetFunction()); ^ ../buffertools.cc:340:73: note: candidate is: In file included from ../buffertools.cc:1:0: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../buffertools.cc:341:14: error: ‘NewSymbol’ is not a member of ‘v8::String’ target->Set(String::NewSymbol("equals"), FunctionTemplate::New(Equals)->GetFunction()); ^ ../buffertools.cc:341:72: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ target->Set(String::NewSymbol("equals"), FunctionTemplate::New(Equals)->GetFunction()); ^ ../buffertools.cc:341:72: note: candidate is: In file included from ../buffertools.cc:1:0: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../buffertools.cc:342:14: error: ‘NewSymbol’ is not a member of ‘v8::String’ target->Set(String::NewSymbol("compare"), FunctionTemplate::New(Compare)->GetFunction()); ^ ../buffertools.cc:342:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ target->Set(String::NewSymbol("compare"), FunctionTemplate::New(Compare)->GetFunction()); ^ ../buffertools.cc:342:73: note: candidate is: In file included from ../buffertools.cc:1:0: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../buffertools.cc:343:14: error: ‘NewSymbol’ is not a member of ‘v8::String’ target->Set(String::NewSymbol("indexOf"), FunctionTemplate::New(IndexOf)->GetFunction()); ^ ../buffertools.cc:343:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ target->Set(String::NewSymbol("indexOf"), FunctionTemplate::New(IndexOf)->GetFunction()); ^ ../buffertools.cc:343:73: note: candidate is: In file included from ../buffertools.cc:1:0: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../buffertools.cc:344:14: error: ‘NewSymbol’ is not a member of ‘v8::String’ target->Set(String::NewSymbol("fromHex"), FunctionTemplate::New(FromHex)->GetFunction()); ^ ../buffertools.cc:344:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ target->Set(String::NewSymbol("fromHex"), FunctionTemplate::New(FromHex)->GetFunction()); ^ ../buffertools.cc:344:73: note: candidate is: In file included from ../buffertools.cc:1:0: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../buffertools.cc:345:14: error: ‘NewSymbol’ is not a member of ‘v8::String’ target->Set(String::NewSymbol("toHex"), FunctionTemplate::New(ToHex)->GetFunction()); ^ ../buffertools.cc:345:71: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ target->Set(String::NewSymbol("toHex"), FunctionTemplate::New(ToHex)->GetFunction()); ^ ../buffertools.cc:345:71: note: candidate is: In file included from ../buffertools.cc:1:0: /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../buffertools.cc: In instantiation of ‘v8::Handle<v8::Value> {anonymous}::UnaryAction<Derived>::operator()(const int&) [with Derived = {anonymous}::ClearAction]’: ../buffertools.cc:256:27: required from here /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../buffertools.cc:22:15: error: within this context HandleScope scope; ^ ../buffertools.cc:27:45: error: ‘ThrowException’ was not declared in this scope "Argument should be a buffer object."))); ^ In file included from ../buffertools.cc:1:0: ../buffertools.cc: In instantiation of ‘v8::Handle<v8::Value> {anonymous}::UnaryAction<Derived>::operator()(const int&) [with Derived = {anonymous}::FillAction]’: ../buffertools.cc:260:26: required from here /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../buffertools.cc:22:15: error: within this context HandleScope scope; ^ ../buffertools.cc:27:45: error: ‘ThrowException’ was not declared in this scope "Argument should be a buffer object."))); ^ In file included from ../buffertools.cc:1:0: ../buffertools.cc: In instantiation of ‘v8::Handle<v8::Value> {anonymous}::UnaryAction<Derived>::operator()(const int&) [with Derived = {anonymous}::ReverseAction]’: ../buffertools.cc:264:29: required from here /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../buffertools.cc:22:15: error: within this context HandleScope scope; ^ ../buffertools.cc:27:45: error: ‘ThrowException’ was not declared in this scope "Argument should be a buffer object."))); ^ In file included from ../buffertools.cc:1:0: ../buffertools.cc: In instantiation of ‘v8::Handle<v8::Value> {anonymous}::BinaryAction<Derived>::operator()(const int&) [with Derived = {anonymous}::EqualsAction]’: ../buffertools.cc:268:28: required from here /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../buffertools.cc:38:15: error: within this context HandleScope scope; ^ ../buffertools.cc:43:45: error: ‘ThrowException’ was not declared in this scope "Argument should be a buffer object."))); ^ ../buffertools.cc:58:71: error: ‘ThrowException’ was not declared in this scope return ThrowException(Exception::TypeError(illegalArgumentException)); ^ In file included from ../buffertools.cc:1:0: ../buffertools.cc: In instantiation of ‘v8::Handle<v8::Value> {anonymous}::BinaryAction<Derived>::operator()(const int&) [with Derived = {anonymous}::CompareAction]’: ../buffertools.cc:272:29: required from here /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../buffertools.cc:38:15: error: within this context HandleScope scope; ^ ../buffertools.cc:43:45: error: ‘ThrowException’ was not declared in this scope "Argument should be a buffer object."))); ^ ../buffertools.cc:58:71: error: ‘ThrowException’ was not declared in this scope return ThrowException(Exception::TypeError(illegalArgumentException)); ^ In file included from ../buffertools.cc:1:0: ../buffertools.cc: In instantiation of ‘v8::Handle<v8::Value> {anonymous}::BinaryAction<Derived>::operator()(const int&) [with Derived = {anonymous}::IndexOfAction]’: ../buffertools.cc:276:29: required from here /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../buffertools.cc:38:15: error: within this context HandleScope scope; ^ ../buffertools.cc:43:45: error: ‘ThrowException’ was not declared in this scope "Argument should be a buffer object."))); ^ ../buffertools.cc:58:71: error: ‘ThrowException’ was not declared in this scope return ThrowException(Exception::TypeError(illegalArgumentException)); ^ In file included from ../buffertools.cc:1:0: ../buffertools.cc: In instantiation of ‘v8::Handle<v8::Value> {anonymous}::UnaryAction<Derived>::operator()(const int&) [with Derived = {anonymous}::FromHexAction]’: ../buffertools.cc:280:29: required from here /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../buffertools.cc:22:15: error: within this context HandleScope scope; ^ ../buffertools.cc:27:45: error: ‘ThrowException’ was not declared in this scope "Argument should be a buffer object."))); ^ In file included from ../buffertools.cc:1:0: ../buffertools.cc: In instantiation of ‘v8::Handle<v8::Value> {anonymous}::UnaryAction<Derived>::operator()(const int&) [with Derived = {anonymous}::ToHexAction]’: ../buffertools.cc:284:27: required from here /home/grp_ddoservice/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../buffertools.cc:22:15: error: within this context HandleScope scope; ^ ../buffertools.cc:27:45: error: ‘ThrowException’ was not declared in this scope "Argument should be a buffer object."))); ^ make: *** [Release/obj.target/buffertools/buffertools.o] Error 1 make: Leaving directory/test/node_modules/ldapauth/node_modules/ldapjs/node_modules/buffertools/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:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.13.0-52-generic
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.13.0-52-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /test/node_modules/ldapauth/node_modules/ldapjs/node_modules/buffertools
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok

dtrace-provider@0.2.8 install /test/node_modules/ldapauth/node_modules/ldapjs/node_modules/dtrace-provider
node-gyp rebuild

make: Entering directory /test/node_modules/ldapauth/node_modules/ldapjs/node_modules/dtrace-provider/build' TOUCH Release/obj.target/DTraceProviderStub.stamp make: Leaving directory/test/node_modules/ldapauth/node_modules/ldapjs/node_modules/dtrace-provider/build'
npm ERR! Linux 3.13.0-52-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "ldapauth"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE

npm ERR! bcrypt@0.7.5 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bcrypt@0.7.5 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the bcrypt 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 their info via:
npm ERR! npm owner ls bcrypt
npm ERR! There is likely additional logging output above.

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions