{"action":"created","issue":{"url":"https://api.github.com/repos/mafintosh/fuse-bindings/issues/6","labels_url":"https://api.github.com/repos/mafintosh/fuse-bindings/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/mafintosh/fuse-bindings/issues/6/comments","events_url":"https://api.github.com/repos/mafintosh/fuse-bindings/issues/6/events","html_url":"https://github.com/mafintosh/fuse-bindings/issues/6","id":99173143,"number":6,"title":"Build fails with io.js 3.0.0","user":{"login":"ivan","id":4458,"avatar_url":"https://avatars.githubusercontent.com/u/4458?v=3","gravatar_id":"","url":"https://api.github.com/users/ivan","html_url":"https://github.com/ivan","followers_url":"https://api.github.com/users/ivan/followers","following_url":"https://api.github.com/users/ivan/following{/other_user}","gists_url":"https://api.github.com/users/ivan/gists{/gist_id}","starred_url":"https://api.github.com/users/ivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivan/subscriptions","organizations_url":"https://api.github.com/users/ivan/orgs","repos_url":"https://api.github.com/users/ivan/repos","events_url":"https://api.github.com/users/ivan/events{/privacy}","received_events_url":"https://api.github.com/users/ivan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mafintosh/fuse-bindings/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-05T10:18:14Z","updated_at":"2015-09-24T20:23:00Z","closed_at":"2015-09-24T20:22:59Z","body":"Running `npm install` with io.js 3.0.0 on Ubuntu 14.04.3:\r\n\r\n```\r\n> fuse-bindings@2.4.3 install /mnt/devdrive/NodeProjects/fuse-bindings\r\n> node-gyp rebuild\r\n\r\nmake: Entering directory `/mnt/devdrive/NodeProjects/fuse-bindings/build'\r\n  CXX(target) Release/obj.target/fuse_bindings/fuse-bindings.o\r\nIn file included from ../fuse-bindings.cc:1:0:\r\n../node_modules/nan/nan.h:324:27: error: redefinition of ‘template<class T> v8::Local<T> Nan::imp::NanEnsureHandleOrPersistent(const v8::Local<T>&)’\r\n   NAN_INLINE v8::Local<T> NanEnsureHandleOrPersistent(const v8::Local<T> &val) {\r\n                           ^\r\n../node_modules/nan/nan.h:319:17: error: ‘template<class T> v8::Handle<T> Nan::imp::NanEnsureHandleOrPersistent(v8::Handle<T>&)’ previously declared here\r\n   v8::Handle<T> NanEnsureHandleOrPersistent(const v8::Handle<T> &val) {\r\n                 ^\r\n../node_modules/nan/nan.h:344:27: error: redefinition of ‘template<class T> v8::Local<T> Nan::imp::NanEnsureLocal(v8::Handle<T>&)’\r\n   NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Handle<T> &val) {\r\n                           ^\r\n../node_modules/nan/nan.h:334:27: error: ‘template<class T> v8::Local<T> Nan::imp::NanEnsureLocal(const v8::Local<T>&)’ previously declared here\r\n   NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Local<T> &val) {\r\n                           ^\r\n../node_modules/nan/nan.h:757:13: error: ‘node::smalloc’ has not been declared\r\n     , node::smalloc::FreeCallback callback\r\n             ^\r\n../node_modules/nan/nan.h:757:35: error: expected ‘,’ or ‘...’ before ‘callback’\r\n     , node::smalloc::FreeCallback callback\r\n                                   ^\r\n../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:\r\n../node_modules/nan/nan.h:761:50: error: ‘callback’ was not declared in this scope\r\n         v8::Isolate::GetCurrent(), data, length, callback, hint);\r\n                                                  ^\r\n../node_modules/nan/nan.h:761:60: error: ‘hint’ was not declared in this scope\r\n         v8::Isolate::GetCurrent(), data, length, callback, hint);\r\n                                                            ^\r\n../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:\r\n../node_modules/nan/nan.h:768:67: error: call of overloaded ‘New(v8::Isolate*, const char*&, uint32_t&)’ is ambiguous\r\n     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);\r\n                                                                   ^\r\n../node_modules/nan/nan.h:768:67: note: candidates are:\r\nIn file included from ../node_modules/nan/nan.h:25:0,\r\n                 from ../fuse-bindings.cc:1:\r\n/home/at/.node-gyp/3.0.0/include/node/node_buffer.h:35:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Handle<v8::String>, node::encoding) <near match>\r\n NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\r\n                                        ^\r\n/home/at/.node-gyp/3.0.0/include/node/node_buffer.h:35:40: note:   no known conversion for argument 3 from ‘uint32_t {aka unsigned int}’ to ‘node::encoding’\r\n/home/at/.node-gyp/3.0.0/include/node/node_buffer.h:47:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t) <near match>\r\n NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\r\n                                        ^\r\n/home/at/.node-gyp/3.0.0/include/node/node_buffer.h:47:40: note:   no known conversion for argument 2 from ‘const char*’ to ‘char*’\r\nIn file included from ../fuse-bindings.cc:1:0:\r\n../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:\r\n../node_modules/nan/nan.h:772:61: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’\r\n     return node::Buffer::New(v8::Isolate::GetCurrent(), size);\r\n                                                             ^\r\n../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:\r\n../node_modules/nan/nan.h:779:12: error: ‘Use’ is not a member of ‘node::Buffer’\r\n     return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);\r\n            ^\r\n../fuse-bindings.cc: In function ‘v8::Local<v8::Object> bindings_buffer(char*, size_t)’:\r\n../fuse-bindings.cc:203:8: error: ‘class v8::Object’ has no member named ‘SetIndexedPropertiesToExternalArrayData’\r\n   buf->SetIndexedPropertiesToExternalArrayData((char *) data, kExternalUnsignedByteArray, length);\r\n        ^\r\n../fuse-bindings.cc:203:63: error: ‘kExternalUnsignedByteArray’ was not declared in this scope\r\n   buf->SetIndexedPropertiesToExternalArrayData((char *) data, kExternalUnsignedByteArray, length);\r\n                                                               ^\r\n../fuse-bindings.cc: In function ‘void* bindings_thread(void*)’:\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::getattr’ [-Wmissing-field-initializers]\r\n   struct fuse_operations ops = { };\r\n                                  ^\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::readlink’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::getdir’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::mknod’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::mkdir’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::unlink’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::rmdir’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::symlink’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::rename’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::link’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::chmod’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::chown’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::truncate’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::utime’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::open’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::read’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::write’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::statfs’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::flush’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::release’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::fsync’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::setxattr’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::getxattr’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::listxattr’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::removexattr’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::opendir’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::readdir’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::releasedir’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::fsyncdir’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::init’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::destroy’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::access’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::create’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::ftruncate’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::fgetattr’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::lock’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::utimens’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::bmap’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::flag_nullpath_ok’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::flag_nopath’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::flag_utime_omit_ok’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::flag_reserved’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::ioctl’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::poll’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::write_buf’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::read_buf’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::flock’ [-Wmissing-field-initializers]\r\n../fuse-bindings.cc:648:34: warning: missing initializer for member ‘fuse_operations::fallocate’ [-Wmissing-field-initializers]\r\nmake: *** [Release/obj.target/fuse_bindings/fuse-bindings.o] Error 1\r\nmake: Leaving directory `/mnt/devdrive/NodeProjects/fuse-bindings/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/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269: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-61-generic\r\ngyp ERR! command \"/usr/bin/iojs\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /mnt/devdrive/NodeProjects/fuse-bindings\r\ngyp ERR! node -v v3.0.0\r\ngyp ERR! node-gyp -v v2.0.2\r\ngyp ERR! not ok \r\n\r\nnpm ERR! Linux 3.13.0-61-generic\r\nnpm ERR! argv \"/usr/bin/iojs\" \"/usr/bin/npm\" \"install\"\r\nnpm ERR! node v3.0.0\r\nnpm ERR! npm  v2.13.3\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! fuse-bindings@2.4.3 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the fuse-bindings@2.4.3 install script 'node-gyp rebuild'.\r\nnpm ERR! This is most likely a problem with the fuse-bindings 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 fuse-bindings\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!     /mnt/devdrive/NodeProjects/fuse-bindings/npm-debug.log\r\n```"},"comment":{"url":"https://api.github.com/repos/mafintosh/fuse-bindings/issues/comments/143041049","html_url":"https://github.com/mafintosh/fuse-bindings/issues/6#issuecomment-143041049","issue_url":"https://api.github.com/repos/mafintosh/fuse-bindings/issues/6","id":143041049,"user":{"login":"mafintosh","id":376661,"avatar_url":"https://avatars.githubusercontent.com/u/376661?v=3","gravatar_id":"","url":"https://api.github.com/users/mafintosh","html_url":"https://github.com/mafintosh","followers_url":"https://api.github.com/users/mafintosh/followers","following_url":"https://api.github.com/users/mafintosh/following{/other_user}","gists_url":"https://api.github.com/users/mafintosh/gists{/gist_id}","starred_url":"https://api.github.com/users/mafintosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mafintosh/subscriptions","organizations_url":"https://api.github.com/users/mafintosh/orgs","repos_url":"https://api.github.com/users/mafintosh/repos","events_url":"https://api.github.com/users/mafintosh/events{/privacy}","received_events_url":"https://api.github.com/users/mafintosh/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T20:22:59Z","updated_at":"2015-09-24T20:22:59Z","body":"This should be fixed in the latest version"}}