Closed lid3rs closed 4 years ago
Also failing on Ubuntu 19.04 with Node 12.10.
> speaker@0.3.1 install /home/scott/Code/music/node_modules/audio-speaker/node_modules/speaker
> node-gyp rebuild
make: Entering directory '/home/scott/Code/music/node_modules/audio-speaker/node_modules/speaker/build'
CC(target) Release/obj.target/output/deps/mpg123/src/output/alsa.o
../deps/mpg123/src/output/alsa.c: In function ‘initialize_device’:
../deps/mpg123/src/output/alsa.c:78:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
for (i = 0; i < NUM_FORMATS; ++i) {
^
../deps/mpg123/src/output/alsa.c: In function ‘get_formats_alsa’:
../deps/mpg123/src/output/alsa.c:201:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
for (i = 0; i < NUM_FORMATS; ++i) {
^
AR(target) Release/obj.target/deps/mpg123/liboutput.a
COPY Release/liboutput.a
CXX(target) Release/obj.target/binding/src/binding.o
In file included from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../../../nan/nan.h:2232: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]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
^
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Open(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:30:38: error: no matching function for call to ‘v8::Value::Int32Value()’
ao->channels = info[1]->Int32Value(); /* channels */
^
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate expects 1 argument, 0 provided
../src/binding.cc:31:34: error: no matching function for call to ‘v8::Value::Int32Value()’
ao->rate = info[2]->Int32Value(); /* sample rate */
^
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate expects 1 argument, 0 provided
../src/binding.cc:32:36: error: no matching function for call to ‘v8::Value::Int32Value()’
ao->format = info[3]->Int32Value(); /* MPG123_ENC_* format */
^
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate expects 1 argument, 0 provided
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Write(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:51:33: error: no matching function for call to ‘v8::Value::Int32Value()’
int len = info[2]->Int32Value();
^
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate expects 1 argument, 0 provided
../src/binding.cc:62:78: 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]
uv_queue_work(uv_default_loop(), &req->req, write_async, (uv_after_work_cb)write_after);
^~~~~~~~~~~
../src/binding.cc: In function ‘void {anonymous}::write_after(uv_work_t*)’:
../src/binding.cc:80:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
wreq->callback->Call(1, argv);
^
In file included from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../../../nan/nan.h:1674:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/binding.cc: At global scope:
../src/binding.cc:104:17: error: variable or field ‘Initialize’ declared void
void Initialize(Handle<Object> target) {
^~~~~~
../src/binding.cc:104:17: error: ‘Handle’ was not declared in this scope
../src/binding.cc:104:17: note: suggested alternative: ‘daddl’
void Initialize(Handle<Object> target) {
^~~~~~
daddl
../src/binding.cc:104:30: error: expected primary-expression before ‘>’ token
void Initialize(Handle<Object> target) {
^
../src/binding.cc:104:32: error: ‘target’ was not declared in this scope
void Initialize(Handle<Object> target) {
^~~~~~
../src/binding.cc:104:32: note: suggested alternative: ‘tzset’
void Initialize(Handle<Object> target) {
^~~~~~
tzset
In file included from ../../../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../src/binding.cc:155:22: error: ‘Initialize’ was not declared in this scope
NODE_MODULE(binding, Initialize)
^~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/node.h:560:36: note: in definition of macro ‘NODE_MODULE_X’
(node::addon_register_func) (regfunc), \
^~~~~~~
../src/binding.cc:155:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(binding, Initialize)
^~~~~~~~~~~
../src/binding.cc:155:22: note: suggested alternative: ‘canonicalize’
NODE_MODULE(binding, Initialize)
^~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/node.h:560:36: note: in definition of macro ‘NODE_MODULE_X’
(node::addon_register_func) (regfunc), \
^~~~~~~
../src/binding.cc:155:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(binding, Initialize)
^~~~~~~~~~~
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.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>&)]’:
/home/scott/.cache/node-gyp/12.10.0/include/node/node_object_wrap.h:84:78: required from here
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:9893: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]
reinterpret_cast<Callback>(callback), type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../../../nan/nan_object_wrap.h:65:61: required from here
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
In file included from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../src/binding.cc:93:12: warning: ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function]
NAN_METHOD(Close) {
^~~~~
../../../../nan/nan.h:1500:33: note: in definition of macro ‘NAN_METHOD’
Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
^~~~
../src/binding.cc:85:12: warning: ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Flush(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function]
NAN_METHOD(Flush) {
^~~~~
../../../../nan/nan.h:1500:33: note: in definition of macro ‘NAN_METHOD’
Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
^~~~
../src/binding.cc:47:12: warning: ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Write(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function]
NAN_METHOD(Write) {
^~~~~
../../../../nan/nan.h:1500:33: note: in definition of macro ‘NAN_METHOD’
Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
^~~~
../src/binding.cc:24:12: warning: ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Open(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function]
NAN_METHOD(Open) {
^~~~
../../../../nan/nan.h:1500:33: note: in definition of macro ‘NAN_METHOD’
Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
^~~~
make: *** [binding.target.mk:120: Release/obj.target/binding/src/binding.o] Error 1
make: Leaving directory '/home/scott/Code/music/node_modules/audio-speaker/node_modules/speaker/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
gyp ERR! stack at ChildProcess.emit (events.js:209:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.0.0-29-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/scott/Code/music/node_modules/audio-speaker/node_modules/speaker
gyp ERR! node -v v12.10.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
> speaker@0.3.1 install /home/scott/Code/music/node_modules/av/node_modules/speaker
> node-gyp rebuild
make: Entering directory '/home/scott/Code/music/node_modules/av/node_modules/speaker/build'
CC(target) Release/obj.target/output/deps/mpg123/src/output/alsa.o
../deps/mpg123/src/output/alsa.c: In function ‘initialize_device’:
../deps/mpg123/src/output/alsa.c:78:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
for (i = 0; i < NUM_FORMATS; ++i) {
^
../deps/mpg123/src/output/alsa.c: In function ‘get_formats_alsa’:
../deps/mpg123/src/output/alsa.c:201:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
for (i = 0; i < NUM_FORMATS; ++i) {
^
AR(target) Release/obj.target/deps/mpg123/liboutput.a
COPY Release/liboutput.a
CXX(target) Release/obj.target/binding/src/binding.o
In file included from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../../../nan/nan.h:2232: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]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
^
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Open(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:30:38: error: no matching function for call to ‘v8::Value::Int32Value()’
ao->channels = info[1]->Int32Value(); /* channels */
^
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate expects 1 argument, 0 provided
../src/binding.cc:31:34: error: no matching function for call to ‘v8::Value::Int32Value()’
ao->rate = info[2]->Int32Value(); /* sample rate */
^
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate expects 1 argument, 0 provided
../src/binding.cc:32:36: error: no matching function for call to ‘v8::Value::Int32Value()’
ao->format = info[3]->Int32Value(); /* MPG123_ENC_* format */
^
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate expects 1 argument, 0 provided
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Write(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:51:33: error: no matching function for call to ‘v8::Value::Int32Value()’
int len = info[2]->Int32Value();
^
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate expects 1 argument, 0 provided
../src/binding.cc:62:78: 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]
uv_queue_work(uv_default_loop(), &req->req, write_async, (uv_after_work_cb)write_after);
^~~~~~~~~~~
../src/binding.cc: In function ‘void {anonymous}::write_after(uv_work_t*)’:
../src/binding.cc:80:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
wreq->callback->Call(1, argv);
^
In file included from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../../../nan/nan.h:1674:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/binding.cc: At global scope:
../src/binding.cc:104:17: error: variable or field ‘Initialize’ declared void
void Initialize(Handle<Object> target) {
^~~~~~
../src/binding.cc:104:17: error: ‘Handle’ was not declared in this scope
../src/binding.cc:104:17: note: suggested alternative: ‘daddl’
void Initialize(Handle<Object> target) {
^~~~~~
daddl
../src/binding.cc:104:30: error: expected primary-expression before ‘>’ token
void Initialize(Handle<Object> target) {
^
../src/binding.cc:104:32: error: ‘target’ was not declared in this scope
void Initialize(Handle<Object> target) {
^~~~~~
../src/binding.cc:104:32: note: suggested alternative: ‘tzset’
void Initialize(Handle<Object> target) {
^~~~~~
tzset
In file included from ../../../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../src/binding.cc:155:22: error: ‘Initialize’ was not declared in this scope
NODE_MODULE(binding, Initialize)
^~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/node.h:560:36: note: in definition of macro ‘NODE_MODULE_X’
(node::addon_register_func) (regfunc), \
^~~~~~~
../src/binding.cc:155:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(binding, Initialize)
^~~~~~~~~~~
../src/binding.cc:155:22: note: suggested alternative: ‘canonicalize’
NODE_MODULE(binding, Initialize)
^~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/node.h:560:36: note: in definition of macro ‘NODE_MODULE_X’
(node::addon_register_func) (regfunc), \
^~~~~~~
../src/binding.cc:155:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(binding, Initialize)
^~~~~~~~~~~
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.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>&)]’:
/home/scott/.cache/node-gyp/12.10.0/include/node/node_object_wrap.h:84:78: required from here
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:9893: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]
reinterpret_cast<Callback>(callback), type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../../../nan/nan_object_wrap.h:65:61: required from here
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
In file included from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../src/binding.cc:93:12: warning: ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function]
NAN_METHOD(Close) {
^~~~~
../../../../nan/nan.h:1500:33: note: in definition of macro ‘NAN_METHOD’
Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
^~~~
../src/binding.cc:85:12: warning: ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Flush(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function]
NAN_METHOD(Flush) {
^~~~~
../../../../nan/nan.h:1500:33: note: in definition of macro ‘NAN_METHOD’
Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
^~~~
../src/binding.cc:47:12: warning: ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Write(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function]
NAN_METHOD(Write) {
^~~~~
../../../../nan/nan.h:1500:33: note: in definition of macro ‘NAN_METHOD’
Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
^~~~
../src/binding.cc:24:12: warning: ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Open(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function]
NAN_METHOD(Open) {
^~~~
../../../../nan/nan.h:1500:33: note: in definition of macro ‘NAN_METHOD’
Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
^~~~
make: *** [binding.target.mk:120: Release/obj.target/binding/src/binding.o] Error 1
make: Leaving directory '/home/scott/Code/music/node_modules/av/node_modules/speaker/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
gyp ERR! stack at ChildProcess.emit (events.js:209:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.0.0-29-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/scott/Code/music/node_modules/av/node_modules/speaker
gyp ERR! node -v v12.10.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
> speaker@0.4.2 install /home/scott/Code/music/node_modules/speaker
> node-gyp rebuild
make: Entering directory '/home/scott/Code/music/node_modules/speaker/build'
CC(target) Release/obj.target/output/deps/mpg123/src/output/alsa.o
../deps/mpg123/src/output/alsa.c: In function ‘initialize_device’:
../deps/mpg123/src/output/alsa.c:78:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
for (i = 0; i < NUM_FORMATS; ++i) {
^
../deps/mpg123/src/output/alsa.c: In function ‘get_formats_alsa’:
../deps/mpg123/src/output/alsa.c:201:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
for (i = 0; i < NUM_FORMATS; ++i) {
^
AR(target) Release/obj.target/deps/mpg123/liboutput.a
COPY Release/liboutput.a
CXX(target) Release/obj.target/binding/src/binding.o
In file included from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2232: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]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
^
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Open(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:30:38: error: no matching function for call to ‘v8::Value::Int32Value()’
ao->channels = info[1]->Int32Value(); /* channels */
^
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate expects 1 argument, 0 provided
../src/binding.cc:31:34: error: no matching function for call to ‘v8::Value::Int32Value()’
ao->rate = info[2]->Int32Value(); /* sample rate */
^
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate expects 1 argument, 0 provided
../src/binding.cc:32:36: error: no matching function for call to ‘v8::Value::Int32Value()’
ao->format = info[3]->Int32Value(); /* MPG123_ENC_* format */
^
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate expects 1 argument, 0 provided
../src/binding.cc:35:60: error: no matching function for call to ‘v8::Value::ToString()’
v8::Local<v8::String> deviceString = info[4]->ToString();
^
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2541:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2541:44: note: candidate expects 1 argument, 0 provided
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14,
from /home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:25,
from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2557:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
Local<String> ToString(Isolate* isolate) const);
^~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2557:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/binding.cc:37:71: error: no matching function for call to ‘v8::String::WriteOneByte(uint8_t*)’
deviceString->WriteOneByte(reinterpret_cast<uint8_t *>(ao->device));
^
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2748:7: note: candidate: ‘int v8::String::WriteOneByte(v8::Isolate*, uint8_t*, int, int, int) const’
int WriteOneByte(Isolate* isolate, uint8_t* buffer, int start = 0,
^~~~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2748:7: note: candidate expects 5 arguments, 1 provided
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Write(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:57:33: error: no matching function for call to ‘v8::Value::Int32Value()’
int len = info[2]->Int32Value();
^
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate expects 1 argument, 0 provided
../src/binding.cc:68:87: 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]
uv_queue_work(Nan::GetCurrentEventLoop(), &req->req, write_async, (uv_after_work_cb)write_after);
^~~~~~~~~~~
../src/binding.cc: In function ‘void {anonymous}::write_after(uv_work_t*)’:
../src/binding.cc:86:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
wreq->callback->Call(1, argv);
^
In file included from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan.h:1674:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/binding.cc: In function ‘void {anonymous}::Initialize(v8::Local<v8::Object>)’:
../src/binding.cc:117:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(target,
^~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:119:64: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::New(mpg123_output_module_info.api_version));
^
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:119:64: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::New(mpg123_output_module_info.api_version));
^
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:120:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(target,
^~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:122:74: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::New(mpg123_output_module_info.name).ToLocalChecked());
^
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:122:74: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::New(mpg123_output_module_info.name).ToLocalChecked());
^
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:123:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(target,
^~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:125:81: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::New(mpg123_output_module_info.description).ToLocalChecked());
^
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:125:81: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::New(mpg123_output_module_info.description).ToLocalChecked());
^
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:126:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(target,
^~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:128:78: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::New(mpg123_output_module_info.revision).ToLocalChecked());
^
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:128:78: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::New(mpg123_output_module_info.revision).ToLocalChecked());
^
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:137:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::New("formats").ToLocalChecked(), Nan::New(ao.get_formats(&ao)));
^~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:137:92: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::New("formats").ToLocalChecked(), Nan::New(ao.get_formats(&ao)));
^
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:137:92: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::New("formats").ToLocalChecked(), Nan::New(ao.get_formats(&ao)));
^
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:141:70: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Nan::New(static_cast<uint32_t>(sizeof(audio_output_t))));
^
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14,
from /home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:25,
from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/binding.cc:144:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::New(#value).ToLocalChecked(), Nan::New(value), \
^~~~~~~~
../src/binding.cc:147:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_FLOAT_32);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:147:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_FLOAT_32);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:147:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_FLOAT_32);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:144:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::New(#value).ToLocalChecked(), Nan::New(value), \
^~~~~~~~
../src/binding.cc:148:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_FLOAT_64);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:148:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_FLOAT_64);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:148:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_FLOAT_64);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:144:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::New(#value).ToLocalChecked(), Nan::New(value), \
^~~~~~~~
../src/binding.cc:149:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_SIGNED_8);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:149:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_SIGNED_8);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:149:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_SIGNED_8);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:144:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::New(#value).ToLocalChecked(), Nan::New(value), \
^~~~~~~~
../src/binding.cc:150:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_UNSIGNED_8);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:150:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_UNSIGNED_8);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:150:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_UNSIGNED_8);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:144:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::New(#value).ToLocalChecked(), Nan::New(value), \
^~~~~~~~
../src/binding.cc:151:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_SIGNED_16);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:151:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_SIGNED_16);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:151:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_SIGNED_16);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:144:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::New(#value).ToLocalChecked(), Nan::New(value), \
^~~~~~~~
../src/binding.cc:152:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_UNSIGNED_16);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:152:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_UNSIGNED_16);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:152:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_UNSIGNED_16);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:144:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::New(#value).ToLocalChecked(), Nan::New(value), \
^~~~~~~~
../src/binding.cc:153:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_SIGNED_24);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:153:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_SIGNED_24);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:153:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_SIGNED_24);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:144:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::New(#value).ToLocalChecked(), Nan::New(value), \
^~~~~~~~
../src/binding.cc:154:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_UNSIGNED_24);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:154:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_UNSIGNED_24);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:154:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_UNSIGNED_24);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:144:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::New(#value).ToLocalChecked(), Nan::New(value), \
^~~~~~~~
../src/binding.cc:155:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_SIGNED_32);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:155:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_SIGNED_32);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:155:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_SIGNED_32);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:144:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::New(#value).ToLocalChecked(), Nan::New(value), \
^~~~~~~~
../src/binding.cc:156:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_UNSIGNED_32);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:156:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_UNSIGNED_32);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
../src/binding.cc:145:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast<PropertyAttribute>(ReadOnly|DontDelete));
^
../src/binding.cc:156:3: note: in expansion of macro ‘CONST_INT’
CONST_INT(MPG123_ENC_UNSIGNED_32);
^~~~~~~~~
In file included from ../../nan/nan.h:217,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^~~~~~~~
In file included from ../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
../src/binding.cc: At global scope:
/home/scott/.cache/node-gyp/12.10.0/include/node/node.h:560:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
(node::addon_register_func) (regfunc), \
^
/home/scott/.cache/node-gyp/12.10.0/include/node/node.h:594:3: note: in expansion of macro ‘NODE_MODULE_X’
NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
^~~~~~~~~~~~~
../src/binding.cc:166:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(binding, Initialize)
^~~~~~~~~~~
In file included from /home/scott/.cache/node-gyp/12.10.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/node_pointer.h:6,
from ../src/binding.cc:5:
/home/scott/.cache/node-gyp/12.10.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>&)]’:
/home/scott/.cache/node-gyp/12.10.0/include/node/node_object_wrap.h:84:78: required from here
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:9893: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]
reinterpret_cast<Callback>(callback), type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:65:61: required from here
/home/scott/.cache/node-gyp/12.10.0/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
make: *** [binding.target.mk:120: Release/obj.target/binding/src/binding.o] Error 1
make: Leaving directory '/home/scott/Code/music/node_modules/speaker/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
gyp ERR! stack at ChildProcess.emit (events.js:209:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.0.0-29-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/scott/Code/music/node_modules/speaker
gyp ERR! node -v v12.10.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
npm WARN tree@0.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: speaker@0.3.1 (node_modules/audio-speaker/node_modules/speaker):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: speaker@0.3.1 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: speaker@0.3.1 (node_modules/av/node_modules/speaker):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: speaker@0.3.1 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! speaker@0.4.2 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the speaker@0.4.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
OS: os x 10.14.6 (18G87)
error log: