-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
I'm using node@v15.11.0 and npm@7.13.0. Sorry for the log dump.
npm ERR! code 1
npm ERR! path /Users/paulrberg/.fnm/node-versions/v15.11.0/installation/lib/node_modules/pocketh/node_modules/scrypt
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! SOLINK_MODULE(target) Release/copied_files.node
npm ERR! CC(target) Release/obj.target/scrypt_wrapper/src/util/memlimit.o
npm ERR! CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/keyderivation.o
npm ERR! CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/pickparams.o
npm ERR! CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/hash.o
npm ERR! LIBTOOL-STATIC Release/scrypt_wrapper.a
npm ERR! CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt.o
npm ERR! CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt_smix.o
npm ERR! CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/warnp.o
npm ERR! CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/alg/sha256.o
npm ERR! CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/insecure_memzero.o
npm ERR! CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/scryptenc/scryptenc_cpuperf.o
npm ERR! LIBTOOL-STATIC Release/scrypt_lib.a
npm ERR! CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_common.o
npm ERR! CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@7.1.2
npm ERR! gyp info using node@15.11.0 | darwin | x64
npm ERR! gyp info find Python using Python version 3.9.5 found at "/usr/local/opt/python@3.9/bin/python3.9"
npm ERR! gyp info spawn /usr/local/opt/python@3.9/bin/python3.9
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/Users/paulrberg/.fnm/node-versions/v15.11.0/installation/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/paulrberg/.fnm/node-versions/v15.11.0/installation/lib/node_modules/pocketh/node_modules/scrypt/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/paulrberg/.fnm/node-versions/v15.11.0/installation/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/paulrberg/Library/Caches/node-gyp/15.11.0/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/Users/paulrberg/Library/Caches/node-gyp/15.11.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/Users/paulrberg/.fnm/node-versions/v15.11.0/installation/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/paulrberg/Library/Caches/node-gyp/15.11.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/paulrberg/.fnm/node-versions/v15.11.0/installation/lib/node_modules/pocketh/node_modules/scrypt',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! ../src/node-boilerplate/scrypt_common.cc:98:12: warning: address of stack memory associated with local variable 'scrypt_err_description' returned [-Wreturn-stack-address]
npm ERR! return scrypt_err_description.c_str();
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! 1 warning generated.
npm ERR! In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
npm ERR! In file included from ../src/node-boilerplate/inc/scrypt_params_async.h:28:
npm ERR! In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:
npm ERR! ../src/node-boilerplate/inc/scrypt_common.h:39:14: error: no matching member function for call to 'Get'
npm ERR! N(obj->Get(Nan::New("N").ToLocalChecked())->Uint32Value()),
npm ERR! ~~~~~^~~
npm ERR! /Users/paulrberg/Library/Caches/node-gyp/15.11.0/include/node/v8.h:3763:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
npm ERR! V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR! ^
npm ERR! /Users/paulrberg/Library/Caches/node-gyp/15.11.0/include/node/v8.h:3766:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
npm ERR! V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR! ^
npm ERR! In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
npm ERR! In file included from ../src/node-boilerplate/inc/scrypt_params_async.h:28:
npm ERR! In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:
npm ERR! ../src/node-boilerplate/inc/scrypt_common.h:40:14: error: no matching member function for call to 'Get'
npm ERR! r(obj->Get(Nan::New("r").ToLocalChecked())->Uint32Value()),
npm ERR! ~~~~~^~~
npm ERR! /Users/paulrberg/Library/Caches/node-gyp/15.11.0/include/node/v8.h:3763:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
npm ERR! V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR! ^
npm ERR! /Users/paulrberg/Library/Caches/node-gyp/15.11.0/include/node/v8.h:3766:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
npm ERR! V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR! ^
npm ERR! In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
npm ERR! In file included from ../src/node-boilerplate/inc/scrypt_params_async.h:28:
npm ERR! In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:
npm ERR! ../src/node-boilerplate/inc/scrypt_common.h:41:14: error: no matching member function for call to 'Get'
npm ERR! p(obj->Get(Nan::New("p").ToLocalChecked())->Uint32Value()) {}
npm ERR! ~~~~~^~~
npm ERR! /Users/paulrberg/Library/Caches/node-gyp/15.11.0/include/node/v8.h:3763:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
npm ERR! V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR! ^
npm ERR! /Users/paulrberg/Library/Caches/node-gyp/15.11.0/include/node/v8.h:3766:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
npm ERR! V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR! ^
npm ERR! In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
npm ERR! In file included from ../src/node-boilerplate/inc/scrypt_params_async.h:28:
npm ERR! ../src/node-boilerplate/inc/scrypt_async.h:53:17: warning: 'Call' is deprecated [-Wdeprecated-declarations]
npm ERR! callback->Call(1, argv);
npm ERR! ^
npm ERR! ../../nan/nan.h:1741:3: note: 'Call' has been explicitly marked deprecated here
npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value>
npm ERR! ^
npm ERR! ../../nan/nan.h:106:40: note: expanded from macro 'NAN_DEPRECATED'
npm ERR! # define NAN_DEPRECATED __attribute__((deprecated))
npm ERR! ^
npm ERR! In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
npm ERR! ../src/node-boilerplate/inc/scrypt_params_async.h:35:36: error: too few arguments to function call, single argument 'context' was not specified
npm ERR! maxtime(info[0]->NumberValue()),
npm ERR! ~~~~~~~~~~~~~~~~~~~~ ^
npm ERR! /Users/paulrberg/Library/Caches/node-gyp/15.11.0/include/node/v8.h:2907:39: note: 'NumberValue' declared here
npm ERR! V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
npm ERR! ^
npm ERR! In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
npm ERR! ../src/node-boilerplate/inc/scrypt_params_async.h:36:39: error: too few arguments to function call, single argument 'context' was not specified
npm ERR! maxmemfrac(info[1]->NumberValue()),
npm ERR! ~~~~~~~~~~~~~~~~~~~~ ^
npm ERR! /Users/paulrberg/Library/Caches/node-gyp/15.11.0/include/node/v8.h:2907:39: note: 'NumberValue' declared here
npm ERR! V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
npm ERR! ^
npm ERR! In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
npm ERR! ../src/node-boilerplate/inc/scrypt_params_async.h:37:36: error: too few arguments to function call, single argument 'context' was not specified
npm ERR! maxmem(info[2]->IntegerValue()),
npm ERR! ~~~~~~~~~~~~~~~~~~~~~ ^
npm ERR! /Users/paulrberg/Library/Caches/node-gyp/15.11.0/include/node/v8.h:2909:40: note: 'IntegerValue' declared here
npm ERR! V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
npm ERR! ^
npm ERR! In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
npm ERR! ../src/node-boilerplate/inc/scrypt_params_async.h:38:39: error: too few arguments to function call, single argument 'context' was not specified
npm ERR! osfreemem(info[3]->IntegerValue())
npm ERR! ~~~~~~~~~~~~~~~~~~~~~ ^
npm ERR! /Users/paulrberg/Library/Caches/node-gyp/15.11.0/include/node/v8.h:2909:40: note: 'IntegerValue' declared here
npm ERR! V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
npm ERR! ^
npm ERR! ../src/node-boilerplate/scrypt_params_async.cc:23:8: error: no matching member function for call to 'Set'
npm ERR! obj->Set(Nan::New("N").ToLocalChecked(), Nan::New<Integer>(logN));
npm ERR! ~~~~~^~~
npm ERR! /Users/paulrberg/Library/Caches/node-gyp/15.11.0/include/node/v8.h:3716:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
npm ERR! ^
npm ERR! /Users/paulrberg/Library/Caches/node-gyp/15.11.0/include/node/v8.h:3719:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
npm ERR! ^
npm ERR! ../src/node-boilerplate/scrypt_params_async.cc:24:8: error: no matching member function for call to 'Set'
npm ERR! obj->Set(Nan::New("r").ToLocalChecked(), Nan::New<Integer>(r));
npm ERR! ~~~~~^~~
npm ERR! /Users/paulrberg/Library/Caches/node-gyp/15.11.0/include/node/v8.h:3716:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
npm ERR! ^
npm ERR! /Users/paulrberg/Library/Caches/node-gyp/15.11.0/include/node/v8.h:3719:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
npm ERR! ^
npm ERR! ../src/node-boilerplate/scrypt_params_async.cc:25:8: error: no matching member function for call to 'Set'
npm ERR! obj->Set(Nan::New("p").ToLocalChecked(), Nan::New<Integer>(p));
npm ERR! ~~~~~^~~
npm ERR! /Users/paulrberg/Library/Caches/node-gyp/15.11.0/include/node/v8.h:3716:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
npm ERR! ^
npm ERR! /Users/paulrberg/Library/Caches/node-gyp/15.11.0/include/node/v8.h:3719:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
npm ERR! ^
npm ERR! ../src/node-boilerplate/scrypt_params_async.cc:32:13: warning: 'Call' is deprecated [-Wdeprecated-declarations]
npm ERR! callback->Call(2, argv);
npm ERR! ^
npm ERR! ../../nan/nan.h:1741:3: note: 'Call' has been explicitly marked deprecated here
npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value>
npm ERR! ^
npm ERR! ../../nan/nan.h:106:40: note: expanded from macro 'NAN_DEPRECATED'
npm ERR! # define NAN_DEPRECATED __attribute__((deprecated))
npm ERR! ^
npm ERR! 2 warnings and 10 errors generated.
npm ERR! make: *** [Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/Users/paulrberg/.fnm/node-versions/v15.11.0/installation/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:378:20)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Darwin 20.4.0
npm ERR! gyp ERR! command "/Users/paulrberg/.fnm/node-versions/v15.11.0/installation/bin/node" "/Users/paulrberg/.fnm/node-versions/v15.11.0/installation/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /Users/paulrberg/.fnm/node-versions/v15.11.0/installation/lib/node_modules/pocketh/node_modules/scrypt
npm ERR! gyp ERR! node -v v15.11.0
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/paulrberg/.npm/_logs/2021-06-10T13_20_42_124Z-debug.log
hexcowboy, jmcph4, PedroCailleret and flackoon
Metadata
Metadata
Assignees
Labels
No labels