builderror.log
13.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
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