builderror.log 13.3 KB
gyp http GET https://npm.taobao.org/mirrors/node/v8.2.1/node-v8.2.1-headers.tar.gz
gyp http 200 https://npm.taobao.org/mirrors/node/v8.2.1/node-v8.2.1-headers.tar.gz
gyp http GET https://npm.taobao.org/mirrors/node/v8.2.1/SHASUMS256.txt
gyp http 200 https://npm.taobao.org/mirrors/node/v8.2.1/SHASUMS256.txt
In file included from ../ext/bson.cc:35:
../ext/bson.h:56:51: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
        static Handle<Value> BSONDeserializeStream(const Arguments &args);
                                                         ^~~~~~~~~
                                                         v8::internal::Arguments
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:142:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../ext/bson.cc:35:
../ext/bson.h:59:43: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
        static Handle<Value> BSONSerialize(const Arguments &args);
                                                 ^~~~~~~~~
                                                 v8::internal::Arguments
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:142:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../ext/bson.cc:35:
../ext/bson.h:60:45: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
        static Handle<Value> BSONDeserialize(const Arguments &args);
                                                   ^~~~~~~~~
                                                   v8::internal::Arguments
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:142:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../ext/bson.cc:35:
../ext/bson.h:63:49: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
        static Handle<Value> CalculateObjectSize(const Arguments &args);
                                                       ^~~~~~~~~
                                                       v8::internal::Arguments
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:142:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../ext/bson.cc:35:
../ext/bson.h:64:57: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
        static Handle<Value> SerializeWithBufferAndIndex(const Arguments &args);
                                                               ^~~~~~~~~
                                                               v8::internal::Arguments
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:142:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../ext/bson.cc:35:
../ext/bson.h:70:33: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
        static Handle<Value> New(const Arguments &args);
                                       ^~~~~~~~~
                                       v8::internal::Arguments
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:142:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../ext/bson.cc:194:14: error: no matching member function for call to 'Has'
                if(object->Has(bson->_bsontypeString))
                   ~~~~~~~~^~~
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:2983:47: note: candidate function not viable: no known conversion from 'Persistent<v8::String>' to 'Local<v8::Value>' for 1st argument
  V8_DEPRECATE_SOON("Use maybe version", bool Has(Local<Value> key));
                                              ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8config.h:351:48: note: expanded from macro 'V8_DEPRECATE_SOON'
#define V8_DEPRECATE_SOON(message, declarator) declarator
                                               ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:3006:43: note: candidate function not viable: no known conversion from 'Persistent<v8::String>' to 'uint32_t' (aka 'unsigned int') for 1st argument
  V8_DEPRECATED("Use maybe version", bool Has(uint32_t index));
                                          ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8config.h:332:3: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
  ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:2999:37: note: candidate function not viable: requires 2 arguments, but 1 was provided
  V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context,
                                    ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:3007:37: note: candidate function not viable: requires 2 arguments, but 1 was provided
  V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context, uint32_t index);
                                    ^
../ext/bson.cc:197:23: error: member reference type 'Persistent<v8::String>' is not a pointer; did you mean to use '.'?
                        if(bson->longString->StrictEquals(constructorString))
                           ~~~~~~~~~~~~~~~~^~
                                           .
../ext/bson.cc:197:25: error: no member named 'StrictEquals' in 'v8::Persistent<v8::String, v8::NonCopyablePersistentTraits<v8::String> >'
                        if(bson->longString->StrictEquals(constructorString))
                           ~~~~~~~~~~~~~~~~  ^
../ext/bson.cc:203:33: error: member reference type 'Persistent<v8::String>' is not a pointer; did you mean to use '.'?
                        else if(bson->timestampString->StrictEquals(constructorString))
                                ~~~~~~~~~~~~~~~~~~~~~^~
                                                     .
../ext/bson.cc:203:35: error: no member named 'StrictEquals' in 'v8::Persistent<v8::String, v8::NonCopyablePersistentTraits<v8::String> >'
                        else if(bson->timestampString->StrictEquals(constructorString))
                                ~~~~~~~~~~~~~~~~~~~~~  ^
../ext/bson.cc:209:32: error: member reference type 'Persistent<v8::String>' is not a pointer; did you mean to use '.'?
                        else if(bson->objectIDString->StrictEquals(constructorString))
                                ~~~~~~~~~~~~~~~~~~~~^~
                                                    .
../ext/bson.cc:209:34: error: no member named 'StrictEquals' in 'v8::Persistent<v8::String, v8::NonCopyablePersistentTraits<v8::String> >'
                        else if(bson->objectIDString->StrictEquals(constructorString))
                                ~~~~~~~~~~~~~~~~~~~~  ^
../ext/bson.cc:214:30: error: member reference type 'Persistent<v8::String>' is not a pointer; did you mean to use '.'?
                        else if(bson->binaryString->StrictEquals(constructorString))
                                ~~~~~~~~~~~~~~~~~~^~
                                                  .
../ext/bson.cc:214:32: error: no member named 'StrictEquals' in 'v8::Persistent<v8::String, v8::NonCopyablePersistentTraits<v8::String> >'
                        else if(bson->binaryString->StrictEquals(constructorString))
                                ~~~~~~~~~~~~~~~~~~  ^
../ext/bson.cc:218:31: error: no matching member function for call to 'Get'
                                uint32_t length = object->Get(bson->_binaryPositionString)->Uint32Value();
                                                  ~~~~~~~~^~~
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:2957:55: note: candidate function not viable: no known conversion from 'Persistent<v8::String>' to 'Local<v8::Value>' for 1st argument
  V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
                                                      ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8config.h:351:48: note: expanded from macro 'V8_DEPRECATE_SOON'
#define V8_DEPRECATE_SOON(message, declarator) declarator
                                               ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:2961:55: note: candidate function not viable: no known conversion from 'Persistent<v8::String>' to 'uint32_t' (aka 'unsigned int') for 1st argument
  V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(uint32_t index));
                                                      ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8config.h:351:48: note: expanded from macro 'V8_DEPRECATE_SOON'
#define V8_DEPRECATE_SOON(message, declarator) declarator
                                               ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:2958:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
  V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                          ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:2962:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
  V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                          ^
../ext/bson.cc:219:39: error: no matching member function for call to 'Get'
                                Local<Object> bufferObj = object->Get(bson->_binaryBufferString)->ToObject();
                                                          ~~~~~~~~^~~
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:2957:55: note: candidate function not viable: no known conversion from 'Persistent<v8::String>' to 'Local<v8::Value>' for 1st argument
  V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
                                                      ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8config.h:351:48: note: expanded from macro 'V8_DEPRECATE_SOON'
#define V8_DEPRECATE_SOON(message, declarator) declarator
                                               ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:2961:55: note: candidate function not viable: no known conversion from 'Persistent<v8::String>' to 'uint32_t' (aka 'unsigned int') for 1st argument
  V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(uint32_t index));
                                                      ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8config.h:351:48: note: expanded from macro 'V8_DEPRECATE_SOON'
#define V8_DEPRECATE_SOON(message, declarator) declarator
                                               ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:2958:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
  V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                          ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:2962:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
  V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                          ^
../ext/bson.cc:224:16: error: no matching member function for call to 'Get'
                                if(object->Get(bson->_binarySubTypeString)->Int32Value() == 0x02) {
                                   ~~~~~~~~^~~
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:2957:55: note: candidate function not viable: no known conversion from 'Persistent<v8::String>' to 'Local<v8::Value>' for 1st argument
  V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
                                                      ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8config.h:351:48: note: expanded from macro 'V8_DEPRECATE_SOON'
#define V8_DEPRECATE_SOON(message, declarator) declarator
                                               ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:2961:55: note: candidate function not viable: no known conversion from 'Persistent<v8::String>' to 'uint32_t' (aka 'unsigned int') for 1st argument
  V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(uint32_t index));
                                                      ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8config.h:351:48: note: expanded from macro 'V8_DEPRECATE_SOON'
#define V8_DEPRECATE_SOON(message, declarator) declarator
                                               ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:2958:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
  V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                          ^
/Users/fzy/.node-gyp/8.2.1/include/node/v8.h:2962:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
  V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                          ^
../ext/bson.cc:230:30: error: member reference type 'Persistent<v8::String>' is not a pointer; did you mean to use '.'?
                        else if(bson->doubleString->StrictEquals(constructorString))
                                ~~~~~~~~~~~~~~~~~~^~
                                                  .
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/bson/ext/bson.o] Error 1
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/cnpm/node_modules/npminstall/node_modules/node-gyp/lib/build.js:285:23)
gyp ERR! stack     at emitTwo (events.js:125:13)
gyp ERR! stack     at ChildProcess.emit (events.js:213:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.5.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/cnpm/node_modules/npminstall/node-gyp-bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/fzy/project/efang/node_modules/_bson@0.1.9@bson
gyp ERR! node -v v8.2.1
gyp ERR! node-gyp -v v3.6.1
gyp ERR! not ok