{"action":"closed","issue":{"url":"https://api.github.com/repos/pimatic/pimatic-sysinfo/issues/8","labels_url":"https://api.github.com/repos/pimatic/pimatic-sysinfo/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/pimatic/pimatic-sysinfo/issues/8/comments","events_url":"https://api.github.com/repos/pimatic/pimatic-sysinfo/issues/8/events","html_url":"https://github.com/pimatic/pimatic-sysinfo/issues/8","id":88716992,"number":8,"title":"error installing sysinfo (nsutil)","user":{"login":"nicochi","id":12911669,"avatar_url":"https://avatars.githubusercontent.com/u/12911669?v=3","gravatar_id":"","url":"https://api.github.com/users/nicochi","html_url":"https://github.com/nicochi","followers_url":"https://api.github.com/users/nicochi/followers","following_url":"https://api.github.com/users/nicochi/following{/other_user}","gists_url":"https://api.github.com/users/nicochi/gists{/gist_id}","starred_url":"https://api.github.com/users/nicochi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicochi/subscriptions","organizations_url":"https://api.github.com/users/nicochi/orgs","repos_url":"https://api.github.com/users/nicochi/repos","events_url":"https://api.github.com/users/nicochi/events{/privacy}","received_events_url":"https://api.github.com/users/nicochi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-16T12:45:28Z","updated_at":"2015-06-17T08:04:54Z","closed_at":"2015-06-17T08:04:53Z","body":"I cannot install sysinfo as nsutil fails to compile.\r\n\r\nSame error if I install via plugin in config.json, or with \"npm install pimatic-sysinfo\" from pimatic-app folder (as normal user or root).\r\n\r\nSee below the output of the \"npm install pimatic-sysinfo\" command. I can provide the npm-debug.log file if needed.\r\n\r\n```\r\nnpm install pimatic-sysinfo\r\n\\\r\n> nsutil@0.1.3 install /home/pi/pimatic-app/node_modules/pimatic-sysinfo/node_modules/nsutil\r\n> node-gyp rebuild\r\n\r\nchild_process: customFds option is deprecated, use stdio instead.\r\nmake: Entering directory '/home/pi/pimatic-app/node_modules/pimatic-sysinfo/node_modules/nsutil/build'\r\n  CXX(target) Release/obj.target/nsutil_linux/src/sutil/sutil_linux.o\r\n  CXX(target) Release/obj.target/nsutil_linux/src/nsutil/nsutil_linux_funcs.o\r\nIn file included from ../src/nsutil/nsutil_linux_funcs.cpp:1:0:\r\n../src/nsutil/nsutil_linux_funcs.h:6:30: error: 'Arguments' in namespace 'v8' does not name a type\r\n../src/nsutil/nsutil_linux_funcs.h:6:45: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]\r\n../src/nsutil/nsutil_linux_funcs.h:9:30: error: 'Arguments' in namespace 'v8' does not name a type\r\n../src/nsutil/nsutil_linux_funcs.h:9:45: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]\r\n../src/nsutil/nsutil_linux_funcs.h:12:30: error: 'Arguments' in namespace 'v8' does not name a type\r\n../src/nsutil/nsutil_linux_funcs.h:12:45: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]\r\n../src/nsutil/nsutil_linux_funcs.h:15:22: error: 'Arguments' in namespace 'v8' does not name a type\r\n../src/nsutil/nsutil_linux_funcs.h:15:37: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]\r\n../src/nsutil/nsutil_linux_funcs.h:18:36: error: 'Arguments' in namespace 'v8' does not name a type\r\n../src/nsutil/nsutil_linux_funcs.h:18:51: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]\r\n../src/nsutil/nsutil_linux_funcs.h:21:20: error: 'Arguments' in namespace 'v8' does not name a type\r\n../src/nsutil/nsutil_linux_funcs.h:21:35: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]\r\n../src/nsutil/nsutil_linux_funcs.h:24:25: error: 'Arguments' in namespace 'v8' does not name a type\r\n../src/nsutil/nsutil_linux_funcs.h:24:40: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]\r\n../src/nsutil/nsutil_linux_funcs.h:27:22: error: 'Arguments' in namespace 'v8' does not name a type\r\n../src/nsutil/nsutil_linux_funcs.h:27:37: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]\r\n../src/nsutil/nsutil_linux_funcs.cpp:9:25: error: 'Arguments' does not name a type\r\n../src/nsutil/nsutil_linux_funcs.cpp:9:36: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_pid_exists(const int&)':\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected\r\n../src/nsutil/nsutil_linux_funcs.cpp:11:17: error: within this context\r\n../src/nsutil/nsutil_linux_funcs.cpp:12:14: error: request for member 'Length' in 'args', which is of non-class type 'const int'\r\n../src/nsutil/nsutil_linux_funcs.cpp:13:45: error: 'New' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:13:86: error: 'ThrowException' was not declared in this scope\r\n../src/nsutil/nsutil_linux_funcs.cpp:14:22: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:14:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/nsutil/nsutil_linux_funcs.cpp:16:16: error: invalid types 'const int[int]' for array subscript\r\n../src/nsutil/nsutil_linux_funcs.cpp:17:45: error: 'New' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:17:76: error: 'ThrowException' was not declared in this scope\r\n../src/nsutil/nsutil_linux_funcs.cpp:18:22: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:18:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/nsutil/nsutil_linux_funcs.cpp:20:25: error: invalid types 'const int[int]' for array subscript\r\n../src/nsutil/nsutil_linux_funcs.cpp:21:18: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:21:58: error: no matching function for call to 'v8::Boolean::New(bool)'\r\n../src/nsutil/nsutil_linux_funcs.cpp:21:58: note: candidate is:\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided\r\n../src/nsutil/nsutil_linux_funcs.cpp: At global scope:\r\n../src/nsutil/nsutil_linux_funcs.cpp:25:30: error: 'Arguments' does not name a type\r\n../src/nsutil/nsutil_linux_funcs.cpp:25:41: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_proc_ioprio_get(const int&)':\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected\r\n../src/nsutil/nsutil_linux_funcs.cpp:27:17: error: within this context\r\n../src/nsutil/nsutil_linux_funcs.cpp:28:14: error: request for member 'Length' in 'args', which is of non-class type 'const int'\r\n../src/nsutil/nsutil_linux_funcs.cpp:29:45: error: 'New' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:29:86: error: 'ThrowException' was not declared in this scope\r\n../src/nsutil/nsutil_linux_funcs.cpp:30:22: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:30:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/nsutil/nsutil_linux_funcs.cpp:32:16: error: invalid types 'const int[int]' for array subscript\r\n../src/nsutil/nsutil_linux_funcs.cpp:33:45: error: 'New' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:33:76: error: 'ThrowException' was not declared in this scope\r\n../src/nsutil/nsutil_linux_funcs.cpp:34:22: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:34:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/nsutil/nsutil_linux_funcs.cpp:36:25: error: invalid types 'const int[int]' for array subscript\r\n../src/nsutil/nsutil_linux_funcs.cpp:39:22: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:39:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/nsutil/nsutil_linux_funcs.cpp:41:37: error: no matching function for call to 'v8::Object::New()'\r\n../src/nsutil/nsutil_linux_funcs.cpp:41:37: note: candidate is:\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note:   candidate expects 1 argument, 0 provided\r\n../src/nsutil/nsutil_linux_funcs.cpp:42:14: error: 'NewSymbol' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:42:69: error: no matching function for call to 'v8::Integer::New(int&)'\r\n../src/nsutil/nsutil_linux_funcs.cpp:42:69: note: candidate is:\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2012:25: note:   candidate expects 2 arguments, 1 provided\r\n../src/nsutil/nsutil_linux_funcs.cpp:43:14: error: 'NewSymbol' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:43:68: error: no matching function for call to 'v8::Integer::New(int&)'\r\n../src/nsutil/nsutil_linux_funcs.cpp:43:68: note: candidate is:\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2012:25: note:   candidate expects 2 arguments, 1 provided\r\n../src/nsutil/nsutil_linux_funcs.cpp:46:18: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp: At global scope:\r\n../src/nsutil/nsutil_linux_funcs.cpp:50:30: error: 'Arguments' does not name a type\r\n../src/nsutil/nsutil_linux_funcs.cpp:50:41: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_proc_ioprio_set(const int&)':\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected\r\n../src/nsutil/nsutil_linux_funcs.cpp:52:17: error: within this context\r\n../src/nsutil/nsutil_linux_funcs.cpp:53:14: error: request for member 'Length' in 'args', which is of non-class type 'const int'\r\n../src/nsutil/nsutil_linux_funcs.cpp:54:45: error: 'New' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:54:86: error: 'ThrowException' was not declared in this scope\r\n../src/nsutil/nsutil_linux_funcs.cpp:55:22: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:55:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/nsutil/nsutil_linux_funcs.cpp:57:16: error: invalid types 'const int[int]' for array subscript\r\n../src/nsutil/nsutil_linux_funcs.cpp:57:40: error: invalid types 'const int[int]' for array subscript\r\n../src/nsutil/nsutil_linux_funcs.cpp:57:64: error: invalid types 'const int[int]' for array subscript\r\n../src/nsutil/nsutil_linux_funcs.cpp:58:45: error: 'New' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:58:76: error: 'ThrowException' was not declared in this scope\r\n../src/nsutil/nsutil_linux_funcs.cpp:59:22: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:59:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/nsutil/nsutil_linux_funcs.cpp:62:25: error: invalid types 'const int[int]' for array subscript\r\n../src/nsutil/nsutil_linux_funcs.cpp:63:26: error: invalid types 'const int[int]' for array subscript\r\n../src/nsutil/nsutil_linux_funcs.cpp:64:25: error: invalid types 'const int[int]' for array subscript\r\n../src/nsutil/nsutil_linux_funcs.cpp:67:18: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:67:39: error: no matching function for call to 'v8::Integer::New(int&)'\r\n../src/nsutil/nsutil_linux_funcs.cpp:67:39: note: candidate is:\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2012:25: note:   candidate expects 2 arguments, 1 provided\r\n../src/nsutil/nsutil_linux_funcs.cpp: At global scope:\r\n../src/nsutil/nsutil_linux_funcs.cpp:77:28: error: 'Arguments' does not name a type\r\n../src/nsutil/nsutil_linux_funcs.cpp:77:39: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_linux_prlimit(const int&)':\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected\r\n../src/nsutil/nsutil_linux_funcs.cpp:79:17: error: within this context\r\n../src/nsutil/nsutil_linux_funcs.cpp:80:18: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:80:34: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/nsutil/nsutil_linux_funcs.cpp: At global scope:\r\n../src/nsutil/nsutil_linux_funcs.cpp:87:30: error: 'Arguments' does not name a type\r\n../src/nsutil/nsutil_linux_funcs.cpp:87:41: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_disk_partitions(const int&)':\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected\r\n../src/nsutil/nsutil_linux_funcs.cpp:89:17: error: within this context\r\n../src/nsutil/nsutil_linux_funcs.cpp:94:22: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:94:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/nsutil/nsutil_linux_funcs.cpp:97:49: error: invalid conversion from 'std::vector<std::vector<std::basic_string<char> > >::size_type {aka unsigned int}' to 'v8::Isolate*' [-fpermissive]\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2417:23: error:   initializing argument 1 of 'static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)' [-fpermissive]\r\n../src/nsutil/nsutil_linux_funcs.cpp:100:37: error: no matching function for call to 'v8::Object::New()'\r\n../src/nsutil/nsutil_linux_funcs.cpp:100:37: note: candidate is:\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note:   candidate expects 1 argument, 0 provided\r\n../src/nsutil/nsutil_linux_funcs.cpp:102:18: error: 'NewSymbol' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:103:17: error: 'New' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:104:18: error: 'NewSymbol' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:105:17: error: 'New' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:106:18: error: 'NewSymbol' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:107:17: error: 'New' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:108:18: error: 'NewSymbol' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:109:17: error: 'New' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:115:18: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp: At global scope:\r\n../src/nsutil/nsutil_linux_funcs.cpp:121:22: error: 'Arguments' does not name a type\r\n../src/nsutil/nsutil_linux_funcs.cpp:121:33: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_sysinfo(const int&)':\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected\r\n../src/nsutil/nsutil_linux_funcs.cpp:123:17: error: within this context\r\n../src/nsutil/nsutil_linux_funcs.cpp:128:22: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:128:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/nsutil/nsutil_linux_funcs.cpp:131:37: error: no matching function for call to 'v8::Object::New()'\r\n../src/nsutil/nsutil_linux_funcs.cpp:131:37: note: candidate is:\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note:   candidate expects 1 argument, 0 provided\r\n../src/nsutil/nsutil_linux_funcs.cpp:133:14: error: 'NewSymbol' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:134:32: error: no matching function for call to 'v8::Number::New(uint64_t&)'\r\n../src/nsutil/nsutil_linux_funcs.cpp:134:32: note: candidate is:\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided\r\n../src/nsutil/nsutil_linux_funcs.cpp:135:14: error: 'NewSymbol' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:136:32: error: no matching function for call to 'v8::Number::New(uint64_t&)'\r\n../src/nsutil/nsutil_linux_funcs.cpp:136:32: note: candidate is:\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided\r\n../src/nsutil/nsutil_linux_funcs.cpp:137:14: error: 'NewSymbol' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:138:32: error: no matching function for call to 'v8::Number::New(uint64_t&)'\r\n../src/nsutil/nsutil_linux_funcs.cpp:138:32: note: candidate is:\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided\r\n../src/nsutil/nsutil_linux_funcs.cpp:139:14: error: 'NewSymbol' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:140:32: error: no matching function for call to 'v8::Number::New(uint64_t&)'\r\n../src/nsutil/nsutil_linux_funcs.cpp:140:32: note: candidate is:\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided\r\n../src/nsutil/nsutil_linux_funcs.cpp:141:14: error: 'NewSymbol' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:142:32: error: no matching function for call to 'v8::Number::New(uint64_t&)'\r\n../src/nsutil/nsutil_linux_funcs.cpp:142:32: note: candidate is:\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided\r\n../src/nsutil/nsutil_linux_funcs.cpp:143:14: error: 'NewSymbol' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:144:32: error: no matching function for call to 'v8::Number::New(uint64_t&)'\r\n../src/nsutil/nsutil_linux_funcs.cpp:144:32: note: candidate is:\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided\r\n../src/nsutil/nsutil_linux_funcs.cpp:147:18: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp: At global scope:\r\n../src/nsutil/nsutil_linux_funcs.cpp:153:36: error: 'Arguments' does not name a type\r\n../src/nsutil/nsutil_linux_funcs.cpp:153:47: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_proc_cpu_affinity_get(const int&)':\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected\r\n../src/nsutil/nsutil_linux_funcs.cpp:155:17: error: within this context\r\n../src/nsutil/nsutil_linux_funcs.cpp:156:14: error: request for member 'Length' in 'args', which is of non-class type 'const int'\r\n../src/nsutil/nsutil_linux_funcs.cpp:157:45: error: 'New' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:157:86: error: 'ThrowException' was not declared in this scope\r\n../src/nsutil/nsutil_linux_funcs.cpp:158:22: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:158:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/nsutil/nsutil_linux_funcs.cpp:160:16: error: invalid types 'const int[int]' for array subscript\r\n../src/nsutil/nsutil_linux_funcs.cpp:161:45: error: 'New' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:161:76: error: 'ThrowException' was not declared in this scope\r\n../src/nsutil/nsutil_linux_funcs.cpp:162:22: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:162:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/nsutil/nsutil_linux_funcs.cpp:164:25: error: invalid types 'const int[int]' for array subscript\r\n../src/nsutil/nsutil_linux_funcs.cpp:168:22: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:168:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/nsutil/nsutil_linux_funcs.cpp:171:18: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:171:40: error: no matching function for call to 'v8::Number::New(uint32_t&)'\r\n../src/nsutil/nsutil_linux_funcs.cpp:171:40: note: candidate is:\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided\r\n../src/nsutil/nsutil_linux_funcs.cpp: At global scope:\r\n../src/nsutil/nsutil_linux_funcs.cpp:208:20: error: 'Arguments' does not name a type\r\n../src/nsutil/nsutil_linux_funcs.cpp:208:31: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_users(const int&)':\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected\r\n../src/nsutil/nsutil_linux_funcs.cpp:210:17: error: within this context\r\n../src/nsutil/nsutil_linux_funcs.cpp:215:22: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:215:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/nsutil/nsutil_linux_funcs.cpp:218:51: error: invalid conversion from 'std::vector<sutil_user_info>::size_type {aka unsigned int}' to 'v8::Isolate*' [-fpermissive]\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2417:23: error:   initializing argument 1 of 'static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)' [-fpermissive]\r\n../src/nsutil/nsutil_linux_funcs.cpp:219:37: error: no matching function for call to 'v8::Object::New()'\r\n../src/nsutil/nsutil_linux_funcs.cpp:219:37: note: candidate is:\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note:   candidate expects 1 argument, 0 provided\r\n../src/nsutil/nsutil_linux_funcs.cpp:223:18: error: 'NewSymbol' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:223:49: error: 'New' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:224:18: error: 'NewSymbol' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:224:44: error: 'New' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:225:18: error: 'NewSymbol' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:225:45: error: 'New' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:226:18: error: 'NewSymbol' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:226:75: error: no matching function for call to 'v8::Number::New(float&)'\r\n../src/nsutil/nsutil_linux_funcs.cpp:226:75: note: candidate is:\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided\r\n../src/nsutil/nsutil_linux_funcs.cpp:227:18: error: 'NewSymbol' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:227:74: error: no matching function for call to 'v8::Boolean::New(bool&)'\r\n../src/nsutil/nsutil_linux_funcs.cpp:227:74: note: candidate is:\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided\r\n../src/nsutil/nsutil_linux_funcs.cpp:232:18: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp: At global scope:\r\n../src/nsutil/nsutil_linux_funcs.cpp:239:22: error: 'Arguments' does not name a type\r\n../src/nsutil/nsutil_linux_funcs.cpp:239:33: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_sysconf(const int&)':\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected\r\n../src/nsutil/nsutil_linux_funcs.cpp:241:17: error: within this context\r\n../src/nsutil/nsutil_linux_funcs.cpp:242:14: error: request for member 'Length' in 'args', which is of non-class type 'const int'\r\n../src/nsutil/nsutil_linux_funcs.cpp:243:45: error: 'New' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:243:86: error: 'ThrowException' was not declared in this scope\r\n../src/nsutil/nsutil_linux_funcs.cpp:244:22: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:244:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/nsutil/nsutil_linux_funcs.cpp:246:16: error: invalid types 'const int[int]' for array subscript\r\n../src/nsutil/nsutil_linux_funcs.cpp:247:45: error: 'New' is not a member of 'v8::String'\r\n../src/nsutil/nsutil_linux_funcs.cpp:247:76: error: 'ThrowException' was not declared in this scope\r\n../src/nsutil/nsutil_linux_funcs.cpp:248:22: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:248:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here\r\n../src/nsutil/nsutil_linux_funcs.cpp:250:33: error: invalid types 'const int[int]' for array subscript\r\n../src/nsutil/nsutil_linux_funcs.cpp:254:18: error: 'class v8::HandleScope' has no member named 'Close'\r\n../src/nsutil/nsutil_linux_funcs.cpp:254:39: error: no matching function for call to 'v8::Number::New(int&)'\r\n../src/nsutil/nsutil_linux_funcs.cpp:254:39: note: candidate is:\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)\r\n/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided\r\n../src/nsutil/nsutil_linux_funcs.cpp:255:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_users(const int&)':\r\n../src/nsutil/nsutil_linux_funcs.cpp:233:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_proc_cpu_affinity_get(const int&)':\r\n../src/nsutil/nsutil_linux_funcs.cpp:172:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_sysinfo(const int&)':\r\n../src/nsutil/nsutil_linux_funcs.cpp:148:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_disk_partitions(const int&)':\r\n../src/nsutil/nsutil_linux_funcs.cpp:116:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_linux_prlimit(const int&)':\r\n../src/nsutil/nsutil_linux_funcs.cpp:81:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_proc_ioprio_set(const int&)':\r\n../src/nsutil/nsutil_linux_funcs.cpp:68:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_proc_ioprio_get(const int&)':\r\n../src/nsutil/nsutil_linux_funcs.cpp:47:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_pid_exists(const int&)':\r\n../src/nsutil/nsutil_linux_funcs.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type]\r\nnsutil_linux.target.mk:85: recipe for target 'Release/obj.target/nsutil_linux/src/nsutil/nsutil_linux_funcs.o' failed\r\nmake: *** [Release/obj.target/nsutil_linux/src/nsutil/nsutil_linux_funcs.o] Error 1\r\nmake: Leaving directory '/home/pi/pimatic-app/node_modules/pimatic-sysinfo/node_modules/nsutil/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 3.18.11+\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/pimatic-app/node_modules/pimatic-sysinfo/node_modules/nsutil\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 3.18.11+\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\" \"pimatic-sysinfo\"\r\nnpm ERR! node v0.12.1\r\nnpm ERR! npm  v2.5.1\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! nsutil@0.1.3 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the nsutil@0.1.3 install script 'node-gyp rebuild'.\r\nnpm ERR! This is most likely a problem with the nsutil 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 nsutil\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/pimatic-app/npm-debug.log\r\n```"}}