{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/5452","labels_url":"https://api.github.com/repos/meteor/meteor/issues/5452/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/5452/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/5452/events","html_url":"https://github.com/meteor/meteor/issues/5452","id":111931850,"number":5452,"title":"`meteor build` fails after 1.2.0.2 upgrade","user":{"login":"betacar","id":324564,"avatar_url":"https://avatars.githubusercontent.com/u/324564?v=3","gravatar_id":"","url":"https://api.github.com/users/betacar","html_url":"https://github.com/betacar","followers_url":"https://api.github.com/users/betacar/followers","following_url":"https://api.github.com/users/betacar/following{/other_user}","gists_url":"https://api.github.com/users/betacar/gists{/gist_id}","starred_url":"https://api.github.com/users/betacar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betacar/subscriptions","organizations_url":"https://api.github.com/users/betacar/orgs","repos_url":"https://api.github.com/users/betacar/repos","events_url":"https://api.github.com/users/betacar/events{/privacy}","received_events_url":"https://api.github.com/users/betacar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-17T00:02:05Z","updated_at":"2015-10-18T00:16:48Z","closed_at":null,"body":"After upgrading to meteor 1.2.0.2, our staging meteor app fails in the build process. Basically (and this is my conclusion from the npm logs) is not able to compile fibers@1.0.5.\r\n\r\nHere is the complete build output:\r\n````shell\r\n$ meteor build\r\nbundle/\r\nbundle/.node_version.txt\r\nbundle/README\r\nbundle/main.js\r\n...\r\nbundle/server/\r\nbundle/server/.bundle_version.txt\r\nbundle/star.json\r\nnpm WARN package.json meteor-dev-bundle@0.0.0 No description\r\nnpm WARN package.json meteor-dev-bundle@0.0.0 No repository field.\r\nnpm WARN package.json meteor-dev-bundle@0.0.0 No README data\r\nnpm WARN package.json meteor-dev-bundle@0.0.0 No license field.\r\n/\r\n> fibers@1.0.5 install /home/mah-app/app/programs/server/node_modules/fibers\r\n> node ./build.js\r\n\r\n(node) child_process: options.customFds option is deprecated. Use options.stdio instead.\r\nmake: Entering directory `/home/mah-app/app/programs/server/node_modules/fibers/build'\r\n  CXX(target) Release/obj.target/fibers/src/fibers.o\r\n../src/fibers.cc: In function ‘v8::Handle<v8::Signature> uni::NewSignature(v8::Isolate*, v8::Handle<v8::FunctionTemplate>, int, v8::Handle<v8::FunctionTemplate>*)’:\r\n../src/fibers.cc:132:54: error: no matching function for call to ‘v8::Signature::New(v8::Isolate*&, v8::Handle<v8::FunctionTemplate>&, int&, v8::Handle<v8::FunctionTemplate>*&)’\r\n   return Signature::New(isolate, receiver, argc, argv);\r\n                                                      ^\r\n../src/fibers.cc:132:54: note: candidate is:\r\nIn file included from /home/ubuntu/.node-gyp/4.2.1/include/node/node.h:42:0,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/ubuntu/.node-gyp/4.2.1/include/node/v8.h:4675:27: note: static v8::Local<v8::Signature> v8::Signature::New(v8::Isolate*, v8::Local<v8::FunctionTemplate>)\r\n   static Local<Signature> New(\r\n                           ^\r\n/home/ubuntu/.node-gyp/4.2.1/include/node/v8.h:4675:27: note:   candidate expects 2 arguments, 4 provided\r\n../src/fibers.cc: In function ‘void uni::SetResourceConstraints(v8::Isolate*, v8::ResourceConstraints*)’:\r\n../src/fibers.cc:140:3: error: ‘SetResourceConstraints’ is not a member of ‘v8’\r\n   v8::SetResourceConstraints(isolate, constraints);\r\n   ^\r\n../src/fibers.cc:140:3: note: suggested alternative:\r\n../src/fibers.cc:139:7: note:   ‘uni::SetResourceConstraints’\r\n  void SetResourceConstraints(Isolate* isolate, ResourceConstraints* constraints) {\r\n       ^\r\n../src/fibers.cc: In function ‘v8::Handle<v8::Signature> uni::NewSignature(v8::Isolate*, v8::Handle<v8::FunctionTemplate>, int, v8::Handle<v8::FunctionTemplate>*)’:\r\n../src/fibers.cc:133:2: warning: control reaches end of non-void function [-Wreturn-type]\r\n  }\r\n  ^\r\nmake: *** [Release/obj.target/fibers/src/fibers.o] Error 1\r\nmake: Leaving directory `/home/mah-app/app/programs/server/node_modules/fibers/build'\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)\r\ngyp ERR! stack     at emitTwo (events.js:87:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\ngyp ERR! System Linux 3.13.0-48-generic\r\ngyp ERR! command \"/usr/local/bin/node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\" \"--release\"\r\ngyp ERR! cwd /home/mah-app/app/programs/server/node_modules/fibers\r\ngyp ERR! node -v v4.2.1\r\ngyp ERR! node-gyp -v v3.0.3\r\ngyp ERR! not ok\r\nBuild failed\r\nnpm ERR! Linux 3.13.0-48-generic\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\"\r\nnpm ERR! node v4.2.1\r\nnpm ERR! npm  v2.14.7\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! fibers@1.0.5 install: `node ./build.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the fibers@1.0.5 install script 'node ./build.js'.\r\nnpm ERR! This is most likely a problem with the fibers package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node ./build.js\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls fibers\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /home/mah-app/app/programs/server/npm-debug.log\r\n````\r\n\r\nNow, there is an [open issue about this in the node-fibers project](https://github.com/laverdet/node-fibers/issues/248) in a node v4.X enviroment. But, we use node v0.10.40 is ours.\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/148963094","html_url":"https://github.com/meteor/meteor/issues/5452#issuecomment-148963094","issue_url":"https://api.github.com/repos/meteor/meteor/issues/5452","id":148963094,"user":{"login":"Sanjo","id":727955,"avatar_url":"https://avatars.githubusercontent.com/u/727955?v=3","gravatar_id":"","url":"https://api.github.com/users/Sanjo","html_url":"https://github.com/Sanjo","followers_url":"https://api.github.com/users/Sanjo/followers","following_url":"https://api.github.com/users/Sanjo/following{/other_user}","gists_url":"https://api.github.com/users/Sanjo/gists{/gist_id}","starred_url":"https://api.github.com/users/Sanjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sanjo/subscriptions","organizations_url":"https://api.github.com/users/Sanjo/orgs","repos_url":"https://api.github.com/users/Sanjo/repos","events_url":"https://api.github.com/users/Sanjo/events{/privacy}","received_events_url":"https://api.github.com/users/Sanjo/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T00:16:48Z","updated_at":"2015-10-18T00:16:48Z","body":"You run Meteor with node v4.2.1. See `npm ERR! node v4.2.1`;-)"}}