Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Error when I run yarn add bcrypto #55

Open
timi-codes opened this issue Dec 5, 2020 · 6 comments
Open

Error when I run yarn add bcrypto #55

timi-codes opened this issue Dec 5, 2020 · 6 comments

Comments

@timi-codes
Copy link

timi-codes commented Dec 5, 2020

System Spec
Mac OS Catalina 10.15.7
Node v15.3.0
Yarn 1.22.10

0 verbose cli [
0 verbose cli '/usr/local/Cellar/node/15.3.0/bin/node',
0 verbose cli '/usr/local/bin/npm',
0 verbose cli 'rebuild'
0 verbose cli ]
1 info using [email protected]
2 info using [email protected]
3 timing config:load:defaults Completed in 1ms
4 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 2ms
5 timing config:load:builtin Completed in 2ms
6 timing config:load:cli Completed in 2ms
7 timing config:load:env Completed in 0ms
8 timing config:load:file:/Users/timitejumola/bcoin/.npmrc Completed in 0ms
9 timing config:load:project Completed in 1ms
10 timing config:load:file:/Users/timitejumola/.npmrc Completed in 0ms
11 timing config:load:user Completed in 0ms
12 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
13 timing config:load:global Completed in 0ms
14 timing config:load:cafile Completed in 0ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:setUserAgent Completed in 1ms
17 timing config:load:setEnvs Completed in 0ms
18 timing config:load Completed in 7ms
19 verbose npm-session f0ce0e8ff66702f4
20 timing npm:load Completed in 17ms
21 timing arborist:ctor Completed in 0ms
22 timing build:queue Completed in 2ms
23 timing build:link:node_modules/bmocha Completed in 2ms
24 timing build:link Completed in 2ms
25 info run [email protected] install node_modules/bcrypto node-gyp rebuild
26 info run [email protected] install node_modules/bdb node-gyp rebuild
27 info run [email protected] install { code: 0, signal: null }
28 timing build:run:install:node_modules/bdb Completed in 34103ms
29 info run [email protected] install { code: 1, signal: null }
30 timing command:rebuild Completed in 68875ms
31 verbose stack Error: command failed
31 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
31 verbose stack at ChildProcess.emit (node:events:376:20)
31 verbose stack at maybeClose (node:internal/child_process:1055:16)
31 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5)
32 verbose pkgid [email protected]
33 verbose cwd /Users/timitejumola/bcoin
34 verbose Darwin 19.6.0
35 verbose argv "/usr/local/Cellar/node/15.3.0/bin/node" "/usr/local/bin/npm" "rebuild"
36 verbose node v15.3.0
37 verbose npm v7.0.14
38 error code 1
39 error path /Users/timitejumola/bcoin/node_modules/bcrypto
40 error command failed
41 error command sh -c node-gyp rebuild
42 error CC(target) Release/obj.target/bcrypto/src/base58/base58.o
42 error CC(target) Release/obj.target/bcrypto/src/bech32/bech32.o
42 error CC(target) Release/obj.target/bcrypto/src/cash32/cash32.o
42 error CC(target) Release/obj.target/bcrypto/src/murmur3/murmur3.o
42 error CC(target) Release/obj.target/bcrypto/src/torsion/src/aead.o
42 error CC(target) Release/obj.target/bcrypto/src/torsion/src/chacha20.o
42 error CC(target) Release/obj.target/bcrypto/src/torsion/src/drbg.o
42 error CC(target) Release/obj.target/bcrypto/src/torsion/src/dsa.o
42 error CC(target) Release/obj.target/bcrypto/src/torsion/src/ecc.o
42 error CC(target) Release/obj.target/bcrypto/src/torsion/src/hash.o
42 error CC(target) Release/obj.target/bcrypto/src/torsion/src/kdf.o
42 error CC(target) Release/obj.target/bcrypto/src/torsion/src/poly1305.o
42 error CC(target) Release/obj.target/bcrypto/src/torsion/src/rsa.o
42 error CC(target) Release/obj.target/bcrypto/src/torsion/src/salsa20.o
42 error CC(target) Release/obj.target/bcrypto/src/torsion/src/siphash.o
42 error CC(target) Release/obj.target/bcrypto/src/torsion/src/util.o
42 error CXX(target) Release/obj.target/bcrypto/src/aead.o
42 error CXX(target) Release/obj.target/bcrypto/src/base58.o
42 error CXX(target) Release/obj.target/bcrypto/src/bech32.o
42 error CXX(target) Release/obj.target/bcrypto/src/bcrypto.o
42 error CXX(target) Release/obj.target/bcrypto/src/blake2b.o
42 error CXX(target) Release/obj.target/bcrypto/src/blake2s.o
42 error CXX(target) Release/obj.target/bcrypto/src/cash32.o
42 error CXX(target) Release/obj.target/bcrypto/src/chacha20.o
42 error CXX(target) Release/obj.target/bcrypto/src/dsa.o
42 error CXX(target) Release/obj.target/bcrypto/src/dsa_async.o
42 error CXX(target) Release/obj.target/bcrypto/src/ecdh.o
42 error CXX(target) Release/obj.target/bcrypto/src/ecdsa.o
42 error CXX(target) Release/obj.target/bcrypto/src/eddsa.o
42 error CXX(target) Release/obj.target/bcrypto/src/hash.o
42 error CXX(target) Release/obj.target/bcrypto/src/hmac.o
42 error CXX(target) Release/obj.target/bcrypto/src/keccak.o
42 error CXX(target) Release/obj.target/bcrypto/src/murmur3.o
42 error CXX(target) Release/obj.target/bcrypto/src/pbkdf2.o
42 error CXX(target) Release/obj.target/bcrypto/src/pbkdf2_async.o
42 error CXX(target) Release/obj.target/bcrypto/src/poly1305.o
42 error CXX(target) Release/obj.target/bcrypto/src/rsa.o
42 error CXX(target) Release/obj.target/bcrypto/src/rsa_async.o
42 error CXX(target) Release/obj.target/bcrypto/src/salsa20.o
42 error CXX(target) Release/obj.target/bcrypto/src/schnorr.o
42 error CXX(target) Release/obj.target/bcrypto/src/scrypt.o
42 error CXX(target) Release/obj.target/bcrypto/src/scrypt_async.o
42 error CXX(target) Release/obj.target/bcrypto/src/siphash.o
42 error CXX(target) Release/obj.target/bcrypto/src/util.o
42 error CC(target) Release/obj.target/bcrypto/src/torsion/src/mini-gmp.o
42 error CC(target) Release/obj.target/bcrypto/src/secp256k1/src/secp256k1.o
43 error gyp info it worked if it ends with ok
43 error gyp info using [email protected]
43 error gyp info using [email protected] | darwin | x64
43 error gyp info find Python using Python version 3.7.3 found at "/Users/timitejumola/.pyenv/versions/3.7.3/bin/python3"
43 error gyp info spawn /Users/timitejumola/.pyenv/versions/3.7.3/bin/python3
43 error gyp info spawn args [
43 error gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
43 error gyp info spawn args 'binding.gyp',
43 error gyp info spawn args '-f',
43 error gyp info spawn args 'make',
43 error gyp info spawn args '-I',
43 error gyp info spawn args '/Users/timitejumola/bcoin/node_modules/bcrypto/build/config.gypi',
43 error gyp info spawn args '-I',
43 error gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
43 error gyp info spawn args '-I',
43 error gyp info spawn args '/Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/common.gypi',
43 error gyp info spawn args '-Dlibrary=shared_library',
43 error gyp info spawn args '-Dvisibility=default',
43 error gyp info spawn args '-Dnode_root_dir=/Users/timitejumola/Library/Caches/node-gyp/15.3.0',
43 error gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
43 error gyp info spawn args '-Dnode_lib_file=/Users/timitejumola/Library/Caches/node-gyp/15.3.0/<(target_arch)/node.lib',
43 error gyp info spawn args '-Dmodule_root_dir=/Users/timitejumola/bcoin/node_modules/bcrypto',
43 error gyp info spawn args '-Dnode_engine=v8',
43 error gyp info spawn args '--depth=.',
43 error gyp info spawn args '--no-parallel',
43 error gyp info spawn args '--generator-output',
43 error gyp info spawn args 'build',
43 error gyp info spawn args '-Goutput_dir=.'
43 error gyp info spawn args ]
43 error gyp info spawn make
43 error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
43 error In file included from ../src/torsion/src/dsa.c:34:
43 error In file included from ../src/torsion/src/asn1.h:13:
43 error In file included from ../src/torsion/src/mpz.h:20:
43 error ../src/torsion/src/gmp-compat.h:124:1: warning: unused function 'mpn_tdiv_qr' [-Wunused-function]
43 error mpn_tdiv_qr(mp_limb_t *qp,
43 error ^
43 error ../src/torsion/src/gmp-compat.h:154:1: warning: unused function 'mpn_gcdext' [-Wunused-function]
43 error mpn_gcdext(mp_limb_t *gp,
43 error ^
43 error In file included from ../src/torsion/src/dsa.c:34:
43 error In file included from ../src/torsion/src/asn1.h:13:
43 error ../src/torsion/src/mpz.h:448:1: warning: unused function 'torsion_mpz_random_prime' [-Wunused-function]
43 error mpz_random_prime(mpz_t ret, size_t bits, drbg_t *rng) {
43 error ^
43 error ../src/torsion/src/mpz.h:35:26: note: expanded from macro 'mpz_random_prime'
43 error #define mpz_random_prime torsion_mpz_random_prime
43 error ^
43 error In file included from ../src/torsion/src/dsa.c:34:
43 error ../src/torsion/src/asn1.h:94:1: warning: unused function 'asn1_read_int' [-Wunused-function]
43 error asn1_read_int(unsigned char *out, size_t out_len,
43 error ^
43 error ../src/torsion/src/asn1.h:270:1: warning: unused function 'asn1_size_int' [-Wunused-function]
43 error asn1_size_int(const unsigned char *num, size_t len) {
43 error ^
43 error ../src/torsion/src/asn1.h:332:1: warning: unused function 'asn1_write_int' [-Wunused-function]
43 error asn1_write_int(unsigned char *data, size_t pos,
43 error ^
43 error 6 warnings generated.
43 error In file included from ../src/torsion/src/ecc.c:159:
43 error ../src/torsion/src/fields/p224.h:170:1: warning: unused function 'p224_fe_is_square' [-Wunused-function]
43 error p224_fe_is_square(const p224_fe_t in) {
43 error ^
43 error In file included from ../src/torsion/src/ecc.c:168:
43 error In file included from ../src/torsion/src/asn1.h:13:
43 error In file included from ../src/torsion/src/mpz.h:20:
43 error ../src/torsion/src/gmp-compat.h:103:1: warning: unused function 'mpz_powm_sec' [-Wunused-function]
43 error mpz_powm_sec(mpz_t rop, const mpz_t base, const mpz_t exp, const mpz_t mod) {
43 error ^
43 error In file included from ../src/torsion/src/ecc.c:168:
43 error In file included from ../src/torsion/src/asn1.h:13:
43 error ../src/torsion/src/mpz.h:42:1: warning: unused function 'torsion_mpz_roset' [-Wunused-function]
43 error mpz_roset(mpz_t r, const mpz_t x) {
43 error ^
43 error ../src/torsion/src/mpz.h:25:19: note: expanded from macro 'mpz_roset'
43 error #define mpz_roset torsion_mpz_roset
43 error ^
43 error ../src/torsion/src/mpz.h:80:1: warning: unused function 'torsion_mpz_export_pad' [-Wunused-function]
43 error mpz_export_pad(unsigned char *out, const mpz_t n, size_t size, int endian) {
43 error ^
43 error ../src/torsion/src/mpz.h:28:24: note: expanded from macro 'mpz_export_pad'
43 error #define mpz_export_pad torsion_mpz_export_pad
43 error ^
43 error ../src/torsion/src/mpz.h:448:1: warning: unused function 'torsion_mpz_random_prime' [-Wunused-function]
43 error mpz_random_prime(mpz_t ret, size_t bits, drbg_t *rng) {
43 error ^
43 error ../src/torsion/src/mpz.h:35:26: note: expanded from macro 'mpz_random_prime'
43 error #define mpz_random_prime torsion_mpz_random_prime
43 error ^
43 error In file included from ../src/torsion/src/ecc.c:168:
43 error ../src/torsion/src/asn1.h:204:1: warning: unused function 'asn1_read_version' [-Wunused-function]
43 error asn1_read_version(const unsigned char **data, size_t *len,
43 error ^
43 error ../src/torsion/src/asn1.h:235:1: warning: unused function 'asn1_read_dumb' [-Wunused-function]
43 error asn1_read_dumb(mpz_t n, const unsigned char **data, size_t *len) {
43 error ^
43 error ../src/torsion/src/asn1.h:286:1: warning: unused function 'asn1_size_mpz' [-Wunused-function]
43 error asn1_size_mpz(const mpz_t n) {
43 error ^
43 error ../src/torsion/src/asn1.h:301:1: warning: unused function 'asn1_size_version' [-Wunused-function]
43 error asn1_size_version(unsigned char version) {
43 error ^
43 error ../src/torsion/src/asn1.h:366:1: warning: unused function 'asn1_write_mpz' [-Wunused-function]
43 error asn1_write_mpz(unsigned char *data, size_t pos, const mpz_t n) {
43 error ^
43 error ../src/torsion/src/asn1.h:396:1: warning: unused function 'asn1_write_version' [-Wunused-function]
43 error asn1_write_version(unsigned char *data, size_t pos, unsigned char version) {
43 error ^
43 error ../src/torsion/src/asn1.h:404:1: warning: unused function 'asn1_write_dumb' [-Wunused-function]
43 error asn1_write_dumb(unsigned char *data, size_t pos, const mpz_t n) {
43 error ^
43 error ../src/torsion/src/ecc.c:719:1: warning: unused function 'sc_swap' [-Wunused-function]
43 error sc_swap(const scalar_field_t *sc, sc_t a, sc_t b, unsigned int flag) {
43 error ^
43 error ../src/torsion/src/ecc.c:852:1: warning: unused function 'sc_sub' [-Wunused-function]
43 error sc_sub(const scalar_field_t *sc, sc_t r, const sc_t a, const sc_t b) {
43 error ^
43 error ../src/torsion/src/ecc.c:1811:1: warning: unused function 'fe_random' [-Wunused-function]
43 error fe_random(const prime_field_t *fe, fe_t x, drbg_t *rng) {
43 error ^
43 error ../src/torsion/src/ecc.c:2049:1: warning: unused function 'wge_validate' [-Wunused-function]
43 error wge_validate(const wei_t *ec, const wge_t *p) {
43 error ^
43 error ../src/torsion/src/ecc.c:2202:1: warning: unused function 'wge_swap' [-Wunused-function]
43 error wge_swap(const wei_t *ec, wge_t *a, wge_t *b, unsigned int flag) {
43 error ^
43 error ../src/torsion/src/ecc.c:2242:1: warning: unused function 'wge_equal' [-Wunused-function]
43 error wge_equal(const wei_t *ec, const wge_t *a, const wge_t *b) {
43 error ^
43 error ../src/torsion/src/ecc.c:2271:1: warning: unused function 'wge_is_square_var' [-Wunused-function]
43 error wge_is_square_var(const wei_t *ec, const wge_t *p) {
43 error ^
43 error ../src/torsion/src/ecc.c:2284:1: warning: unused function 'wge_equal_x' [-Wunused-function]
43 error wge_equal_x(const wei_t *ec, const wge_t *p, const fe_t x) {
43 error ^
43 error ../src/torsion/src/ecc.c:2443:1: warning: unused function 'wge_dbl' [-Wunused-function]
43 error wge_dbl(const wei_t *ec, wge_t *r, const wge_t *p) {
43 error ^
43 error ../src/torsion/src/ecc.c:2580:1: warning: unused function 'jge_cleanse' [-Wunused-function]
43 error jge_cleanse(const wei_t *ec, jge_t *r) {
43 error ^
43 error ../src/torsion/src/ecc.c:2589:1: warning: unused function 'jge_swap' [-Wunused-function]
43 error jge_swap(const wei_t *ec, jge_t *a, jge_t *b, unsigned int flag) {
43 error ^
43 error ../src/torsion/src/ecc.c:2627:1: warning: unused function 'jge_equal' [-Wunused-function]
43 error jge_equal(const wei_t *ec, const jge_t *a, const jge_t *b) {
43 error ^
43 error ../src/torsion/src/ecc.c:2658:1: warning: unused function 'jge_is_square' [-Wunused-function]
43 error jge_is_square(const wei_t *ec, const jge_t *p) {
43 error ^
43 error ../src/torsion/src/ecc.c:2760:1: warning: unused function 'jge_neg_cond' [-Wunused-function]
43 error jge_neg_cond(const wei_t *ec, jge_t *r, const jge_t *a, unsigned int flag) {
43 error ^
43 error ../src/torsion/src/ecc.c:3294:1: warning: unused function 'jge_sub' [-Wunused-function]
43 error jge_sub(const wei_t *ec, jge_t *r, const jge_t *a, const jge_t *b) {
43 error ^
43 error ../src/torsion/src/ecc.c:3442:1: warning: unused function 'jge_mixed_sub' [-Wunused-function]
43 error jge_mixed_sub(const wei_t *ec, jge_t *r, const jge_t *a, const wge_t *b) {
43 error ^
43 error ../src/torsion/src/ecc.c:3508:1: warning: unused function 'jge_validate' [-Wunused-function]
43 error jge_validate(const wei_t *ec, const jge_t *p) {
43 error ^
43 error ../src/torsion/src/ecc.c:4216:1: warning: unused function 'wei_mul_multi_var' [-Wunused-function]
43 error wei_mul_multi_var(const wei_t *ec,
43 error ^
43 error ../src/torsion/src/ecc.c:4729:1: warning: unused function 'mge_zero' [-Wunused-function]
43 error mge_zero(const mont_t *ec, mge_t *r) {
43 error ^
43 error ../src/torsion/src/ecc.c:4765:1: warning: unused function 'mge_validate' [-Wunused-function]
43 error mge_validate(const mont_t *ec, const mge_t *p) {
43 error ^
43 error ../src/torsion/src/ecc.c:4797:1: warning: unused function 'mge_set_xy' [-Wunused-function]
43 error mge_set_xy(const mont_t *ec, mge_t *r, const fe_t x, const fe_t y) {
43 error ^
43 error ../src/torsion/src/ecc.c:4829:1: warning: unused function 'mge_swap' [-Wunused-function]
43 error mge_swap(const mont_t *ec, mge_t *a, mge_t *b, unsigned int flag) {
43 error ^
43 error ../src/torsion/src/ecc.c:4843:1: warning: unused function 'mge_set' [-Wunused-function]
43 error mge_set(const mont_t *ec, mge_t *r, const mge_t *a) {
43 error ^
43 error ../src/torsion/src/ecc.c:4852:1: warning: unused function 'mge_equal' [-Wunused-function]
43 error mge_equal(const mont_t *ec, const mge_t a, const mge_t b) {
43 error ^
43 error ../src/torsion/src/ecc.c:4870:1: warning: unused function 'mge_is_zero' [-Wunused-function]
43 error mge_is_zero(const mont_t ec, const mge_t a) {
43 error ^
43 error ../src/torsion/src/ecc.c:4885:1: warning: unused function 'mge_dbl' [-Wunused-function]
43 error mge_dbl(const mont_t ec, mge_t r, const mge_t p) {
43 error ^
43 error ../src/torsion/src/ecc.c:5100:1: warning: unused function 'pge_validate' [-Wunused-function]
43 error pge_validate(const mont_t ec, const pge_t p) {
43 error ^
43 error ../src/torsion/src/ecc.c:5192:1: warning: unused function 'pge_equal' [-Wunused-function]
43 error pge_equal(const mont_t ec, const pge_t a, const pge_t b) {
43 error ^
43 error ../src/torsion/src/ecc.c:5828:1: warning: unused function 'xge_validate' [-Wunused-function]
43 error xge_validate(const edwards_t ec, const xge_t p) {
43 error ^
43 error ../src/torsion/src/ecc.c:5977:1: warning: unused function 'xge_swap' [-Wunused-function]
43 error xge_swap(const edwards_t ec, xge_t a, xge_t b, unsigned int flag) {
43 error ^
43 error ../src/torsion/src/ecc.c:6050:1: warning: unused function 'xge_neg_cond' [-Wunused-function]
43 error xge_neg_cond(const edwards_t ec, xge_t r, const xge_t a, unsigned int flag) {
43 error ^
43 error 43 warnings generated.
43 error ../src/torsion/src/hash.c:68:1: warning: unused function 'read64be' [-Wunused-function]
43 error read64be(const void src) {
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/torsion/src/rsa.c:29:
43 error In file included from ../src/torsion/src/asn1.h:13:
43 error In file included from ../src/torsion/src/mpz.h:20:
43 error ../src/torsion/src/gmp-compat.h:124:1: warning: unused function 'mpn_tdiv_qr' [-Wunused-function]
43 error mpn_tdiv_qr(mp_limb_t qp,
43 error ^
43 error ../src/torsion/src/gmp-compat.h:154:1: warning: unused function 'mpn_gcdext' [-Wunused-function]
43 error mpn_gcdext(mp_limb_t gp,
43 error ^
43 error In file included from ../src/torsion/src/rsa.c:29:
43 error ../src/torsion/src/asn1.h:94:1: warning: unused function 'asn1_read_int' [-Wunused-function]
43 error asn1_read_int(unsigned char out, size_t out_len,
43 error ^
43 error ../src/torsion/src/asn1.h:270:1: warning: unused function 'asn1_size_int' [-Wunused-function]
43 error asn1_size_int(const unsigned char num, size_t len) {
43 error ^
43 error ../src/torsion/src/asn1.h:332:1: warning: unused function 'asn1_write_int' [-Wunused-function]
43 error asn1_write_int(unsigned char data, size_t pos,
43 error ^
43 error ../src/torsion/src/rsa.c:1024:1: warning: unused function 'rsa_pub_set' [-Wunused-function]
43 error rsa_pub_set(rsa_pub_t r, const rsa_pub_t k) {
43 error ^
43 error 6 warnings generated.
43 error In file included from ../src/aead.cc:1:
43 error In file included from ../src/common.h:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/base58.cc:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/bech32.cc:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/bcrypto.cc:7:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/blake2b.cc:1:
43 error In file included from ../src/common.h:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/blake2s.cc:1:
43 error In file included from ../src/common.h:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/cash32.cc:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/chacha20.cc:1:
43 error In file included from ../src/common.h:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/dsa.cc:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/dsa_async.cc:3:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/ecdh.cc:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/ecdsa.cc:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/eddsa.cc:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/hash.cc:3:
43 error In file included from ../src/common.h:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/hmac.cc:3:
43 error In file included from ../src/common.h:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/keccak.cc:1:
43 error In file included from ../src/common.h:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/murmur3.cc:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/pbkdf2.cc:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/pbkdf2_async.cc:2:
43 error In file included from ../src/common.h:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/poly1305.cc:1:
43 error In file included from ../src/common.h:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/rsa.cc:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/rsa_async.cc:3:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/salsa20.cc:1:
43 error In file included from ../src/common.h:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/schnorr.cc:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/scrypt.cc:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/scrypt_async.cc:2:
43 error In file included from ../src/common.h:4:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/siphash.cc:5:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error In file included from ../src/util.cc:3:
43 error In file included from ../../nan/nan.h:2884:
43 error ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
43 error data = static_cast<char
>(buffer->GetContents().Data()) + byte_offset;
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
43 error V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
43 error ^
43 error /Users/timitejumola/Library/Caches/node-gyp/15.3.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
43 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
43 error ^
43 error 1 warning generated.
43 error ../src/torsion/src/mini-gmp.c:717:3: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
43 error gmp_ctz (cnt, limb);
43 error ^~~~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:112:5: note: expanded from macro 'gmp_ctz'
43 error gmp_clz (__ctz_c, __ctz_x & - __ctz_x);
43 error ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:99:23: note: expanded from macro 'gmp_clz'
43 error if (GMP_LIMB_BITS > LOCAL_SHIFT_BITS)
43 error ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:894:3: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
43 error gmp_clz (shift, d);
43 error ^~~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:99:23: note: expanded from macro 'gmp_clz'
43 error if (GMP_LIMB_BITS > LOCAL_SHIFT_BITS)
43 error ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:907:3: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
43 error gmp_clz (shift, d1);
43 error ^~~~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:99:23: note: expanded from macro 'gmp_clz'
43 error if (GMP_LIMB_BITS > LOCAL_SHIFT_BITS)
43 error ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:937:7: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
43 error gmp_clz (shift, d1);
43 error ^~~~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:99:23: note: expanded from macro 'gmp_clz'
43 error if (GMP_LIMB_BITS > LOCAL_SHIFT_BITS)
43 error ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:1196:3: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
43 error gmp_clz (shift, u);
43 error ^~~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:99:23: note: expanded from macro 'gmp_clz'
43 error if (GMP_LIMB_BITS > LOCAL_SHIFT_BITS)
43 error ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:1738:3: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
43 error gmp_clz (m, l);
43 error ^~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:99:23: note: expanded from macro 'gmp_clz'
43 error if (GMP_LIMB_BITS > LOCAL_SHIFT_BITS)
43 error ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:2635:3: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
43 error gmp_ctz (shift, u | v);
43 error ^~~~~~~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:112:5: note: expanded from macro 'gmp_ctz'
43 error gmp_clz (__ctz_c, __ctz_x & - __ctz_x);
43 error ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:99:23: note: expanded from macro 'gmp_clz'
43 error if (GMP_LIMB_BITS > LOCAL_SHIFT_BITS)
43 error ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:3350:3: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
43 error gmp_ctz(c, a);
43 error ^~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:112:5: note: expanded from macro 'gmp_ctz'
43 error gmp_clz (__ctz_c, __ctz_x & - __ctz_x);
43 error ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:99:23: note: expanded from macro 'gmp_clz'
43 error if (GMP_LIMB_BITS > LOCAL_SHIFT_BITS)
43 error ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:3370:7: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
43 error gmp_ctz(c, a);
43 error ^~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:112:5: note: expanded from macro 'gmp_ctz'
43 error gmp_clz (__ctz_c, __ctz_x & - __ctz_x);
43 error ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:99:23: note: expanded from macro 'gmp_clz'
43 error if (GMP_LIMB_BITS > LOCAL_SHIFT_BITS)
43 error ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
43 error ../src/torsion/src/mini-gmp.c:3992:25: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
43 error if (GMP_LIMB_BITS > LOCAL_SHIFT_BITS)
43 error ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
43 error 10 warnings generated.
43 error In file included from ../src/secp256k1/src/secp256k1.c:12:
43 error In file included from ../src/secp256k1/src/scalar_impl.h:20:
43 error ../src/secp256k1/src/scalar_4x64_impl.h:969:5: error: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Werror,-Wimplicit-function-declaration]
43 error memcpy((void *) seed32, (const void *) seed, 32);
43 error ^
43 error ../src/secp256k1/src/scalar_4x64_impl.h:969:5: note: include the header <string.h> or explicitly provide a declaration for 'memcpy'
43 error 1 error generated.
43 error make: *** [Release/obj.target/bcrypto/src/secp256k1/src/secp256k1.o] Error 1
43 error gyp ERR! build error
43 error gyp ERR! stack Error: make failed with exit code: 2
43 error gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
43 error gyp ERR! stack at ChildProcess.emit (node:events:376:20)
43 error gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:277:12)
43 error gyp ERR! System Darwin 19.6.0
43 error gyp ERR! command "/usr/local/Cellar/node/15.3.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
43 error gyp ERR! cwd /Users/timitejumola/bcoin/node_modules/bcrypto
43 error gyp ERR! node -v v15.3.0
43 error gyp ERR! node-gyp -v v7.1.2
43 error gyp ERR! not ok
44 verbose exit 1

@zebateira
Copy link

@timi-codes were you able to fix this issue? I bumped into it as well.

@timi-codes
Copy link
Author

timi-codes commented Dec 10, 2020

I have not been able to fix it as well. I sent a message to one of the maintainers on the slack channel and he promised to look into the issue @zebateira

@pinheadmz
Copy link
Member

pinheadmz commented Dec 10, 2020

@chjj see bitcoin-core/secp256k1#409 might just need to pull latest secp256k1

@dev-intellisoft
Copy link

+1

@Sebastp
Copy link

Sebastp commented Dec 6, 2022

+1

1 similar comment
@kieranbop1990
Copy link

+1

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

No branches or pull requests

6 participants