node-fibers: Build fails on io.js 1.0.2
Attaching build log. iojs/io.js#456
> fibers@1.0.4 install /Users/redism/dev/sandbox/node-fibers
> node ./build.js
child_process: customFds option is deprecated, use stdio instead.
child_process: customFds option is deprecated, use stdio instead.
2015-01-17 15:22:11.834 xcodebuild[30043:1007] [MT] PluginLoading: Required plug-in compatibility UUID C4A681B0-4A26-480E-93EC-1218098B9AA0 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs
CXX(target) Release/obj.target/fibers/src/fibers.o
../src/fibers.cc:140:3: error: no member named 'SetResourceConstraints' in namespace 'v8'; did you mean simply
'SetResourceConstraints'?
v8::SetResourceConstraints(isolate, constraints);
^~~~~~~~~~~~~~~~~~~~~~~~~~
SetResourceConstraints
../src/fibers.cc:139:7: note: 'SetResourceConstraints' declared here
void SetResourceConstraints(Isolate* isolate, ResourceConstraints* constraints) {
^
1 error generated.
make: *** [Release/obj.target/fibers/src/fibers.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/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1038:12)
gyp ERR! System Darwin 13.4.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /Users/redism/dev/sandbox/node-fibers
gyp ERR! node -v v1.0.2
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
Build failed
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 38 (6 by maintainers)
Commits related to this issue
- resolves #203 — committed to konsumer/node-fibers by konsumer 9 years ago
Ahh, was this under a previous version of Meteor then?
Fibers 1.0.5 is really old so if your error message says 1.0.5 you should consider updating from npm.
Ok, I changed the version of Node and I get the same issue:
(node) child_process: options.customFds option is deprecated. Use options.stdio instead. gyp WARN EACCES user “root” does not have permission to access the dev dir “/root/.node-gyp/4.2.1” gyp WARN EACCES attempting to reinstall using temporary dev dir “/home/jpmelnik/prueba/bundle/programs/server/node_modules/fibers/.node-gyp” make: se ingresa al directorio «/home/jpmelnik/prueba/bundle/programs/server/node_modules/fibers/build» CXX(target) Release/obj.target/fibers/src/fibers.o …/src/fibers.cc: In function ‘v8::Handlev8::Signature uni::NewSignature(v8::Isolate_, v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate_)’: …/src/fibers.cc:132:54: error: no matching function for call to ‘v8::Signature::New(v8::Isolate_&, v8::Handlev8::FunctionTemplate&, int&, v8::Handlev8::FunctionTemplate_&)’ return Signature::New(isolate, receiver, argc, argv); ^ …/src/fibers.cc:132:54: note: candidate is: In file included from /home/jpmelnik/prueba/bundle/programs/server/node_modules/fibers/.node-gyp/4.2.1/include/node/node.h:42:0, from …/src/coroutine.h:1, from …/src/fibers.cc:1: /home/jpmelnik/prueba/bundle/programs/server/node_modules/fibers/.node-gyp/4.2.1/include/node/v8.h:4675:27: note: static v8::Localv8::Signature v8::Signature::New(v8::Isolate_, v8::Localv8::FunctionTemplate) static Local<Signature> New( ^ /home/jpmelnik/prueba/bundle/programs/server/node_modules/fibers/.node-gyp/4.2.1/include/node/v8.h:4675:27: note: candidate expects 2 arguments, 4 provided …/src/fibers.cc: In function ‘void uni::SetResourceConstraints(v8::Isolate_, v8::ResourceConstraints_)’: …/src/fibers.cc:140:3: error: ‘SetResourceConstraints’ is not a member of ‘v8’ v8::SetResourceConstraints(isolate, constraints); ^ …/src/fibers.cc:140:3: note: suggested alternative: …/src/fibers.cc:139:7: note: ‘uni::SetResourceConstraints’ void SetResourceConstraints(Isolate_ isolate, ResourceConstraints* constraints) { ^ …/src/fibers.cc: In function ‘v8::Handlev8::Signature uni::NewSignature(v8::Isolate_, v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate_)’: …/src/fibers.cc:133:2: warning: control reaches end of non-void function [-Wreturn-type] } ^ make: *** [Release/obj.target/fibers/src/fibers.o] Error 1 make: se sale del directorio «/home/jpmelnik/prueba/bundle/programs/server/node_modules/fibers/build» gyp ERR! build error gyp ERR! stack Error:
makefailed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Linux 3.16.0-51-generic gyp ERR! command “/usr/local/bin/node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild” “–release” gyp ERR! cwd /home/jpmelnik/prueba/bundle/programs/server/node_modules/fibers gyp ERR! node -v v4.2.1 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok Build failed npm ERR! Linux 3.16.0-51-generic npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “install” npm ERR! node v4.2.1 npm ERR! npm v2.14.7 npm ERR! code ELIFECYCLEnpm ERR! fibers@1.0.5 install:
node ./build.jsnpm ERR! Exit status 1 npm ERR! npm ERR! Failed at the fibers@1.0.5 install script ‘node ./build.js’. npm ERR! This is most likely a problem with the fibers package, npm ERR! not with npm itself.