{"action":"created","issue":{"url":"https://api.github.com/repos/jeremyfa/node-exec-sync/issues/18","labels_url":"https://api.github.com/repos/jeremyfa/node-exec-sync/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/jeremyfa/node-exec-sync/issues/18/comments","events_url":"https://api.github.com/repos/jeremyfa/node-exec-sync/issues/18/events","html_url":"https://github.com/jeremyfa/node-exec-sync/issues/18","id":12378235,"number":18,"title":"Node 0.10.x compat","user":{"login":"atrefz","id":231650,"avatar_url":"https://avatars.githubusercontent.com/u/231650?v=3","gravatar_id":"","url":"https://api.github.com/users/atrefz","html_url":"https://github.com/atrefz","followers_url":"https://api.github.com/users/atrefz/followers","following_url":"https://api.github.com/users/atrefz/following{/other_user}","gists_url":"https://api.github.com/users/atrefz/gists{/gist_id}","starred_url":"https://api.github.com/users/atrefz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atrefz/subscriptions","organizations_url":"https://api.github.com/users/atrefz/orgs","repos_url":"https://api.github.com/users/atrefz/repos","events_url":"https://api.github.com/users/atrefz/events{/privacy}","received_events_url":"https://api.github.com/users/atrefz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2013-03-24T18:26:21Z","updated_at":"2015-08-06T14:53:25Z","closed_at":null,"body":"The install of this module works under 0.8.22 but fails under 0.10.0 as well as 0.10.1 for me (OS X) here is the log:\r\n```\r\n> ref@0.1.3 install /Users/atrefz/Documents/Projekte/Karbon/node_modules/ss-toffee/node_modules/exec-sync/node_modules/ffi/node_modules/ref\r\n> node-gyp rebuild\r\n\r\n  CXX(target) Release/obj.target/binding/src/binding.o\r\n  SOLINK_MODULE(target) Release/binding.node\r\n  SOLINK_MODULE(target) Release/binding.node: Finished\r\n\r\n> ffi@1.1.2 install /Users/atrefz/Documents/Projekte/Karbon/node_modules/ss-toffee/node_modules/exec-sync/node_modules/ffi\r\n> node-gyp rebuild\r\n\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\n  CC(target) Release/obj.target/ffi/deps/libffi/src/java_raw_api.o\r\n  CC(target) Release/obj.target/ffi/deps/libffi/src/closures.o\r\nIn file included from ../deps/libffi/src/closures.c:210:\r\n../deps/libffi/src/dlmalloc.c:3391:30: warning: expression result unused [-Wunused-value]\r\n  set_segment_flags(&m->seg, mmapped);\r\n  ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~\r\n../deps/libffi/src/dlmalloc.c:1957:39: note: expanded from macro 'set_segment_flags'\r\n  (((v) != IS_MMAPPED_BIT) ? (ABORT, (v)) :                             \\\r\n                                      ^\r\n../deps/libffi/src/dlmalloc.c:3551:34: warning: expression result unused [-Wunused-value]\r\n      set_segment_flags(&m->seg, mmap_flag);\r\n      ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~\r\n../deps/libffi/src/dlmalloc.c:1957:39: note: expanded from macro 'set_segment_flags'\r\n  (((v) != IS_MMAPPED_BIT) ? (ABORT, (v)) :                             \\\r\n                                      ^\r\n2 warnings generated.\r\n  CC(target) Release/obj.target/ffi/deps/libffi/src/x86/ffi.o\r\n  CC(target) Release/obj.target/ffi/deps/libffi/src/x86/ffi64.o\r\n  CC(target) Release/obj.target/ffi/deps/libffi/src/x86/darwin.o\r\n  CC(target) Release/obj.target/ffi/deps/libffi/src/x86/darwin64.o\r\n  LIBTOOL-STATIC Release/libffi.a\r\n  CXX(target) Release/obj.target/ffi_bindings/src/ffi.o\r\n../src/ffi.cc:284:3: error: no matching function for call to 'uv_queue_work'\r\n  uv_queue_work(uv_default_loop(), req,\r\n  ^~~~~~~~~~~~~\r\n/Users/atrefz/.node-gyp/0.10.1/deps/uv/include/uv.h:1397:15: note: candidate function not viable: no known conversion from 'void (uv_work_t *)' to 'uv_after_work_cb'\r\n      (aka 'void (*)(uv_work_t *, int)') for 4th argument;\r\nUV_EXTERN int uv_queue_work(uv_loop_t* loop, uv_work_t* req,\r\n              ^\r\n1 error generated.\r\nmake: *** [Release/obj.target/ffi_bindings/src/ffi.o] Error 1\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:256:23)\r\ngyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:754:12)\r\ngyp ERR! System Darwin 12.3.0\r\ngyp ERR! command \"node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /Users/atrefz/Documents/Projekte/Karbon/node_modules/ss-toffee/node_modules/exec-sync/node_modules/ffi\r\ngyp ERR! node -v v0.10.1\r\ngyp ERR! node-gyp -v v0.8.5\r\ngyp ERR! not ok\r\nnpm ERR! ffi@1.1.2 install: `node-gyp rebuild`\r\nnpm ERR! `sh \"-c\" \"node-gyp rebuild\"` failed with 1\r\nnpm ERR!\r\nnpm ERR! Failed at the ffi@1.1.2 install script.\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! System Darwin 12.3.0\r\nnpm ERR! command \"node\" \"/usr/local/bin/npm\" \"install\"\r\nnpm ERR! cwd /Users/atrefz/Documents/Projekte/Karbon\r\nnpm ERR! node -v v0.10.1\r\nnpm ERR! npm -v 1.2.15\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR!\r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR!     /Users/atrefz/Documents/Projekte/Karbon/npm-debug.log\r\nnpm ERR! not ok code 0\r\n```"},"comment":{"url":"https://api.github.com/repos/jeremyfa/node-exec-sync/issues/comments/128402282","html_url":"https://github.com/jeremyfa/node-exec-sync/issues/18#issuecomment-128402282","issue_url":"https://api.github.com/repos/jeremyfa/node-exec-sync/issues/18","id":128402282,"user":{"login":"bitlinguist","id":6582424,"avatar_url":"https://avatars.githubusercontent.com/u/6582424?v=3","gravatar_id":"","url":"https://api.github.com/users/bitlinguist","html_url":"https://github.com/bitlinguist","followers_url":"https://api.github.com/users/bitlinguist/followers","following_url":"https://api.github.com/users/bitlinguist/following{/other_user}","gists_url":"https://api.github.com/users/bitlinguist/gists{/gist_id}","starred_url":"https://api.github.com/users/bitlinguist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitlinguist/subscriptions","organizations_url":"https://api.github.com/users/bitlinguist/orgs","repos_url":"https://api.github.com/users/bitlinguist/repos","events_url":"https://api.github.com/users/bitlinguist/events{/privacy}","received_events_url":"https://api.github.com/users/bitlinguist/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T14:53:25Z","updated_at":"2015-08-06T14:53:25Z","body":"This is really funny, this repo is not maintained but the above mentioned is also not being maintained. I wish I knew more about NPM and Node because I am getting the same error as above. My env is setup with Node v 0.12.3 and npm 2.9.3. I'll be notifying here if I happen to come to a fix."}}