Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing “[email protected]” failed. #11

Open
ghost opened this issue Dec 23, 2020 · 0 comments
Open

Installing “[email protected]” failed. #11

ghost opened this issue Dec 23, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 23, 2020

[email protected] install /tmp/apm-install-dir-20201123-13382-126dvnp.r0xk/node_modules/atom-psql/node_modules/node-pty
node scripts/install.js

make: Entering directory '/tmp/apm-install-dir-20201123-13382-126dvnp.r0xk/node_modules/atom-psql/node_modules/node-pty/build'
CXX(target) Release/obj.target/pty/src/unix/pty.o
make: Leaving directory '/tmp/apm-install-dir-20201123-13382-126dvnp.r0xk/node_modules/atom-psql/node_modules/node-pty/build'

In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:326:49: warning: ‘v8::MicrotasksCompletedCallback’ is deprecated: Use WithData version. [-Wdeprecated-declarations]
326 | declarator attribute((deprecated(message)))
| ^
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:8205:3: note: in expansion of macro ‘V8_DEPRECATE_SOON’
8205 | V8_DEPRECATE_SOON("Use WithData version.",
| ^~~~~~~~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:6668:34: note: declared here
6668 | typedef void (MicrotasksCompletedCallback)(Isolate));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
326 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:326:49: warning: ‘v8::MicrotasksCompletedCallback’ is deprecated: Use WithData version. [-Wdeprecated-declarations]
326 | declarator attribute((deprecated(message)))
| ^
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:8214:3: note: in expansion of macro ‘V8_DEPRECATE_SOON’
8214 | V8_DEPRECATE_SOON("Use WithData version.",
| ^~~~~~~~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:6668:34: note: declared here
6668 | typedef void (MicrotasksCompletedCallback)(Isolate));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
326 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
In file included from ../../nan/nan_converters.h:67,
from ../../nan/nan.h:202,
from ../src/unix/pty.cc:20:
../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBasev8::Boolean::return_t Nan::imp::ToFactoryv8::Boolean::convert(v8::Localv8::Value)’:
../../nan/nan_converters_43_inl.h:18:51: error: no matching function for call to ‘v8::Value::ToBoolean(v8::Localv8::Context)’
18 | val->To ## TYPE(isolate->GetCurrentContext())
| ^
../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
22 | X(Boolean)
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2516:18: note: candidate: ‘v8::Localv8::Boolean v8::Value::ToBoolean(v8::Isolate
) const’
2516 | Local ToBoolean(Isolate
isolate) const;
| ^~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2516:37: note: no known conversion for argument 1 from ‘v8::Localv8::Context’ to ‘v8::Isolate

2516 | Local ToBoolean(Isolate isolate) const;
| ~~~~~~~~~^~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:10428:16: note: candidate: ‘v8::Localv8::Boolean v8::Value::ToBoolean() const’
10428 | Local Value::ToBoolean() const {
| ^~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:10428:16: note: candidate expects 0 arguments, 1 provided
In file included from ../../nan/nan_converters.h:67,
from ../../nan/nan.h:202,
from ../src/unix/pty.cc:20:
../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase::return_t Nan::imp::ToFactory::convert(v8::Localv8::Value)’:
../../nan/nan_converters_43_inl.h:37:57: error: no matching function for call to ‘v8::Value::BooleanValue(v8::Localv8::Context)’
37 | return val->NAME ## Value(isolate->GetCurrentContext());
| ^
../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
40 | X(bool, Boolean)
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2532:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
2532 | bool BooleanValue(Isolate* isolate) const;
| ^~~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2532:30: note: no known conversion for argument 1 from ‘v8::Localv8::Context’ to ‘v8::Isolate*’
2532 | bool BooleanValue(Isolate* isolate) const;
| ~~~~~~~~~^~~~~~~
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2541:43: note: candidate: ‘bool v8::Value::BooleanValue() const’
2541 | V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
| ^~~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2541:43: note: candidate expects 0 arguments, 1 provided
2541 | V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
| ^~~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189,
from ../../nan/nan.h:203,
from ../src/unix/pty.cc:20:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBasev8::Function::return_t Nan::imp::Factoryv8::Function::New(Nan::FunctionCallback, v8::Localv8::Value)’:
../../nan/nan_implementation_12_inl.h:103:42: error: cannot convert ‘v8::Isolate*’ to ‘v8::Localv8::Context’
103 | return scope.Escape(v8::Function::New( isolate
| ^~~~~~~
| |
| v8::Isolate*
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:4095:22: note: initializing argument 1 of ‘static v8::MaybeLocalv8::Function v8::Function::New(v8::Localv8::Context, v8::FunctionCallback, v8::Localv8::Value, int, v8::ConstructorBehavior, v8::SideEffectType)’
4095 | Local context, FunctionCallback callback,
| ~~~~~~~~~~~~~~~^~~~~~~
In file included from ../../nan/nan_new.h:189,
from ../../nan/nan.h:203,
from ../src/unix/pty.cc:20:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBasev8::StringObject::return_t Nan::imp::Factoryv8::StringObject::New(v8::Localv8::String)’:
../../nan/nan_implementation_12_inl.h:337:37: warning: ‘static v8::Localv8::Value v8::StringObject::New(v8::Localv8::String)’ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
337 | return v8::StringObject::New(value).Asv8::StringObject();
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5324:37: note: declared here
5324 | static Local New(Local value));
| ^~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189,
from ../../nan/nan.h:203,
from ../src/unix/pty.cc:20:
../../nan/nan_implementation_12_inl.h:337:37: warning: ‘static v8::Localv8::Value v8::StringObject::New(v8::Localv8::String)’ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
337 | return v8::StringObject::New(value).Asv8::StringObject();
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5324:37: note: declared here
5324 | static Local New(Local value));
| ^~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Localv8::Value)’:
../../nan/nan.h:1034:53: warning: ‘v8::Localv8::String v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1034 | v8::Localv8::String string = from->ToString();
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:10433:15: note: declared here
10433 | Local Value::ToString() const {
| ^~~~~
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h:1044:74: warning: ‘int v8::String::WriteUtf8(char*, int, int*, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
1044 | length_ = string->WriteUtf8(str_, static_cast(len), 0, flags);
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2727:21: note: declared here
2727 | int WriteUtf8(char* buffer, int length = -1,
| ^~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Localv8::Value&)’:
../../nan/nan.h:1818:64: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1818 | New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:3331:22: note: declared here
3331 | bool Set(Local key, Local value));
| ^~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Localv8::String&, const v8::Localv8::Value&)’:
../../nan/nan.h:1824:42: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1824 | New(persistentHandle)->Set(key, value);
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:3331:22: note: declared here
3331 | bool Set(Local key, Local value));
| ^~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Localv8::Value&)’:
../../nan/nan.h:1830:44: warning: ‘bool v8::Object::Set(uint32_t, v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1830 | New(persistentHandle)->Set(index, value);
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:3340:22: note: declared here
3340 | bool Set(uint32_t index, Local value));
| ^~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In member function ‘v8::Localv8::Value Nan::AsyncWorker::GetFromPersistent(const char*) const’:
../../nan/nan.h:1836:61: warning: ‘v8::Localv8::Value v8::Object::Get(v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1836 | New(persistentHandle)->Get(New(key).ToLocalChecked()));
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:3384:51: note: declared here
3384 | V8_DEPRECATED("Use maybe version", Local Get(Local key));
| ^~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In member function ‘v8::Localv8::Value Nan::AsyncWorker::GetFromPersistent(const v8::Localv8::String&) const’:
../../nan/nan.h:1842:55: warning: ‘v8::Localv8::Value v8::Object::Get(v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1842 | return scope.Escape(New(persistentHandle)->Get(key));
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:3384:51: note: declared here
3384 | V8_DEPRECATED("Use maybe version", Local Get(Local key));
| ^~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In member function ‘v8::Localv8::Value Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
../../nan/nan.h:1847:57: warning: ‘v8::Localv8::Value v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1847 | return scope.Escape(New(persistentHandle)->Get(index));
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:3388:51: note: declared here
3388 | V8_DEPRECATED("Use maybe version", Local Get(uint32_t index));
| ^~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2167: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]
2167 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from /usr/include/c++/9/cassert:44,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node_object_wrap.h:26,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistentv8::Object’ has no member named ‘IsNearDeath’
24 | assert(persistent().IsNearDeath());
| ^~~~~~~~~~~
In file included from ../../nan/nan.h:2657,
from ../src/unix/pty.cc:20:
../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
../../nan/nan_object_wrap.h:67:18: error: ‘class Nan::Persistentv8::Object’ has no member named ‘MarkIndependent’
67 | persistent().MarkIndependent();
| ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/cassert:44,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node_object_wrap.h:26,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfoNan::ObjectWrap&)’:
../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistentv8::Object’ has no member named ‘IsNearDeath’
124 | assert(wrap->handle_.IsNearDeath());
| ^~~~~~~~~~~
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyFork(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:154:48: warning: ‘v8::Localv8::String v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
154 | v8::String::Utf8Value file(info[0]->ToString());
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:10433:15: note: declared here
10433 | Local Value::ToString() const {
| ^~~~~
../src/unix/pty.cc:154:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
154 | v8::String::Utf8Value file(info[0]->ToString());
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2965:28: note: declared here
2965 | explicit Utf8Value(Localv8::Value obj));
| ^~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
../src/unix/pty.cc:165:66: warning: ‘v8::Localv8::Value v8::Object::Get(v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
165 | v8::String::Utf8Value arg(argv_->Get(Nan::Newv8::Integer(i))->ToString());
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:3384:51: note: declared here
3384 | V8_DEPRECATED("Use maybe version", Local Get(Local key));
| ^~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
../src/unix/pty.cc:165:78: warning: ‘v8::Localv8::String v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
165 | v8::String::Utf8Value arg(argv_->Get(Nan::Newv8::Integer(i))->ToString());
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:10433:15: note: declared here
10433 | Local Value::ToString() const {
| ^~~~~
../src/unix/pty.cc:165:79: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
165 | v8::String::Utf8Value arg(argv_->Get(Nan::Newv8::Integer(i))->ToString());
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2965:28: note: declared here
2965 | explicit Utf8Value(Localv8::Value obj));
| ^~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
../src/unix/pty.cc:176:66: warning: ‘v8::Localv8::Value v8::Object::Get(v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
176 | v8::String::Utf8Value pair(env_->Get(Nan::Newv8::Integer(i))->ToString());
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:3384:51: note: declared here
3384 | V8_DEPRECATED("Use maybe version", Local Get(Local key));
| ^~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
../src/unix/pty.cc:176:78: warning: ‘v8::Localv8::String v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
176 | v8::String::Utf8Value pair(env_->Get(Nan::Newv8::Integer(i))->ToString());
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:10433:15: note: declared here
10433 | Local Value::ToString() const {
| ^~~~~
../src/unix/pty.cc:176:79: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
176 | v8::String::Utf8Value pair(env_->Get(Nan::Newv8::Integer(i))->ToString());
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2965:28: note: declared here
2965 | explicit Utf8Value(Localv8::Value obj));
| ^~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
../src/unix/pty.cc:181:48: warning: ‘v8::Localv8::String v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
181 | v8::String::Utf8Value cwd_(info[3]->ToString());
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:10433:15: note: declared here
10433 | Local Value::ToString() const {
| ^~~~~
../src/unix/pty.cc:181:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
181 | v8::String::Utf8Value cwd_(info[3]->ToString());
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2965:28: note: declared here
2965 | explicit Utf8Value(Localv8::Value obj));
| ^~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
../src/unix/pty.cc:186:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
186 | winp.ws_col = info[4]->IntegerValue();
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
2543 | V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
| ^~~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
../src/unix/pty.cc:187:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
187 | winp.ws_row = info[5]->IntegerValue();
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
2543 | V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
| ^~~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
../src/unix/pty.cc:195:26: warning: ‘v8::Localv8::Boolean v8::Value::ToBoolean() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
195 | if (info[8]->ToBoolean()->Value()) {
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:10428:16: note: declared here
10428 | Local Value::ToBoolean() const {
| ^~~~~
../src/unix/pty.cc:230:35: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
230 | int uid = info[6]->IntegerValue();
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
2543 | V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
| ^~~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
../src/unix/pty.cc:231:35: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
231 | int gid = info[7]->IntegerValue();
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
2543 | V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
| ^~~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyOpen(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:315:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
315 | winp.ws_col = info[0]->IntegerValue();
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
2543 | V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
| ^~~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
../src/unix/pty.cc:316:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
316 | winp.ws_row = info[1]->IntegerValue();
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
2543 | V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
| ^~~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyResize(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:360:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
360 | int fd = info[0]->IntegerValue();
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
2543 | V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
| ^~~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
../src/unix/pty.cc:363:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
363 | winp.ws_col = info[1]->IntegerValue();
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
2543 | V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
| ^~~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
../src/unix/pty.cc:364:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
364 | winp.ws_row = info[2]->IntegerValue();
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
2543 | V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
| ^~~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyGetProc(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:387:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
387 | int fd = info[0]->IntegerValue();
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
2543 | V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
| ^~~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
../src/unix/pty.cc:389:48: warning: ‘v8::Localv8::String v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
389 | v8::String::Utf8Value tty_(info[1]->ToString());
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:10433:15: note: declared here
10433 | Local Value::ToString() const {
| ^~~~~
../src/unix/pty.cc:389:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
389 | v8::String::Utf8Value tty_(info[1]->ToString());
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2965:28: note: declared here
2965 | explicit Utf8Value(Localv8::Value obj));
| ^~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
311 | declarator attribute((deprecated(message)))
| ^~~~~~~~~~
../src/unix/pty.cc: In function ‘void pty_after_waitpid(uv_async_t*)’:
../src/unix/pty.cc:488:43: warning: ‘void* memset(void*, int, size_t)’ writing to an object of type ‘class Nan::Persistentv8::Function’ with no trivial copy-assignment [-Wclass-memaccess]
488 | memset(&baton->cb, -1, sizeof(baton->cb));
| ^
In file included from ../../nan/nan.h:318,
from ../src/unix/pty.cc:20:
../../nan/nan_persistent_12_inl.h:12:40: note: ‘class Nan::Persistentv8::Function’ declared here
12 | template<typename T, typename M> class Persistent :
| ^~~~~~~~~~
../src/unix/pty.cc:489:69: warning: ‘v8::Localv8::Value Nan::Callback::Call(v8::Localv8::Object, int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
489 | Nan::Callback(cb).Call(Nan::GetCurrentContext()->Global(), 2, argv);
| ^
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h:1596:3: note: declared here
1596 | Call(v8::Localv8::Object target
| ^~~~
../src/unix/pty.cc: In function ‘void init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
../src/unix/pty.cc:705:65: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
705 | Nan::Newv8::FunctionTemplate(PtyFork)->GetFunction());
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: note: candidate: ‘v8::MaybeLocalv8::Function v8::FunctionTemplate::GetFunction(v8::Localv8::Context)’
5891 | V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
| ^~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:708:65: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
708 | Nan::Newv8::FunctionTemplate(PtyOpen)->GetFunction());
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: note: candidate: ‘v8::MaybeLocalv8::Function v8::FunctionTemplate::GetFunction(v8::Localv8::Context)’
5891 | V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
| ^~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:711:67: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
711 | Nan::Newv8::FunctionTemplate(PtyResize)->GetFunction());
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: note: candidate: ‘v8::MaybeLocalv8::Function v8::FunctionTemplate::GetFunction(v8::Localv8::Context)’
5891 | V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
| ^~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:714:68: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
714 | Nan::Newv8::FunctionTemplate(PtyGetProc)->GetFunction());
| ^
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: note: candidate: ‘v8::MaybeLocalv8::Function v8::FunctionTemplate::GetFunction(v8::Localv8::Context)’
5891 | V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
| ^~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: note: candidate expects 1 argument, 0 provided
In file included from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
../src/unix/pty.cc: At global scope:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:572:43: warning: cast between incompatible function types from ‘void (
)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void ()(v8::Localv8::Object)’} to ‘node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void*)’} [-Wcast-function-type]
572 | (node::addon_register_func) (regfunc),
| ^
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:606:3: note: in expansion of macro ‘NODE_MODULE_X’
606 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../src/unix/pty.cc:717:1: note: in expansion of macro ‘NODE_MODULE’
717 | NODE_MODULE(pty, init)
| ^~~~~~~~~~~
In file included from /home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h: In instantiation of ‘void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void ()(const v8::WeakCallbackInfonode::ObjectWrap&)]’:
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node_object_wrap.h:84:78: required from here
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:9810:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfonode::ObjectWrap::Callback’ {aka ‘void (
)(const v8::WeakCallbackInfonode::ObjectWrap&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo&)’} [-Wcast-function-type]
9810 | reinterpret_cast(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h: In instantiation of ‘void v8::PersistentBase::SetWeak(P
, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)]’:
../../nan/nan_object_wrap.h:66:61: required from here
/home/hareldvd/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:9810:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfoNan::ObjectWrap::Callback’ {aka ‘void (
)(const v8::WeakCallbackInfoNan::ObjectWrap&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo&)’} [-Wcast-function-type]
make: *** [pty.target.mk:107: Release/obj.target/pty/src/unix/pty.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:200:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.4.0-58-generic
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-20201123-13382-126dvnp.r0xk/node_modules/atom-psql/node_modules/node-pty
gyp ERR! node -v v12.4.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-20201123-13382-126dvnp.r0xk/package.json'
npm WARN apm-install-dir-20201123-13382-126dvnp.r0xk No description
npm WARN apm-install-dir-20201123-13382-126dvnp.r0xk No repository field.
npm WARN apm-install-dir-20201123-13382-126dvnp.r0xk No README data
npm WARN apm-install-dir-20201123-13382-126dvnp.r0xk No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node scripts/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/hareldvd/.atom/.apm/_logs/2020-12-23T12_38_25_336Z-debug.log

Enjoy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants