{"action":"created","issue":{"url":"https://api.github.com/repos/WilixLead/iohook/issues/112","repository_url":"https://api.github.com/repos/WilixLead/iohook","labels_url":"https://api.github.com/repos/WilixLead/iohook/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/WilixLead/iohook/issues/112/comments","events_url":"https://api.github.com/repos/WilixLead/iohook/issues/112/events","html_url":"https://github.com/WilixLead/iohook/issues/112","id":375751473,"node_id":"MDU6SXNzdWUzNzU3NTE0NzM=","number":112,"title":"Installation fails on debian buster 32bit","user":{"login":"traumschule","id":31551045,"node_id":"MDQ6VXNlcjMxNTUxMDQ1","avatar_url":"https://avatars3.githubusercontent.com/u/31551045?v=4","gravatar_id":"","url":"https://api.github.com/users/traumschule","html_url":"https://github.com/traumschule","followers_url":"https://api.github.com/users/traumschule/followers","following_url":"https://api.github.com/users/traumschule/following{/other_user}","gists_url":"https://api.github.com/users/traumschule/gists{/gist_id}","starred_url":"https://api.github.com/users/traumschule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/traumschule/subscriptions","organizations_url":"https://api.github.com/users/traumschule/orgs","repos_url":"https://api.github.com/users/traumschule/repos","events_url":"https://api.github.com/users/traumschule/events{/privacy}","received_events_url":"https://api.github.com/users/traumschule/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-31T00:38:28Z","updated_at":"2018-10-31T10:45:11Z","closed_at":null,"author_association":"NONE","body":"Hi! Unfortunately iohook fails to install here.\r\n\r\n## Expected Behavior\r\nInstallation succeeds.\r\n\r\n## Current Behavior\r\n```\r\n$ npm install iohook --save\r\n\r\n> segfault-handler@1.0.1 install /home/user/tbb-manual-image-creator/node_modules/segfault-handler\r\n> node-gyp rebuild\r\n\r\nmake: Entering directory '/home/user/tbb-manual-image-creator/node_modules/segfault-handler/build'\r\n  CXX(target) Release/obj.target/segfault-handler/src/segfault-handler.o\r\nIn file included from /home/user/.node-gyp/8.12.0/include/node/node.h:63,\r\n                 from ../../nan/nan.h:52,\r\n                 from ../src/segfault-handler.cpp:2:\r\n/home/user/.node-gyp/8.12.0/include/node/v8.h: In static member function ‘static void v8::V8::SetAllowCodeGenerationFromStringsCallback(v8::DeprecatedAllowCodeGenerationFromStringsCallback)’:\r\n/home/user/.node-gyp/8.12.0/include/node/v8.h:10311:19: warning: cast between incompatible function types from ‘v8::DeprecatedAllowCodeGenerationFromStringsCallback’ {aka ‘bool (*)(v8::Local<v\r\n8::Context>)’} to ‘v8::FreshNewAllowCodeGenerationFromStringsCallback’ {aka ‘bool (*)(v8::Local<v8::Context>, v8::Local<v8::String>)’} [-Wcast-function-type]\r\n           callback));\r\n                   ^\r\n/home/user/.node-gyp/8.12.0/include/node/v8.h: In static member function ‘static void v8::V8::RemoveGCPrologueCallback(v8::GCCallback)’:\r\n/home/user/.node-gyp/8.12.0/include/node/v8.h:10356:53: warning: cast between incompatible function types from ‘v8::GCCallback’ {aka ‘void (*)(v8::GCType, v8::GCCallbackFlags)’} to ‘v8::Isolat\r\ne::GCCallback’ {aka ‘void (*)(v8::Isolate*, v8::GCType, v8::GCCallbackFlags)’} [-Wcast-function-type]\r\n       reinterpret_cast<Isolate::GCCallback>(callback));\r\n                                                     ^\r\n/home/user/.node-gyp/8.12.0/include/node/v8.h: In static member function ‘static void v8::V8::RemoveGCEpilogueCallback(v8::GCCallback)’:\r\n/home/user/.node-gyp/8.12.0/include/node/v8.h:10363:53: warning: cast between incompatible function types from ‘v8::GCCallback’ {aka ‘void (*)(v8::GCType, v8::GCCallbackFlags)’} to ‘v8::Isolat\r\ne::GCCallback’ {aka ‘void (*)(v8::Isolate*, v8::GCType, v8::GCCallbackFlags)’} [-Wcast-function-type]\r\n       reinterpret_cast<Isolate::GCCallback>(callback));\r\n                                                     ^\r\nIn file included from ../src/segfault-handler.cpp:2:\r\n../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:\r\n../../nan/nan.h:2208:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-fun\r\nction-type]\r\n     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)\r\n                                                              ^\r\nIn file included from ../../nan/nan.h:52,\r\n                 from ../src/segfault-handler.cpp:2:\r\n../src/segfault-handler.cpp: At global scope:\r\n/home/user/.node-gyp/8.12.0/include/node/node.h:505:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::O\r\nbject>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]\r\n       (node::addon_register_func) (regfunc),                          \\\r\n                                           ^\r\n/home/user/.node-gyp/8.12.0/include/node/node.h:536:3: note: in expansion of macro ‘NODE_MODULE_X’\r\n   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)\r\n   ^~~~~~~~~~~~~\r\n../src/segfault-handler.cpp:339:3: note: in expansion of macro ‘NODE_MODULE’\r\n   NODE_MODULE(segfault_handler, init)\r\nIn file included from /home/user/.node-gyp/8.12.0/include/node/node.h:63,                                                                                                                      \r\n                 from ../../nan/nan.h:52,\r\n                 from ../src/segfault-handler.cpp:2:                                                                                                                                                  \r\n/home/user/.node-gyp/8.12.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:\r\n/home/user/.node-gyp/8.12.0/include/node/node_object_wrap.h:85:78:   required from here\r\n/home/user/.node-gyp/8.12.0/include/node/v8.h:9307:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]\r\n                reinterpret_cast<Callback>(callback), type);                                                                                                                                          \r\n                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.node-gyp/8.12.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::Obj\r\nectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:                                                                       \r\n../../nan/nan_object_wrap.h:66:61:   required from here                                                                                                                                               \r\n/home/user/.node-gyp/8.12.0/include/node/v8.h:9307:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCal\r\nlbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]                                                                               \r\n  SOLINK_MODULE(target) Release/obj.target/segfault-handler.node\r\n  COPY Release/segfault-handler.node\r\nmake: Leaving directory '/home/user/tbb-manual-image-creator/node_modules/segfault-handler/build'                                                                             \r\n\r\n> iohook@0.2.1 install /home/user/tbb-manual-image-creator/node_modules/iohook                                                                                                \r\n> node install.js\r\n\r\nDownloading prebuild for platform: iohook-v0.2.1-node-v57-linux-ia32\r\nPrebuild for current platform (iohook-v0.2.1-node-v57-linux-ia32) not found!\r\nTry to compile for your platform:\r\n# cd node_modules/iohook;\r\n# npm run compile\r\n\r\n\r\n/home/user/tbb-manual-image-creator/node_modules/iohook/install.js:14\r\n  throw err;\r\n  ^\r\nPrebuild for current platform (iohook-v0.2.1-node-v57-linux-ia32) not found!\r\nnpm WARN tbb-manual-image-creator@0.0.1 No repository field.\r\n\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! iohook@0.2.1 install: `node install.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the iohook@0.2.1 install script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n```\r\n\r\n## Possible Solution\r\nNo idea, sorry :/\r\n\r\n## Steps to Reproduce (for bugs)\r\n`npm i iohook`\r\n\r\n## Context\r\n```\r\ngit clone https://github.com/arthuredelstein/tbb-manual-image-creator\r\ncd tbb-manual-image-creator\r\nnpm i\r\n```\r\nSee README.md for additional dependencies.\r\n\r\n## Your Environment\r\n* Version used: npm 6.4.1\r\n* Environment name and version: node v8.12.0\r\n* Operating System and version: debian buster 32bit\r\n> 4.18.0-1-686 #1 SMP Debian 4.18.6-1 (2018-09-06) i686 GNU/Linux\r\n* Link to your project: https://github.com/arthuredelstein/tbb-manual-image-creator\r\n\r\nThanks for your work!"},"comment":{"url":"https://api.github.com/repos/WilixLead/iohook/issues/comments/434641134","html_url":"https://github.com/WilixLead/iohook/issues/112#issuecomment-434641134","issue_url":"https://api.github.com/repos/WilixLead/iohook/issues/112","id":434641134,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDY0MTEzNA==","user":{"login":"Djiit","id":1169844,"node_id":"MDQ6VXNlcjExNjk4NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1169844?v=4","gravatar_id":"","url":"https://api.github.com/users/Djiit","html_url":"https://github.com/Djiit","followers_url":"https://api.github.com/users/Djiit/followers","following_url":"https://api.github.com/users/Djiit/following{/other_user}","gists_url":"https://api.github.com/users/Djiit/gists{/gist_id}","starred_url":"https://api.github.com/users/Djiit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Djiit/subscriptions","organizations_url":"https://api.github.com/users/Djiit/orgs","repos_url":"https://api.github.com/users/Djiit/repos","events_url":"https://api.github.com/users/Djiit/events{/privacy}","received_events_url":"https://api.github.com/users/Djiit/received_events","type":"User","site_admin":false},"created_at":"2018-10-31T10:45:11Z","updated_at":"2018-10-31T10:45:11Z","author_association":"COLLABORATOR","body":"Hi there, this is obviosuly an error with segfault-handler as stated in your logs. What we could do is provide prebuilt binaries for linux 32b. Let me check that."}}
{"actor":{"display_login":"Djiit"}}