gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | arm
gyp info find Python using Python version 3.7.3 found at "/usr/bin/python3"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/usr/local/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/pi/node_airtunes/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.cache/node-gyp/13.12.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/13.12.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/13.12.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/pi/node_airtunes',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/pi/node_airtunes/build'
CXX(target) Release/obj.target/airtunes/src/codec.o
In file included from ../src/../alac/ALACEncoder.h:29,
from ../src/codec.cc:15:
../src/../alac/ALACAudioTypes.h:64:32: warning: multi-character character constant [-Wmultichar]
kALACFormatAppleLossless = 'alac',
^~~~~~
../src/../alac/ALACAudioTypes.h:65:28: warning: multi-character character constant [-Wmultichar]
kALACFormatLinearPCM = 'lpcm'
^~~~~~
../src/../alac/ALACAudioTypes.h:154:22: warning: multi-character character constant [-Wmultichar]
kALACCodecFormat = 'alac',
^~~~~~
../src/../alac/ALACAudioTypes.h:182:26: warning: multi-character character constant [-Wmultichar]
AudioChannelLayoutAID = 'chan'
^~~~~~
../src/codec.cc: In function ‘void nodeairtunes::NewEncoder(const v8::FunctionCallbackInfo<v8::Value>&)’:
../src/codec.cc:76:49: error: no matching function for call to ‘v8::ObjectTemplate::NewInstance()’
Local<Object> obj = encoderClass->NewInstance();
^
In file included from /root/.cache/node-gyp/13.12.0/include/node/node.h:67,
from ../src/codec.cc:1:
/root/.cache/node-gyp/13.12.0/include/node/v8.h:6565:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::ObjectTemplate::NewInstance(v8::Local<v8::Context>)’
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(Local<Context> context);
^~~~~~~~~~~
/root/.cache/node-gyp/13.12.0/include/node/v8.h:6565:44: note: candidate expects 1 argument, 0 provided
../src/codec.cc: In function ‘void nodeairtunes::EncodeALAC(const v8::FunctionCallbackInfo<v8::Value>&)’:
../src/codec.cc:91:44: error: no matching function for call to ‘v8::Value::ToObject()’
Local<Object>wrapper = args[0]->ToObject();
^
In file included from /root/.cache/node-gyp/13.12.0/include/node/node.h:67,
from ../src/codec.cc:1:
/root/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/codec.cc:95:77: error: no matching function for call to ‘v8::Value::ToObject()’
unsigned char* pcmData = (unsigned char*)Buffer::Data(pcmBuffer->ToObject());
^
In file included from /root/.cache/node-gyp/13.12.0/include/node/node.h:67,
from ../src/codec.cc:1:
/root/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/codec.cc:98:79: error: no matching function for call to ‘v8::Value::ToObject()’
unsigned char* alacData = (unsigned char*)Buffer::Data(alacBuffer->ToObject());
^
In file included from /root/.cache/node-gyp/13.12.0/include/node/node.h:67,
from ../src/codec.cc:1:
/root/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/codec.cc:100:41: error: no matching function for call to ‘v8::Value::Int32Value()’
int32_t pcmSize = args[3]->Int32Value();
^
In file included from /root/.cache/node-gyp/13.12.0/include/node/node.h:67,
from ../src/codec.cc:1:
/root/.cache/node-gyp/13.12.0/include/node/v8.h:2778: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;
^~~~~~~~~~
/root/.cache/node-gyp/13.12.0/include/node/v8.h:2778:40: note: candidate expects 1 argument, 0 provided
../src/codec.cc: In function ‘void nodeairtunes::EncryptAES(const v8::FunctionCallbackInfo<v8::Value>&)’:
../src/codec.cc:122:79: error: no matching function for call to ‘v8::Value::ToObject()’
unsigned char* alacData = (unsigned char*)Buffer::Data(alacBuffer->ToObject());
^
In file included from /root/.cache/node-gyp/13.12.0/include/node/node.h:67,
from ../src/codec.cc:1:
/root/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/codec.cc:123:42: error: no matching function for call to ‘v8::Value::Int32Value()’
int32_t alacSize = args[1]->Int32Value();
^
In file included from /root/.cache/node-gyp/13.12.0/include/node/node.h:67,
from ../src/codec.cc:1:
/root/.cache/node-gyp/13.12.0/include/node/v8.h:2778: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;
^~~~~~~~~~
/root/.cache/node-gyp/13.12.0/include/node/v8.h:2778:40: note: candidate expects 1 argument, 0 provided
../src/codec.cc: At global scope:
../src/codec.cc:149:16: error: variable or field ‘InitCodec’ declared void
void InitCodec(Handle<Object> target) {
^~~~~~
../src/codec.cc:149:16: error: ‘Handle’ was not declared in this scope
../src/codec.cc:149:16: note: suggested alternative: ‘rand_r’
void InitCodec(Handle<Object> target) {
^~~~~~
rand_r
../src/codec.cc:149:29: error: expected primary-expression before ‘>’ token
void InitCodec(Handle<Object> target) {
^
../src/codec.cc:149:31: error: ‘target’ was not declared in this scope
void InitCodec(Handle<Object> target) {
^~~~~~
../src/codec.cc:149:31: note: suggested alternative: ‘tzset’
void InitCodec(Handle<Object> target) {
^~~~~~
tzset
make: *** [airtunes.target.mk:117: Release/obj.target/airtunes/src/codec.o] Error 1
make: Leaving directory '/home/pi/node_airtunes/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.4.51-v7l+
gyp ERR! command "/usr/local/bin/node" "/usr/local/bin/node-gyp" "configure" "build"
gyp ERR! cwd /home/pi/node_airtunes
gyp ERR! node -v v13.12.0
gyp ERR! node-gyp -v v7.1.2
gyp ERR! not ok