Install fails in Node 18.9.1
Opened this issue · 0 comments
kjvarga commented
The module fails to build using Node 18. I had issues compiling under Node 16 and those issues were resolved by using a Debian-based image. Unfortunately that is not working this time. Any ideas would be appreciated. The error is:
#!/bin/bash -eo pipefail
if [ ! -d node_modules ]; then npm ci --progress=false --no-audit --prefer-offline ; fi
npm WARN skipping integrity check for git dependency ssh://git@github.com/change/feature-config-manager-js.git
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
npm WARN deprecated superagent@3.8.3: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>.
npm WARN deprecated debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! code 1
npm ERR! path /home/circleci/**********************/node_modules/@change/psst/node_modules/paseto.js
npm ERR! command failed
npm ERR! command sh -c -- node-gyp rebuild
npm ERR! make: Entering directory '/home/circleci/**********************/node_modules/@change/psst/node_modules/paseto.js/build'
npm ERR! CXX(target) Release/obj.target/extcrypto_addon/extcrypto/extcrypto.o
npm ERR! make: Leaving directory '/home/circleci/**********************/node_modules/@change/psst/node_modules/paseto.js/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.1.0
npm ERR! gyp info using node@18.9.1 | linux | x64
npm ERR! gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3"
npm ERR! gyp http GET https://nodejs.org/download/release/v18.9.1/node-v18.9.1-headers.tar.gz
npm ERR! gyp http 200 https://nodejs.org/download/release/v18.9.1/node-v18.9.1-headers.tar.gz
npm ERR! gyp http GET https://nodejs.org/download/release/v18.9.1/SHASUMS256.txt
npm ERR! gyp http 200 https://nodejs.org/download/release/v18.9.1/SHASUMS256.txt
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/usr/local/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 '/home/circleci/**********************/node_modules/@change/psst/node_modules/paseto.js/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/circleci/.cache/node-gyp/18.9.1/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=/home/circleci/.cache/node-gyp/18.9.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/home/circleci/.cache/node-gyp/18.9.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/circleci/**********************/node_modules/@change/psst/node_modules/paseto.js',
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! In file included from /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/objects.h:19,
npm ERR! from /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/evp.h:43,
npm ERR! from /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:22,
npm ERR! from ../extcrypto/extcrypto.cc:7:
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/obj_mac.h:3624:2: error: invalid preprocessing directive #def; did you mean #ifdef?
npm ERR! 3624 | #define SN_setct_CapTokenData "setct-CapTokenData"
npm ERR! | ^~~
npm ERR! | ifdef
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/obj_mac.h:12: error: unterminated #ifndef
npm ERR! 12 | #ifndef OPENSSL_OBJ_MAC_H
npm ERR! |
npm ERR! ../extcrypto/extcrypto.cc: In function ‘void extcrypto::keygen(const v8::FunctionCallbackInfo<v8::Value>&)’:
npm ERR! ../extcrypto/extcrypto.cc:53:26: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 53 | RSA* rsa = RSA_new();
npm ERR! | ^
npm ERR! In file included from ../extcrypto/extcrypto.cc:6:
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/rsa.h:201:28: note: declared here
npm ERR! 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
npm ERR! | ^~~~~~~
npm ERR! ../extcrypto/extcrypto.cc:53:26: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 53 | RSA* rsa = RSA_new();
npm ERR! | ^
npm ERR! In file included from ../extcrypto/extcrypto.cc:6:
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/rsa.h:201:28: note: declared here
npm ERR! 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
npm ERR! | ^~~~~~~
npm ERR! ../extcrypto/extcrypto.cc:54:58: warning: ‘int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 54 | int64_t kg = RSA_generate_key_ex(rsa, 2048, exp, NULL);
npm ERR! | ^
npm ERR! In file included from ../extcrypto/extcrypto.cc:6:
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/rsa.h:260:27: note: declared here
npm ERR! 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../extcrypto/extcrypto.cc:54:58: warning: ‘int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 54 | int64_t kg = RSA_generate_key_ex(rsa, 2048, exp, NULL);
npm ERR! | ^
npm ERR! In file included from ../extcrypto/extcrypto.cc:6:
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/rsa.h:260:27: note: declared here
npm ERR! 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../extcrypto/extcrypto.cc:68:68: warning: ‘int PEM_write_bio_RSAPrivateKey(BIO*, const RSA*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 68 | PEM_write_bio_RSAPrivateKey(bio, rsa, NULL, NULL, 0, NULL, NULL);
npm ERR! | ^
npm ERR! In file included from ../extcrypto/extcrypto.cc:7:
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:81:9: note: declared here
npm ERR! 81 | int PEM_##writename##_##name(OUTTYPE *out, const type *x, \
npm ERR! | ^~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:295:10: note: in expansion of macro ‘PEM_write_cb_fnsig’
npm ERR! 295 | attr PEM_write_cb_fnsig(name, type, BIO, write_bio);
npm ERR! | ^~~~~~~~~~~~~~~~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:322:5: note: in expansion of macro ‘DECLARE_PEM_write_cb_bio_attr’
npm ERR! 322 | DECLARE_PEM_write_cb_bio_attr(attr, name, type) \
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:360:5: note: in expansion of macro ‘DECLARE_PEM_write_cb_attr’
npm ERR! 360 | DECLARE_PEM_write_cb_attr(attr, name, type)
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:447:1: note: in expansion of macro ‘DECLARE_PEM_rw_cb_attr’
npm ERR! 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../extcrypto/extcrypto.cc:68:68: warning: ‘int PEM_write_bio_RSAPrivateKey(BIO*, const RSA*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 68 | PEM_write_bio_RSAPrivateKey(bio, rsa, NULL, NULL, 0, NULL, NULL);
npm ERR! | ^
npm ERR! In file included from ../extcrypto/extcrypto.cc:7:
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:81:9: note: declared here
npm ERR! 81 | int PEM_##writename##_##name(OUTTYPE *out, const type *x, \
npm ERR! | ^~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:295:10: note: in expansion of macro ‘PEM_write_cb_fnsig’
npm ERR! 295 | attr PEM_write_cb_fnsig(name, type, BIO, write_bio);
npm ERR! | ^~~~~~~~~~~~~~~~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:322:5: note: in expansion of macro ‘DECLARE_PEM_write_cb_bio_attr’
npm ERR! 322 | DECLARE_PEM_write_cb_bio_attr(attr, name, type) \
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:360:5: note: in expansion of macro ‘DECLARE_PEM_write_cb_attr’
npm ERR! 360 | DECLARE_PEM_write_cb_attr(attr, name, type)
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:447:1: note: in expansion of macro ‘DECLARE_PEM_rw_cb_attr’
npm ERR! 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../extcrypto/extcrypto.cc:88:17: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 88 | RSA_free(rsa);
npm ERR! | ^
npm ERR! In file included from ../extcrypto/extcrypto.cc:6:
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/rsa.h:293:28: note: declared here
npm ERR! 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
npm ERR! | ^~~~~~~~
npm ERR! ../extcrypto/extcrypto.cc:88:17: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 88 | RSA_free(rsa);
npm ERR! | ^
npm ERR! In file included from ../extcrypto/extcrypto.cc:6:
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/rsa.h:293:28: note: declared here
npm ERR! 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
npm ERR! | ^~~~~~~~
npm ERR! ../extcrypto/extcrypto.cc: In function ‘void extcrypto::extract(const v8::FunctionCallbackInfo<v8::Value>&)’:
npm ERR! ../extcrypto/extcrypto.cc:120:24: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 120 | RSA* rsa = RSA_new();
npm ERR! | ^
npm ERR! In file included from ../extcrypto/extcrypto.cc:6:
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/rsa.h:201:28: note: declared here
npm ERR! 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
npm ERR! | ^~~~~~~
npm ERR! ../extcrypto/extcrypto.cc:120:24: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 120 | RSA* rsa = RSA_new();
npm ERR! | ^
npm ERR! In file included from ../extcrypto/extcrypto.cc:6:
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/rsa.h:201:28: note: declared here
npm ERR! 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
npm ERR! | ^~~~~~~
npm ERR! ../extcrypto/extcrypto.cc:123:53: warning: ‘RSA* PEM_read_bio_RSAPrivateKey(BIO*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 123 | PEM_read_bio_RSAPrivateKey(bio, &rsa, NULL, NULL);
npm ERR! | ^
npm ERR! In file included from ../extcrypto/extcrypto.cc:7:
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:70:11: note: declared here
npm ERR! 70 | type *PEM_##readname##_##name(INTYPE *out, type **x, \
npm ERR! | ^~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:268:10: note: in expansion of macro ‘PEM_read_cb_fnsig’
npm ERR! 268 | attr PEM_read_cb_fnsig(name, type, BIO, read_bio);
npm ERR! | ^~~~~~~~~~~~~~~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:332:5: note: in expansion of macro ‘DECLARE_PEM_read_bio_attr’
npm ERR! 332 | DECLARE_PEM_read_bio_attr(attr, name, type) \
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:359:5: note: in expansion of macro ‘DECLARE_PEM_read_attr’
npm ERR! 359 | DECLARE_PEM_read_attr(attr, name, type) \
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:447:1: note: in expansion of macro ‘DECLARE_PEM_rw_cb_attr’
npm ERR! 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../extcrypto/extcrypto.cc:123:53: warning: ‘RSA* PEM_read_bio_RSAPrivateKey(BIO*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 123 | PEM_read_bio_RSAPrivateKey(bio, &rsa, NULL, NULL);
npm ERR! | ^
npm ERR! In file included from ../extcrypto/extcrypto.cc:7:
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:70:11: note: declared here
npm ERR! 70 | type *PEM_##readname##_##name(INTYPE *out, type **x, \
npm ERR! | ^~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:268:10: note: in expansion of macro ‘PEM_read_cb_fnsig’
npm ERR! 268 | attr PEM_read_cb_fnsig(name, type, BIO, read_bio);
npm ERR! | ^~~~~~~~~~~~~~~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:332:5: note: in expansion of macro ‘DECLARE_PEM_read_bio_attr’
npm ERR! 332 | DECLARE_PEM_read_bio_attr(attr, name, type) \
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:359:5: note: in expansion of macro ‘DECLARE_PEM_read_attr’
npm ERR! 359 | DECLARE_PEM_read_attr(attr, name, type) \
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:447:1: note: in expansion of macro ‘DECLARE_PEM_rw_cb_attr’
npm ERR! 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../extcrypto/extcrypto.cc:124:40: warning: ‘int PEM_write_bio_RSAPublicKey(BIO*, const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 124 | PEM_write_bio_RSAPublicKey(bio, rsa);
npm ERR! | ^
npm ERR! In file included from ../extcrypto/extcrypto.cc:7:
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:79:9: note: declared here
npm ERR! 79 | int PEM_##writename##_##name(OUTTYPE *out, const type *x)
npm ERR! | ^~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:278:10: note: in expansion of macro ‘PEM_write_fnsig’
npm ERR! 278 | attr PEM_write_fnsig(name, type, BIO, write_bio);
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:305:5: note: in expansion of macro ‘DECLARE_PEM_write_bio_attr’
npm ERR! 305 | DECLARE_PEM_write_bio_attr(attr, name, type) \
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:343:5: note: in expansion of macro ‘DECLARE_PEM_write_attr’
npm ERR! 343 | DECLARE_PEM_write_attr(attr, name, type)
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:448:1: note: in expansion of macro ‘DECLARE_PEM_rw_attr’
npm ERR! 448 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA)
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../extcrypto/extcrypto.cc:124:40: warning: ‘int PEM_write_bio_RSAPublicKey(BIO*, const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 124 | PEM_write_bio_RSAPublicKey(bio, rsa);
npm ERR! | ^
npm ERR! In file included from ../extcrypto/extcrypto.cc:7:
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:79:9: note: declared here
npm ERR! 79 | int PEM_##writename##_##name(OUTTYPE *out, const type *x)
npm ERR! | ^~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:278:10: note: in expansion of macro ‘PEM_write_fnsig’
npm ERR! 278 | attr PEM_write_fnsig(name, type, BIO, write_bio);
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:305:5: note: in expansion of macro ‘DECLARE_PEM_write_bio_attr’
npm ERR! 305 | DECLARE_PEM_write_bio_attr(attr, name, type) \
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:343:5: note: in expansion of macro ‘DECLARE_PEM_write_attr’
npm ERR! 343 | DECLARE_PEM_write_attr(attr, name, type)
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/pem.h:448:1: note: in expansion of macro ‘DECLARE_PEM_rw_attr’
npm ERR! 448 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA)
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../extcrypto/extcrypto.cc:144:17: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 144 | RSA_free(rsa);
npm ERR! | ^
npm ERR! In file included from ../extcrypto/extcrypto.cc:6:
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/rsa.h:293:28: note: declared here
npm ERR! 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
npm ERR! | ^~~~~~~~
npm ERR! ../extcrypto/extcrypto.cc:144:17: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 144 | RSA_free(rsa);
npm ERR! | ^
npm ERR! In file included from ../extcrypto/extcrypto.cc:6:
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/openssl/rsa.h:293:28: note: declared here
npm ERR! 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
npm ERR! | ^~~~~~~~
npm ERR! In file included from ../extcrypto/extcrypto.cc:2:
npm ERR! ../extcrypto/extcrypto.cc: At global scope:
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/node.h:890:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
npm ERR! 890 | (node::addon_register_func) (regfunc), \
npm ERR! | ^
npm ERR! /home/circleci/.cache/node-gyp/18.9.1/include/node/node.h:924:3: note: in expansion of macro ‘NODE_MODULE_X’
npm ERR! 924 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../extcrypto/extcrypto.cc:166:3: note: in expansion of macro ‘NODE_MODULE’
npm ERR! 166 | NODE_MODULE(NODE_GYP_MODULE_NAME, init)
npm ERR! | ^~~~~~~~~~~
npm ERR! make: *** [extcrypto_addon.target.mk:113: Release/obj.target/extcrypto_addon/extcrypto/extcrypto.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 (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:201:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Linux 5.13.0-1023-aws
npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /home/circleci/**********************/node_modules/@change/psst/node_modules/paseto.js
npm ERR! gyp ERR! node -v v18.9.1
npm ERR! gyp ERR! node-gyp -v v9.1.0
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! /home/circleci/.npm/_logs/2022-10-07T22_49_03_120Z-debug-0.log
Exited with code exit status 1
CircleCI received exit code 1