{"action":"created","issue":{"url":"https://api.github.com/repos/nebrius/raspi-llio/issues/2","labels_url":"https://api.github.com/repos/nebrius/raspi-llio/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/nebrius/raspi-llio/issues/2/comments","events_url":"https://api.github.com/repos/nebrius/raspi-llio/issues/2/events","html_url":"https://github.com/nebrius/raspi-llio/issues/2","id":96639464,"number":2,"title":"Fails to build on rasberry pi b+, node v 0.12.1","user":{"login":"YemSalat","id":2361381,"avatar_url":"https://avatars.githubusercontent.com/u/2361381?v=3","gravatar_id":"","url":"https://api.github.com/users/YemSalat","html_url":"https://github.com/YemSalat","followers_url":"https://api.github.com/users/YemSalat/followers","following_url":"https://api.github.com/users/YemSalat/following{/other_user}","gists_url":"https://api.github.com/users/YemSalat/gists{/gist_id}","starred_url":"https://api.github.com/users/YemSalat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YemSalat/subscriptions","organizations_url":"https://api.github.com/users/YemSalat/orgs","repos_url":"https://api.github.com/users/YemSalat/repos","events_url":"https://api.github.com/users/YemSalat/events{/privacy}","received_events_url":"https://api.github.com/users/YemSalat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-22T18:54:36Z","updated_at":"2015-07-22T19:40:15Z","closed_at":"2015-07-22T19:40:15Z","body":"I am getting this error when running npm install:\r\n\r\n```\r\nchild_process: customFds option is deprecated, use stdio instead.\r\nmake: Entering directory '/home/pi/nodegpio/test2/node_modules/raspi-llio/node_modules/ffi/node_modules/ref-struct/node_modules/ref/build'\r\n  CXX(target) Release/obj.target/binding/src/binding.o\r\n  SOLINK_MODULE(target) Release/obj.target/binding.node\r\n  SOLINK_MODULE(target) Release/obj.target/binding.node: Finished\r\n  COPY Release/binding.node\r\nmake: Leaving directory '/home/pi/nodegpio/test2/node_modules/raspi-llio/node_modules/ffi/node_modules/ref-struct/node_modules/ref/build'\r\n\r\n> ffi@1.2.7 install /home/pi/nodegpio/test2/node_modules/raspi-llio/node_modules/ffi\r\n> node-gyp rebuild\r\n\r\nchild_process: customFds option is deprecated, use stdio instead.\r\nmake: Entering directory '/home/pi/nodegpio/test2/node_modules/raspi-llio/node_modules/ffi/build'\r\n  CC(target) Release/obj.target/ffi/deps/libffi/src/prep_cif.o\r\n  CC(target) Release/obj.target/ffi/deps/libffi/src/types.o\r\n  CC(target) Release/obj.target/ffi/deps/libffi/src/raw_api.o\r\nSegmentation fault\r\ndeps/libffi/ffi.target.mk:99: recipe for target 'Release/obj.target/ffi/deps/libffi/src/raw_api.o' failed\r\nmake: *** [Release/obj.target/ffi/deps/libffi/src/raw_api.o] Error 139\r\nmake: Leaving directory '/home/pi/nodegpio/test2/node_modules/raspi-llio/node_modules/ffi/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:267:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:110:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1067:12)\r\ngyp ERR! System Linux 4.0.7+\r\ngyp ERR! command \"node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /home/pi/nodegpio/test2/node_modules/raspi-llio/node_modules/ffi\r\ngyp ERR! node -v v0.12.1\r\ngyp ERR! node-gyp -v v1.0.2\r\ngyp ERR! not ok \r\nnpm ERR! Linux 4.0.7+\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\" \"raspi-llio\" \"--save-dev\"\r\nnpm ERR! node v0.12.1\r\nnpm ERR! npm  v2.5.1\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! ffi@1.2.7 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the ffi@1.2.7 install script 'node-gyp rebuild'.\r\nnpm ERR! This is most likely a problem with the ffi package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-gyp rebuild\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls ffi\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/pi/nodegpio/test2/npm-debug.log\r\n```"},"comment":{"url":"https://api.github.com/repos/nebrius/raspi-llio/issues/comments/123839725","html_url":"https://github.com/nebrius/raspi-llio/issues/2#issuecomment-123839725","issue_url":"https://api.github.com/repos/nebrius/raspi-llio/issues/2","id":123839725,"user":{"login":"nebrius","id":1141386,"avatar_url":"https://avatars.githubusercontent.com/u/1141386?v=3","gravatar_id":"","url":"https://api.github.com/users/nebrius","html_url":"https://github.com/nebrius","followers_url":"https://api.github.com/users/nebrius/followers","following_url":"https://api.github.com/users/nebrius/following{/other_user}","gists_url":"https://api.github.com/users/nebrius/gists{/gist_id}","starred_url":"https://api.github.com/users/nebrius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nebrius/subscriptions","organizations_url":"https://api.github.com/users/nebrius/orgs","repos_url":"https://api.github.com/users/nebrius/repos","events_url":"https://api.github.com/users/nebrius/events{/privacy}","received_events_url":"https://api.github.com/users/nebrius/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T19:40:15Z","updated_at":"2015-07-22T19:40:15Z","body":"Hmm...probably a combination of node and the version of ffi that raspi-llio uses not getting along. Try it in Node 0.10 and I bet it will work.\r\n\r\nJust so expectations are set correctly: this project is deprecated in favor of [Raspi.js](https://github.com/nebrius/raspi/). If you run into any issues, feel free to fork it and fix it yourself, but I'm not committing anything else to this project."}}