-
-
Save rainydio/637934ae90a1fa636dcc1067ad3f7eab to your computer and use it in GitHub Desktop.
ark node14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/w/ark-core!$ nodenv global 14.3.0 | |
~/w/ark-core $ rm -rf node_modules/; and yarn; and yarn build | |
yarn install v1.22.4 | |
[1/4] Resolving packages... | |
[2/4] Fetching packages... | |
info fsevents@2.1.2: The platform "linux" is incompatible with this module. | |
info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation. | |
info fsevents@1.2.9: The platform "linux" is incompatible with this module. | |
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation. | |
[3/4] Linking dependencies... | |
warning " > @typescript-eslint/eslint-plugin@2.25.0" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0". | |
warning " > @typescript-eslint/parser@2.25.0" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0". | |
warning " > babel-loader@8.1.0" has unmet peer dependency "webpack@>=2". | |
[4/4] Building fresh packages... | |
error /home/rainydio/work/ark-core/node_modules/nsfw: Command failed. | |
Exit code: 1 | |
Command: node-gyp rebuild | |
Arguments: | |
Directory: /home/rainydio/work/ark-core/node_modules/nsfw | |
Output: | |
gyp info it worked if it ends with ok | |
gyp info using node-gyp@6.1.0 | |
gyp info using node@14.3.0 | linux | x64 | |
gyp info find Python using Python version 3.8.2 found at "/usr/bin/python3" | |
gyp info spawn /usr/bin/python3 | |
gyp info spawn args [ | |
gyp info spawn args '/home/rainydio/work/ark-core/node_modules/node-gyp/gyp/gyp_main.py', | |
gyp info spawn args 'binding.gyp', | |
gyp info spawn args '-f', | |
gyp info spawn args 'make', | |
gyp info spawn args '-I', | |
gyp info spawn args '/home/rainydio/work/ark-core/node_modules/nsfw/build/config.gypi', | |
gyp info spawn args '-I', | |
gyp info spawn args '/home/rainydio/work/ark-core/node_modules/node-gyp/addon.gypi', | |
gyp info spawn args '-I', | |
gyp info spawn args '/home/rainydio/.cache/node-gyp/14.3.0/include/node/common.gypi', | |
gyp info spawn args '-Dlibrary=shared_library', | |
gyp info spawn args '-Dvisibility=default', | |
gyp info spawn args '-Dnode_root_dir=/home/rainydio/.cache/node-gyp/14.3.0', | |
gyp info spawn args '-Dnode_gyp_dir=/home/rainydio/work/ark-core/node_modules/node-gyp', | |
gyp info spawn args '-Dnode_lib_file=/home/rainydio/.cache/node-gyp/14.3.0/<(target_arch)/node.lib', | |
gyp info spawn args '-Dmodule_root_dir=/home/rainydio/work/ark-core/node_modules/nsfw', | |
gyp info spawn args '-Dnode_engine=v8', | |
gyp info spawn args '--depth=.', | |
gyp info spawn args '--no-parallel', | |
gyp info spawn args '--generator-output', | |
gyp info spawn args 'build', | |
gyp info spawn args '-Goutput_dir=.' | |
gyp info spawn args ] | |
gyp info spawn make | |
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] | |
make: Entering directory '/home/rainydio/work/ark-core/node_modules/nsfw/build' | |
CXX(target) Release/obj.target/nsfw/src/NSFW.o | |
In file included from ../src/../includes/NSFW.h:6, | |
from ../src/NSFW.cpp:1: | |
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’: | |
../../nan/nan.h:2298: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-function-type] | |
2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) | |
| ^ | |
../src/NSFW.cpp: In static member function ‘static void NSFW::fireErrorCallback(uv_async_t*)’: | |
../src/NSFW.cpp:48:44: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] | |
48 | baton->nsfw->mErrorCallback->Call(1, argv); | |
| ^ | |
In file included from ../src/../includes/NSFW.h:6, | |
from ../src/NSFW.cpp:1: | |
../../nan/nan.h:1740:3: note: declared here | |
1740 | Call(int argc, v8::Local<v8::Value> argv[]) const { | |
| ^~~~ | |
../src/NSFW.cpp: In static member function ‘static void NSFW::fireEventCallback(uv_async_t*)’: | |
../src/NSFW.cpp:66:97: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Number>::return_t)’ | |
66 | jsEvent->Set(New<v8::String>("action").ToLocalChecked(), New<v8::Number>((*events)[i]->type)); | |
| ^ | |
In file included from /home/rainydio/.cache/node-gyp/14.3.0/include/node/node.h:67, | |
from ../../nan/nan.h:54, | |
from ../src/../includes/NSFW.h:6, | |
from ../src/NSFW.cpp:1: | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ | |
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, | |
| ^~~ | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ | |
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, | |
| ^~~ | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided | |
../src/NSFW.cpp:67:126: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::String>)’ | |
67 | jsEvent->Set(New<v8::String>("directory").ToLocalChecked(), New<v8::String>((*events)[i]->fromDirectory).ToLocalChecked()); | |
| ^ | |
In file included from /home/rainydio/.cache/node-gyp/14.3.0/include/node/node.h:67, | |
from ../../nan/nan.h:54, | |
from ../src/../includes/NSFW.h:6, | |
from ../src/NSFW.cpp:1: | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ | |
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, | |
| ^~~ | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ | |
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, | |
| ^~~ | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided | |
../src/NSFW.cpp:70:121: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::String>)’ | |
70 | jsEvent->Set(New<v8::String>("oldFile").ToLocalChecked(), New<v8::String>((*events)[i]->fromFile).ToLocalChecked()); | |
| ^ | |
In file included from /home/rainydio/.cache/node-gyp/14.3.0/include/node/node.h:67, | |
from ../../nan/nan.h:54, | |
from ../src/../includes/NSFW.h:6, | |
from ../src/NSFW.cpp:1: | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ | |
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, | |
| ^~~ | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ | |
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, | |
| ^~~ | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided | |
../src/NSFW.cpp:71:129: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::String>)’ | |
71 | jsEvent->Set(New<v8::String>("newDirectory").ToLocalChecked(), New<v8::String>((*events)[i]->toDirectory).ToLocalChecked()); | |
| ^ | |
In file included from /home/rainydio/.cache/node-gyp/14.3.0/include/node/node.h:67, | |
from ../../nan/nan.h:54, | |
from ../src/../includes/NSFW.h:6, | |
from ../src/NSFW.cpp:1: | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ | |
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, | |
| ^~~ | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ | |
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, | |
| ^~~ | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided | |
../src/NSFW.cpp:72:119: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::String>)’ | |
72 | jsEvent->Set(New<v8::String>("newFile").ToLocalChecked(), New<v8::String>((*events)[i]->toFile).ToLocalChecked()); | |
| ^ | |
In file included from /home/rainydio/.cache/node-gyp/14.3.0/include/node/node.h:67, | |
from ../../nan/nan.h:54, | |
from ../src/../includes/NSFW.h:6, | |
from ../src/NSFW.cpp:1: | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ | |
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, | |
| ^~~ | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ | |
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, | |
| ^~~ | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided | |
../src/NSFW.cpp:74:118: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::String>)’ | |
74 | jsEvent->Set(New<v8::String>("file").ToLocalChecked(), New<v8::String>((*events)[i]->fromFile).ToLocalChecked()); | |
| ^ | |
In file included from /home/rainydio/.cache/node-gyp/14.3.0/include/node/node.h:67, | |
from ../../nan/nan.h:54, | |
from ../src/../includes/NSFW.h:6, | |
from ../src/NSFW.cpp:1: | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ | |
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, | |
| ^~~ | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ | |
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, | |
| ^~~ | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided | |
../src/NSFW.cpp:77:31: error: no matching function for call to ‘v8::Array::Set(unsigned int&, v8::Local<v8::Object>&)’ | |
77 | eventArray->Set(i, jsEvent); | |
| ^ | |
In file included from /home/rainydio/.cache/node-gyp/14.3.0/include/node/node.h:67, | |
from ../../nan/nan.h:54, | |
from ../src/../includes/NSFW.h:6, | |
from ../src/NSFW.cpp:1: | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ | |
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, | |
| ^~~ | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ | |
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, | |
| ^~~ | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided | |
../src/NSFW.cpp:84:37: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] | |
84 | nsfw->mEventCallback->Call(1, argv); | |
| ^ | |
In file included from ../src/../includes/NSFW.h:6, | |
from ../src/NSFW.cpp:1: | |
../../nan/nan.h:1740:3: note: declared here | |
1740 | Call(int argc, v8::Local<v8::Value> argv[]) const { | |
| ^~~~ | |
../src/NSFW.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NSFW::Start(Nan::NAN_METHOD_ARGS_TYPE)’: | |
../src/NSFW.cpp:191:27: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] | |
191 | callback->Call(1, argv); | |
| ^ | |
In file included from ../src/../includes/NSFW.h:6, | |
from ../src/NSFW.cpp:1: | |
../../nan/nan.h:1740:3: note: declared here | |
1740 | Call(int argc, v8::Local<v8::Value> argv[]) const { | |
| ^~~~ | |
../src/NSFW.cpp:196:78: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::Object>)’ | |
196 | New(nsfw->mPersistentHandle)->Set(New("nsfw").ToLocalChecked(), info.This()); | |
| ^ | |
In file included from /home/rainydio/.cache/node-gyp/14.3.0/include/node/node.h:67, | |
from ../../nan/nan.h:54, | |
from ../src/../includes/NSFW.h:6, | |
from ../src/NSFW.cpp:1: | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ | |
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, | |
| ^~~ | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ | |
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, | |
| ^~~ | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided | |
../src/NSFW.cpp: In member function ‘virtual void NSFW::StartWorker::HandleOKCallback()’: | |
../src/NSFW.cpp:238:27: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] | |
238 | callback->Call(1, argv); | |
| ^ | |
In file included from ../src/../includes/NSFW.h:6, | |
from ../src/NSFW.cpp:1: | |
../../nan/nan.h:1740:3: note: declared here | |
1740 | Call(int argc, v8::Local<v8::Value> argv[]) const { | |
| ^~~~ | |
../src/NSFW.cpp:240:27: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] | |
240 | callback->Call(0, NULL); | |
| ^ | |
In file included from ../src/../includes/NSFW.h:6, | |
from ../src/NSFW.cpp:1: | |
../../nan/nan.h:1740:3: note: declared here | |
1740 | Call(int argc, v8::Local<v8::Value> argv[]) const { | |
| ^~~~ | |
../src/NSFW.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NSFW::Stop(Nan::NAN_METHOD_ARGS_TYPE)’: | |
../src/NSFW.cpp:265:27: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] | |
265 | callback->Call(1, argv); | |
| ^ | |
In file included from ../src/../includes/NSFW.h:6, | |
from ../src/NSFW.cpp:1: | |
../../nan/nan.h:1740:3: note: declared here | |
1740 | Call(int argc, v8::Local<v8::Value> argv[]) const { | |
| ^~~~ | |
../src/NSFW.cpp: In member function ‘virtual void NSFW::StopWorker::HandleOKCallback()’: | |
../src/NSFW.cpp:308:25: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] | |
308 | callback->Call(0, NULL); | |
| ^ | |
In file included from ../src/../includes/NSFW.h:6, | |
from ../src/NSFW.cpp:1: | |
../../nan/nan.h:1740:3: note: declared here | |
1740 | Call(int argc, v8::Local<v8::Value> argv[]) const { | |
| ^~~~ | |
In file included from ../../nan/nan.h:54, | |
from ../src/../includes/NSFW.h:6, | |
from ../src/NSFW.cpp:1: | |
../src/NSFW.cpp: At global scope: | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/node.h:729:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] | |
729 | (node::addon_register_func) (regfunc), \ | |
| ^ | |
/home/rainydio/.cache/node-gyp/14.3.0/include/node/node.h:763:3: note: in expansion of macro ‘NODE_MODULE_X’ | |
763 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | |
| ^~~~~~~~~~~~~ | |
../src/NSFW.cpp:311:1: note: in expansion of macro ‘NODE_MODULE’ | |
311 | NODE_MODULE(nsfw, NSFW::Init) | |
| ^~~~~~~~~~~ | |
make: *** [nsfw.target.mk:128: Release/obj.target/nsfw/src/NSFW.o] Error 1 | |
make: Leaving directory '/home/rainydio/work/ark-core/node_modules/nsfw/build' | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/home/rainydio/work/ark-core/node_modules/node-gyp/lib/build.js:194:23) | |
gyp ERR! stack at ChildProcess.emit (events.js:315:20) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) | |
gyp ERR! System Linux 5.4.0-31-generic | |
gyp ERR! command "/home/rainydio/.nodenv/versions/14.3.0/bin/node" "/home/rainydio/work/ark-core/node_modules/.bin/node-gyp" "rebuild" | |
gyp ERR! cwd /home/rainydio/work/ark-core/node_modules/nsfw | |
gyp ERR! node -v v14.3.0 | |
gyp ERR! node-gyp -v v6.1.0 | |
gyp ERR! not ok | |
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment