Created
November 5, 2019 20:06
-
-
Save adrianmcli/434d60842c70f8829faa445a3d0fa9e6 to your computer and use it in GitHub Desktop.
Error log from Web3.js install on Node v13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> [email protected] install /Users/adrianli/dev/temp/node_modules/keccak | |
> npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used." | |
> [email protected] rebuild /Users/adrianli/dev/temp/node_modules/keccak | |
> node-gyp rebuild | |
CXX(target) Release/obj.target/keccak/src/addon.o | |
../src/addon.cc:37:47: error: too few arguments to function call, single argument 'context' was not specified | |
unsigned int rate = info[0]->IntegerValue(); | |
~~~~~~~~~~~~~~~~~~~~~ ^ | |
/Users/adrianli/Library/Caches/node-gyp/13.0.1/include/node/v8.h:2643:3: note: 'IntegerValue' declared here | |
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue( | |
^ | |
/Users/adrianli/Library/Caches/node-gyp/13.0.1/include/node/v8config.h:368:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' | |
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) | |
^ | |
../src/addon.cc:38:51: error: too few arguments to function call, single argument 'context' was not specified | |
unsigned int capacity = info[1]->IntegerValue(); | |
~~~~~~~~~~~~~~~~~~~~~ ^ | |
/Users/adrianli/Library/Caches/node-gyp/13.0.1/include/node/v8.h:2643:3: note: 'IntegerValue' declared here | |
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue( | |
^ | |
/Users/adrianli/Library/Caches/node-gyp/13.0.1/include/node/v8config.h:368:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' | |
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) | |
^ | |
../src/addon.cc:56:48: error: too few arguments to function call, single argument 'context' was not specified | |
unsigned char bits = info[0]->IntegerValue(); | |
~~~~~~~~~~~~~~~~~~~~~ ^ | |
/Users/adrianli/Library/Caches/node-gyp/13.0.1/include/node/v8.h:2643:3: note: 'IntegerValue' declared here | |
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue( | |
^ | |
/Users/adrianli/Library/Caches/node-gyp/13.0.1/include/node/v8config.h:368:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' | |
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) | |
^ | |
../src/addon.cc:64:43: error: too few arguments to function call, single argument 'context' was not specified | |
size_t length = info[0]->IntegerValue(); | |
~~~~~~~~~~~~~~~~~~~~~ ^ | |
/Users/adrianli/Library/Caches/node-gyp/13.0.1/include/node/v8.h:2643:3: note: 'IntegerValue' declared here | |
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue( | |
^ | |
/Users/adrianli/Library/Caches/node-gyp/13.0.1/include/node/v8config.h:368:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' | |
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) | |
^ | |
../src/addon.cc:75:82: error: too few arguments to function call, single argument 'context' was not specified | |
KeccakWrapper* to = Nan::ObjectWrap::Unwrap<KeccakWrapper>(info[0]->ToObject()); | |
~~~~~~~~~~~~~~~~~ ^ | |
/Users/adrianli/Library/Caches/node-gyp/13.0.1/include/node/v8.h:2623:3: note: 'ToObject' declared here | |
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject( | |
^ | |
/Users/adrianli/Library/Caches/node-gyp/13.0.1/include/node/v8config.h:368:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' | |
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) | |
^ | |
5 errors generated. | |
make: *** [Release/obj.target/keccak/src/addon.o] Error 1 | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/Users/adrianli/n/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) | |
gyp ERR! stack at ChildProcess.emit (events.js:210:5) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) | |
gyp ERR! System Darwin 18.7.0 | |
gyp ERR! command "/Users/adrianli/n/bin/node" "/Users/adrianli/n/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /Users/adrianli/dev/temp/node_modules/keccak | |
gyp ERR! node -v v13.0.1 | |
gyp ERR! node-gyp -v v5.0.5 | |
gyp ERR! not ok | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! [email protected] rebuild: `node-gyp rebuild` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] rebuild script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm WARN Local package.json exists, but node_modules missing, did you mean to install? | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /Users/adrianli/.npm/_logs/2019-11-05T20_04_52_247Z-debug.log | |
Keccak bindings compilation fail. Pure JS implementation will be used. | |
> [email protected] install /Users/adrianli/dev/temp/node_modules/secp256k1 | |
> npm run rebuild || echo "Secp256k1 bindings compilation fail. Pure JS implementation will be used." | |
> [email protected] rebuild /Users/adrianli/dev/temp/node_modules/secp256k1 | |
> node-gyp rebuild | |
CXX(target) Release/obj.target/secp256k1/src/addon.o | |
CXX(target) Release/obj.target/secp256k1/src/privatekey.o | |
../src/privatekey.cc:73:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] | |
secp256k1_ec_privkey_negate(secp256k1ctx, &private_key[0]); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from ../src/privatekey.cc:4: | |
In file included from ../src/secp256k1-src/src/scalar_impl.h:10: | |
In file included from ../src/secp256k1-src/src/group.h:11: | |
../src/secp256k1-src/src/field.h:36:13: warning: unused function 'secp256k1_fe_normalize' [-Wunused-function] | |
static void secp256k1_fe_normalize(secp256k1_fe *r); | |
^ | |
../src/secp256k1-src/src/field.h:39:13: warning: unused function 'secp256k1_fe_normalize_weak' [-Wunused-function] | |
static void secp256k1_fe_normalize_weak(secp256k1_fe *r); | |
^ | |
../src/secp256k1-src/src/field.h:42:13: warning: unused function 'secp256k1_fe_normalize_var' [-Wunused-function] | |
static void secp256k1_fe_normalize_var(secp256k1_fe *r); | |
^ | |
../src/secp256k1-src/src/field.h:46:12: warning: unused function 'secp256k1_fe_normalizes_to_zero' [-Wunused-function] | |
static int secp256k1_fe_normalizes_to_zero(secp256k1_fe *r); | |
^ | |
../src/secp256k1-src/src/field.h:50:12: warning: unused function 'secp256k1_fe_normalizes_to_zero_var' [-Wunused-function] | |
static int secp256k1_fe_normalizes_to_zero_var(secp256k1_fe *r); | |
^ | |
../src/secp256k1-src/src/field.h:53:13: warning: unused function 'secp256k1_fe_set_int' [-Wunused-function] | |
static void secp256k1_fe_set_int(secp256k1_fe *r, int a); | |
^ | |
../src/secp256k1-src/src/field.h:56:13: warning: unused function 'secp256k1_fe_clear' [-Wunused-function] | |
static void secp256k1_fe_clear(secp256k1_fe *a); | |
^ | |
../src/secp256k1-src/src/field.h:59:12: warning: unused function 'secp256k1_fe_is_zero' [-Wunused-function] | |
static int secp256k1_fe_is_zero(const secp256k1_fe *a); | |
^ | |
../src/secp256k1-src/src/field.h:62:12: warning: unused function 'secp256k1_fe_is_odd' [-Wunused-function] | |
static int secp256k1_fe_is_odd(const secp256k1_fe *a); | |
^ | |
../src/secp256k1-src/src/field.h:65:12: warning: unused function 'secp256k1_fe_equal' [-Wunused-function] | |
static int secp256k1_fe_equal(const secp256k1_fe *a, const secp256k1_fe *b); | |
^ | |
../src/secp256k1-src/src/field.h:68:12: warning: unused function 'secp256k1_fe_equal_var' [-Wunused-function] | |
static int secp256k1_fe_equal_var(const secp256k1_fe *a, const secp256k1_fe *b); | |
^ | |
../src/secp256k1-src/src/field.h:71:12: warning: unused function 'secp256k1_fe_cmp_var' [-Wunused-function] | |
static int secp256k1_fe_cmp_var(const secp256k1_fe *a, const secp256k1_fe *b); | |
^ | |
../src/secp256k1-src/src/field.h:74:12: warning: unused function 'secp256k1_fe_set_b32' [-Wunused-function] | |
static int secp256k1_fe_set_b32(secp256k1_fe *r, const unsigned char *a); | |
^ | |
../src/secp256k1-src/src/field.h:77:13: warning: unused function 'secp256k1_fe_get_b32' [-Wunused-function] | |
static void secp256k1_fe_get_b32(unsigned char *r, const secp256k1_fe *a); | |
^ | |
../src/secp256k1-src/src/field.h:81:13: warning: unused function 'secp256k1_fe_negate' [-Wunused-function] | |
static void secp256k1_fe_negate(secp256k1_fe *r, const secp256k1_fe *a, int m); | |
^ | |
../src/secp256k1-src/src/field.h:85:13: warning: unused function 'secp256k1_fe_mul_int' [-Wunused-function] | |
static void secp256k1_fe_mul_int(secp256k1_fe *r, int a); | |
^ | |
../src/secp256k1-src/src/field.h:88:13: warning: unused function 'secp256k1_fe_add' [-Wunused-function] | |
static void secp256k1_fe_add(secp256k1_fe *r, const secp256k1_fe *a); | |
^ | |
../src/secp256k1-src/src/field.h:92:13: warning: unused function 'secp256k1_fe_mul' [-Wunused-function] | |
static void secp256k1_fe_mul(secp256k1_fe *r, const secp256k1_fe *a, const secp256k1_fe * SECP256K1_RESTRICT b); | |
^ | |
../src/secp256k1-src/src/field.h:96:13: warning: unused function 'secp256k1_fe_sqr' [-Wunused-function] | |
static void secp256k1_fe_sqr(secp256k1_fe *r, const secp256k1_fe *a); | |
^ | |
../src/secp256k1-src/src/field.h:103:12: warning: unused function 'secp256k1_fe_sqrt' [-Wunused-function] | |
static int secp256k1_fe_sqrt(secp256k1_fe *r, const secp256k1_fe *a); | |
^ | |
../src/secp256k1-src/src/field.h:106:12: warning: unused function 'secp256k1_fe_is_quad_var' [-Wunused-function] | |
static int secp256k1_fe_is_quad_var(const secp256k1_fe *a); | |
^ | |
../src/secp256k1-src/src/field.h:110:13: warning: unused function 'secp256k1_fe_inv' [-Wunused-function] | |
static void secp256k1_fe_inv(secp256k1_fe *r, const secp256k1_fe *a); | |
^ | |
../src/secp256k1-src/src/field.h:113:13: warning: unused function 'secp256k1_fe_inv_var' [-Wunused-function] | |
static void secp256k1_fe_inv_var(secp256k1_fe *r, const secp256k1_fe *a); | |
^ | |
../src/secp256k1-src/src/field.h:118:13: warning: unused function 'secp256k1_fe_inv_all_var' [-Wunused-function] | |
static void secp256k1_fe_inv_all_var(secp256k1_fe *r, const secp256k1_fe *a, size_t len); | |
^ | |
../src/secp256k1-src/src/field.h:121:13: warning: unused function 'secp256k1_fe_to_storage' [-Wunused-function] | |
static void secp256k1_fe_to_storage(secp256k1_fe_storage *r, const secp256k1_fe *a); | |
^ | |
../src/secp256k1-src/src/field.h:124:13: warning: unused function 'secp256k1_fe_from_storage' [-Wunused-function] | |
static void secp256k1_fe_from_storage(secp256k1_fe *r, const secp256k1_fe_storage *a); | |
^ | |
../src/secp256k1-src/src/field.h:127:13: warning: unused function 'secp256k1_fe_storage_cmov' [-Wunused-function] | |
static void secp256k1_fe_storage_cmov(secp256k1_fe_storage *r, const secp256k1_fe_storage *a, int flag); | |
^ | |
../src/secp256k1-src/src/field.h:130:13: warning: unused function 'secp256k1_fe_cmov' [-Wunused-function] | |
static void secp256k1_fe_cmov(secp256k1_fe *r, const secp256k1_fe *a, int flag); | |
^ | |
In file included from ../src/privatekey.cc:4: | |
In file included from ../src/secp256k1-src/src/scalar_impl.h:10: | |
../src/secp256k1-src/src/group.h:44:13: warning: unused function 'secp256k1_ge_set_xy' [-Wunused-function] | |
static void secp256k1_ge_set_xy(secp256k1_ge *r, const secp256k1_fe *x, const secp256k1_fe *y); | |
^ | |
../src/secp256k1-src/src/group.h:50:12: warning: unused function 'secp256k1_ge_set_xquad' [-Wunused-function] | |
static int secp256k1_ge_set_xquad(secp256k1_ge *r, const secp256k1_fe *x); | |
^ | |
../src/secp256k1-src/src/group.h:54:12: warning: unused function 'secp256k1_ge_set_xo_var' [-Wunused-function] | |
static int secp256k1_ge_set_xo_var(secp256k1_ge *r, const secp256k1_fe *x, int odd); | |
^ | |
../src/secp256k1-src/src/group.h:57:12: warning: unused function 'secp256k1_ge_is_infinity' [-Wunused-function] | |
static int secp256k1_ge_is_infinity(const secp256k1_ge *a); | |
^ | |
../src/secp256k1-src/src/group.h:60:12: warning: unused function 'secp256k1_ge_is_valid_var' [-Wunused-function] | |
static int secp256k1_ge_is_valid_var(const secp256k1_ge *a); | |
^ | |
../src/secp256k1-src/src/group.h:62:13: warning: unused function 'secp256k1_ge_neg' [-Wunused-function] | |
static void secp256k1_ge_neg(secp256k1_ge *r, const secp256k1_ge *a); | |
^ | |
../src/secp256k1-src/src/group.h:65:13: warning: unused function 'secp256k1_ge_set_gej' [-Wunused-function] | |
static void secp256k1_ge_set_gej(secp256k1_ge *r, secp256k1_gej *a); | |
^ | |
../src/secp256k1-src/src/group.h:68:13: warning: unused function 'secp256k1_ge_set_all_gej_var' [-Wunused-function] | |
static void secp256k1_ge_set_all_gej_var(secp256k1_ge *r, const secp256k1_gej *a, size_t len); | |
^ | |
../src/secp256k1-src/src/group.h:75:13: warning: unused function 'secp256k1_ge_globalz_set_table_gej' [-Wunused-function] | |
static void secp256k1_ge_globalz_set_table_gej(size_t len, secp256k1_ge *r, secp256k1_fe *globalz, const secp256k1_gej *a, const secp256k1_fe *zr); | |
^ | |
../src/secp256k1-src/src/group.h:78:13: warning: unused function 'secp256k1_ge_set_infinity' [-Wunused-function] | |
static void secp256k1_ge_set_infinity(secp256k1_ge *r); | |
^ | |
../src/secp256k1-src/src/group.h:81:13: warning: unused function 'secp256k1_gej_set_infinity' [-Wunused-function] | |
static void secp256k1_gej_set_infinity(secp256k1_gej *r); | |
^ | |
../src/secp256k1-src/src/group.h:84:13: warning: unused function 'secp256k1_gej_set_ge' [-Wunused-function] | |
static void secp256k1_gej_set_ge(secp256k1_gej *r, const secp256k1_ge *a); | |
^ | |
../src/secp256k1-src/src/group.h:87:12: warning: unused function 'secp256k1_gej_eq_x_var' [-Wunused-function] | |
static int secp256k1_gej_eq_x_var(const secp256k1_fe *x, const secp256k1_gej *a); | |
^ | |
../src/secp256k1-src/src/group.h:90:13: warning: unused function 'secp256k1_gej_neg' [-Wunused-function] | |
static void secp256k1_gej_neg(secp256k1_gej *r, const secp256k1_gej *a); | |
^ | |
../src/secp256k1-src/src/group.h:93:12: warning: unused function 'secp256k1_gej_is_infinity' [-Wunused-function] | |
static int secp256k1_gej_is_infinity(const secp256k1_gej *a); | |
^ | |
../src/secp256k1-src/src/group.h:96:12: warning: unused function 'secp256k1_gej_has_quad_y_var' [-Wunused-function] | |
static int secp256k1_gej_has_quad_y_var(const secp256k1_gej *a); | |
^ | |
../src/secp256k1-src/src/group.h:100:13: warning: unused function 'secp256k1_gej_double_nonzero' [-Wunused-function] | |
static void secp256k1_gej_double_nonzero(secp256k1_gej *r, const secp256k1_gej *a, secp256k1_fe *rzr); | |
^ | |
../src/secp256k1-src/src/group.h:103:13: warning: unused function 'secp256k1_gej_double_var' [-Wunused-function] | |
static void secp256k1_gej_double_var(secp256k1_gej *r, const secp256k1_gej *a, secp256k1_fe *rzr); | |
^ | |
../src/secp256k1-src/src/group.h:106:13: warning: unused function 'secp256k1_gej_add_var' [-Wunused-function] | |
static void secp256k1_gej_add_var(secp256k1_gej *r, const secp256k1_gej *a, const secp256k1_gej *b, secp256k1_fe *rzr); | |
^ | |
../src/secp256k1-src/src/group.h:109:13: warning: unused function 'secp256k1_gej_add_ge' [-Wunused-function] | |
static void secp256k1_gej_add_ge(secp256k1_gej *r, const secp256k1_gej *a, const secp256k1_ge *b); | |
^ | |
../src/secp256k1-src/src/group.h:114:13: warning: unused function 'secp256k1_gej_add_ge_var' [-Wunused-function] | |
static void secp256k1_gej_add_ge_var(secp256k1_gej *r, const secp256k1_gej *a, const secp256k1_ge *b, secp256k1_fe *rzr); | |
^ | |
../src/secp256k1-src/src/group.h:117:13: warning: unused function 'secp256k1_gej_add_zinv_var' [-Wunused-function] | |
static void secp256k1_gej_add_zinv_var(secp256k1_gej *r, const secp256k1_gej *a, const secp256k1_ge *b, const secp256k1_fe *bzinv); | |
^ | |
../src/secp256k1-src/src/group.h:125:13: warning: unused function 'secp256k1_gej_clear' [-Wunused-function] | |
static void secp256k1_gej_clear(secp256k1_gej *r); | |
^ | |
../src/secp256k1-src/src/group.h:128:13: warning: unused function 'secp256k1_ge_clear' [-Wunused-function] | |
static void secp256k1_ge_clear(secp256k1_ge *r); | |
^ | |
../src/secp256k1-src/src/group.h:131:13: warning: unused function 'secp256k1_ge_to_storage' [-Wunused-function] | |
static void secp256k1_ge_to_storage(secp256k1_ge_storage *r, const secp256k1_ge *a); | |
^ | |
../src/secp256k1-src/src/group.h:134:13: warning: unused function 'secp256k1_ge_from_storage' [-Wunused-function] | |
static void secp256k1_ge_from_storage(secp256k1_ge *r, const secp256k1_ge_storage *a); | |
^ | |
../src/secp256k1-src/src/group.h:137:13: warning: unused function 'secp256k1_ge_storage_cmov' [-Wunused-function] | |
static void secp256k1_ge_storage_cmov(secp256k1_ge_storage *r, const secp256k1_ge_storage *a, int flag); | |
^ | |
../src/secp256k1-src/src/group.h:140:13: warning: unused function 'secp256k1_gej_rescale' [-Wunused-function] | |
static void secp256k1_gej_rescale(secp256k1_gej *r, const secp256k1_fe *b); | |
^ | |
In file included from ../src/privatekey.cc:4: | |
In file included from ../src/secp256k1-src/src/scalar_impl.h:20: | |
../src/secp256k1-src/src/scalar_4x64_impl.h:83:12: warning: unused function 'secp256k1_scalar_add' [-Wunused-function] | |
static int secp256k1_scalar_add(secp256k1_scalar *r, const secp256k1_scalar *a, const secp256k1_scalar *b) { | |
^ | |
../src/secp256k1-src/src/scalar_4x64_impl.h:897:12: warning: unused function 'secp256k1_scalar_shr_int' [-Wunused-function] | |
static int secp256k1_scalar_shr_int(secp256k1_scalar *r, int n) { | |
^ | |
In file included from ../src/privatekey.cc:4: | |
../src/secp256k1-src/src/scalar_impl.h:225:13: warning: unused function 'secp256k1_scalar_inverse_var' [-Wunused-function] | |
static void secp256k1_scalar_inverse_var(secp256k1_scalar *r, const secp256k1_scalar *x) { | |
^ | |
In file included from ../src/privatekey.cc:4: | |
In file included from ../src/secp256k1-src/src/scalar_impl.h:20: | |
../src/secp256k1-src/src/scalar_4x64_impl.h:140:13: warning: unused function 'secp256k1_scalar_negate' [-Wunused-function] | |
static void secp256k1_scalar_negate(secp256k1_scalar *r, const secp256k1_scalar *a) { | |
^ | |
../src/secp256k1-src/src/scalar_4x64_impl.h:156:12: warning: unused function 'secp256k1_scalar_is_high' [-Wunused-function] | |
static int secp256k1_scalar_is_high(const secp256k1_scalar *a) { | |
^ | |
../src/secp256k1-src/src/scalar_4x64_impl.h:168:12: warning: unused function 'secp256k1_scalar_cond_negate' [-Wunused-function] | |
static int secp256k1_scalar_cond_negate(secp256k1_scalar *r, int flag) { | |
^ | |
63 warnings generated. | |
CXX(target) Release/obj.target/secp256k1/src/publickey.o | |
CXX(target) Release/obj.target/secp256k1/src/signature.o | |
CXX(target) Release/obj.target/secp256k1/src/ecdsa.o | |
../src/ecdsa.cc:88:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] | |
obj->Set(info.GetIsolate()->GetCurrentContext(), Nan::New<v8::String>("signature").ToLocalChecked(), COPY_BUFFER(&output[0], 64)); | |
^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../src/ecdsa.cc:89:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] | |
obj->Set(info.GetIsolate()->GetCurrentContext(), Nan::New<v8::String>("recovery").ToLocalChecked(), Nan::New<v8::Number>(recid)); | |
^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
2 warnings generated. | |
CXX(target) Release/obj.target/secp256k1/src/ecdh.o | |
CC(target) Release/obj.target/secp256k1/src/secp256k1-src/src/secp256k1.o | |
In file included from ../src/secp256k1-src/src/secp256k1.c:11: | |
../src/secp256k1-src/src/field_impl.h:266:13: warning: unused function 'secp256k1_fe_inv_all_var' [-Wunused-function] | |
static void secp256k1_fe_inv_all_var(secp256k1_fe *r, const secp256k1_fe *a, size_t len) { | |
^ | |
In file included from ../src/secp256k1-src/src/secp256k1.c:13: | |
../src/secp256k1-src/src/group_impl.h:202:13: warning: unused function 'secp256k1_ge_set_infinity' [-Wunused-function] | |
static void secp256k1_ge_set_infinity(secp256k1_ge *r) { | |
^ | |
../src/secp256k1-src/src/group_impl.h:691:12: warning: unused function 'secp256k1_gej_has_quad_y_var' [-Wunused-function] | |
static int secp256k1_gej_has_quad_y_var(const secp256k1_gej *a) { | |
^ | |
../src/secp256k1-src/src/group_impl.h:272:12: warning: unused function 'secp256k1_gej_is_valid_var' [-Wunused-function] | |
static int secp256k1_gej_is_valid_var(const secp256k1_gej *a) { | |
^ | |
In file included from ../src/secp256k1-src/src/secp256k1.c:14: | |
../src/secp256k1-src/src/ecmult_impl.h:1135:12: warning: unused function 'secp256k1_ecmult_multi_var' [-Wunused-function] | |
static int secp256k1_ecmult_multi_var(const secp256k1_ecmult_context *ctx, secp256k1_scratch *scratch, secp256k1_gej *r, const secp256k1_scalar *inp_g_sc, secp256k1_ecmul... | |
^ | |
../src/secp256k1-src/src/ecmult_impl.h:669:12: warning: unused function 'secp256k1_ecmult_strauss_batch_single' [-Wunused-function] | |
static int secp256k1_ecmult_strauss_batch_single(const secp256k1_ecmult_context *actx, secp256k1_scratch *scratch, secp256k1_gej *r, const secp256k1_scalar *inp_g_sc, sec... | |
^ | |
../src/secp256k1-src/src/ecmult_impl.h:1042:12: warning: unused function 'secp256k1_ecmult_pippenger_batch_single' [-Wunused-function] | |
static int secp256k1_ecmult_pippenger_batch_single(const secp256k1_ecmult_context *actx, secp256k1_scratch *scratch, secp256k1_gej *r, const secp256k1_scalar *inp_g_sc, s... | |
^ | |
7 warnings generated. | |
CC(target) Release/obj.target/secp256k1/src/secp256k1-src/contrib/lax_der_parsing.o | |
CC(target) Release/obj.target/secp256k1/src/secp256k1-src/contrib/lax_der_privatekey_parsing.o | |
SOLINK_MODULE(target) Release/secp256k1.node | |
> [email protected] install /Users/adrianli/dev/temp/node_modules/sha3 | |
> node-gyp rebuild | |
CXX(target) Release/obj.target/sha3/src/addon.o | |
In file included from ../src/addon.cpp:9: | |
In file included from ../src/KeccakNISTInterface.h:17: | |
../src/KeccakSponge.h:23:9: warning: 'ALIGN' macro redefined [-Wmacro-redefined] | |
#define ALIGN __attribute__ ((aligned(32))) | |
^ | |
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/i386/param.h:83:9: note: previous definition is here | |
#define ALIGN(p) __DARWIN_ALIGN(p) | |
^ | |
../src/addon.cpp:83:11: error: no matching member function for call to 'Set' | |
target->Set(className, f); | |
~~~~~~~~^~~ | |
/Users/adrianli/Library/Caches/node-gyp/13.0.1/include/node/v8.h:3416:37: note: candidate function not viable: requires 3 arguments, but 2 were provided | |
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, | |
^ | |
/Users/adrianli/Library/Caches/node-gyp/13.0.1/include/node/v8.h:3419:37: note: candidate function not viable: requires 3 arguments, but 2 were provided | |
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, | |
^ | |
1 warning and 1 error generated. | |
make: *** [Release/obj.target/sha3/src/addon.o] Error 1 | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/Users/adrianli/n/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) | |
gyp ERR! stack at ChildProcess.emit (events.js:210:5) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) | |
gyp ERR! System Darwin 18.7.0 | |
gyp ERR! command "/Users/adrianli/n/bin/node" "/Users/adrianli/n/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /Users/adrianli/dev/temp/node_modules/sha3 | |
gyp ERR! node -v v13.0.1 | |
gyp ERR! node-gyp -v v5.0.5 | |
gyp ERR! not ok | |
npm WARN [email protected] No description | |
npm WARN [email protected] No repository field. | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! [email protected] install: `node-gyp rebuild` | |
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! /Users/adrianli/.npm/_logs/2019-11-05T20_05_00_586Z-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment