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

Difficulties to install on debian buster / node 12 #61

Open
arthurlutz opened this issue Nov 25, 2020 · 1 comment
Open

Difficulties to install on debian buster / node 12 #61

arthurlutz opened this issue Nov 25, 2020 · 1 comment

Comments

@arthurlutz
Copy link

I am getting some errors while trying to install on buster node12 :

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.

which leads me to LinusU/node-generate-rsa-keypair#5 & the associated merge request : LinusU/node-generate-rsa-keypair#6

Fixed it with :

npm install LinusU/node-generate-rsa-keypair

(which gets version 0.2.1)

@single-right-quote
Copy link

on debian bullseye, running node 16, i get the following complation error at the same stage, which is not fixed by npm install LinusU/node-generate-rsa-keypair:

rss2ap@[hostname]:~/rss-to-activitypub$ npm i
npm WARN deprecated [email protected]: Please use image-size
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: 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 [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
npm WARN deprecated [email protected]: core-js@<3.23.3 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. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! code 1
npm ERR! path /home/rss2ap/rss-to-activitypub/node_modules/generate-rsa-keypair
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! make: Entering directory '/home/rss2ap/rss-to-activitypub/node_modules/generate-rsa-keypair/build'
npm ERR!   CXX(target) Release/obj.target/generate-rsa-keypair/binding.o
npm ERR! make: Leaving directory '/home/rss2ap/rss-to-activitypub/node_modules/generate-rsa-keypair/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/usr/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/rss2ap/rss-to-activitypub/node_modules/generate-rsa-keypair/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/rss2ap/.cache/node-gyp/16.18.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/rss2ap/.cache/node-gyp/16.18.1',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/rss2ap/.cache/node-gyp/16.18.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/rss2ap/rss-to-activitypub/node_modules/generate-rsa-keypair',
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! ../binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE generate_rsa_keypair(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../binding.cc:23:52: warning: ‘RSA* RSA_generate_key(int, long unsigned int, void (*)(int, int, void*), void*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!    23 |   rsa = RSA_generate_key(bits, exponent, NULL, NULL);
npm ERR!       |                                                    ^
npm ERR! In file included from /home/rss2ap/.cache/node-gyp/16.18.1/include/node/openssl/./opensslconf_asm.h:97,
npm ERR!                  from /home/rss2ap/.cache/node-gyp/16.18.1/include/node/openssl/opensslconf.h:9,
npm ERR!                  from /home/rss2ap/.cache/node-gyp/16.18.1/include/node/openssl/rsa.h:13,
npm ERR!                  from ../binding.cc:4:
npm ERR! /home/rss2ap/.cache/node-gyp/16.18.1/include/node/openssl/rsa.h:235:25: note: declared here
npm ERR!   235 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
npm ERR!       |                         ^~~~~~~~~~~~~~~~
npm ERR! /home/rss2ap/.cache/node-gyp/16.18.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/opensslconf.h:118:37: note: in definition of macro ‘DECLARE_DEPRECATED’
npm ERR!   118 | #   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
npm ERR!       |                                     ^
npm ERR! /home/rss2ap/.cache/node-gyp/16.18.1/include/node/openssl/rsa.h:235:1: note: in expansion of macro ‘DEPRECATEDIN_0_9_8’
npm ERR!   235 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
npm ERR!       | ^~~~~~~~~~~~~~~~~~
npm ERR! ../binding.cc:45:110: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::String>)’
npm ERR!    45 |   result->Set(Nan::New<String>("private").ToLocalChecked(), Nan::New<String>(raw, rawLength).ToLocalChecked());
npm ERR!       |
      ^
npm ERR! In file included from /home/rss2ap/.cache/node-gyp/16.18.1/include/node/node.h:73,
npm ERR!                  from ../binding.cc:1:
npm ERR! /home/rss2ap/.cache/node-gyp/16.18.1/include/node/v8.h:3961:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
npm ERR!  3961 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
npm ERR!       |                                     ^~~
npm ERR! /home/rss2ap/.cache/node-gyp/16.18.1/include/node/v8.h:3961:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! /home/rss2ap/.cache/node-gyp/16.18.1/include/node/v8.h:3964:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
npm ERR!  3964 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
npm ERR!       |                                     ^~~
npm ERR! /home/rss2ap/.cache/node-gyp/16.18.1/include/node/v8.h:3964:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! ../binding.cc:64:109: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::String>)’
npm ERR!    64 |   result->Set(Nan::New<String>("public").ToLocalChecked(), Nan::New<String>(raw, rawLength).ToLocalChecked());
npm ERR!       |
     ^
npm ERR! In file included from /home/rss2ap/.cache/node-gyp/16.18.1/include/node/node.h:73,
npm ERR!                  from ../binding.cc:1:
npm ERR! /home/rss2ap/.cache/node-gyp/16.18.1/include/node/v8.h:3961:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
npm ERR!  3961 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
npm ERR!       |                                     ^~~
npm ERR! /home/rss2ap/.cache/node-gyp/16.18.1/include/node/v8.h:3961:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! /home/rss2ap/.cache/node-gyp/16.18.1/include/node/v8.h:3964:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
npm ERR!  3964 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
npm ERR!       |                                     ^~~
npm ERR! /home/rss2ap/.cache/node-gyp/16.18.1/include/node/v8.h:3964:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! ../binding.cc: At global scope:
npm ERR! ../binding.cc:71:6: error: variable or field ‘Initialize’ declared void
npm ERR!    71 | void Initialize(v8::Handle<v8::Object> exports) {
npm ERR!       |      ^~~~~~~~~~
npm ERR! ../binding.cc:71:21: error: ‘Handle’ is not a member of ‘v8’; did you mean ‘JobHandle’?
npm ERR!    71 | void Initialize(v8::Handle<v8::Object> exports) {
npm ERR!       |                     ^~~~~~
npm ERR!       |                     JobHandle
npm ERR! ../binding.cc:71:38: error: expected primary-expression before ‘>’ token
npm ERR!    71 | void Initialize(v8::Handle<v8::Object> exports) {
npm ERR!       |                                      ^
npm ERR! ../binding.cc:71:40: error: ‘exports’ was not declared in this scope
npm ERR!    71 | void Initialize(v8::Handle<v8::Object> exports) {
npm ERR!       |                                        ^~~~~~~
npm ERR! In file included from ../binding.cc:1:
npm ERR! ../binding.cc:75:35: error: ‘Initialize’ was not declared in this scope
npm ERR!    75 | NODE_MODULE(generate_rsa_keypair, Initialize)
npm ERR!       |                                   ^~~~~~~~~~
npm ERR! /home/rss2ap/.cache/node-gyp/16.18.1/include/node/node.h:887:36: note: in definition of macro ‘NODE_MODULE_X’
npm ERR!   887 |       (node::addon_register_func) (regfunc),                          \
npm ERR!       |                                    ^~~~~~~
npm ERR! ../binding.cc:75:1: note: in expansion of macro ‘NODE_MODULE’
npm ERR!    75 | NODE_MODULE(generate_rsa_keypair, Initialize)
npm ERR!       | ^~~~~~~~~~~
npm ERR! make: *** [generate-rsa-keypair.target.mk:113: Release/obj.target/generate-rsa-keypair/binding.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/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Linux 5.10.0-19-cloud-amd64
npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /home/rss2ap/rss-to-activitypub/node_modules/generate-rsa-keypair
npm ERR! gyp ERR! node -v v16.18.1
npm ERR! gyp ERR! node-gyp -v v9.3.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/rss2ap/.npm/_logs/2022-11-11T23_34_09_149Z-debug-0.log

trying npm install LinusU/node-generate-rsa-keypair gets

rss2ap@[hostname]:~/rss-to-activitypub$ npm install LinusU/node-generate-rsa-keypair
npm WARN deprecated [email protected]: Please use image-size
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: 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 [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
npm WARN deprecated [email protected]: core-js@<3.23.3 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. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! code 1
npm ERR! path /home/rss2ap/rss-to-activitypub/node_modules/better-sqlite3
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! make: Entering directory '/home/rss2ap/rss-to-activitypub/node_modules/better-sqlite3/build'
npm ERR!   TOUCH b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
npm ERR!   ACTION deps_sqlite3_gyp_locate_sqlite3_target_extract_sqlite3 b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
npm ERR!   TOUCH Release/obj.target/deps/locate_sqlite3.stamp
npm ERR!   CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
npm ERR! rm -f Release/obj.target/deps/sqlite3.a Release/obj.target/deps/sqlite3.a.ar-file-list; mkdir -p `dirname Release/obj.target/deps/sqlite3.a`
npm ERR! ar crs Release/obj.target/deps/sqlite3.a @Release/obj.target/deps/sqlite3.a.ar-file-list
npm ERR!   COPY Release/sqlite3.a
npm ERR!   CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
npm ERR! rm b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
npm ERR! make: Leaving directory '/home/rss2ap/rss-to-activitypub/node_modules/better-sqlite3/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/usr/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/rss2ap/rss-to-activitypub/node_modules/better-sqlite3/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/rss2ap/.cache/node-gyp/16.18.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/rss2ap/.cache/node-gyp/16.18.1',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/rss2ap/.cache/node-gyp/16.18.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/rss2ap/rss-to-activitypub/node_modules/better-sqlite3',
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! Release/obj/gen/sqlite3/sqlite3.c: In function ‘strftimeFunc’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:14182:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
npm ERR! 14182 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
npm ERR!       |                           ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:22122:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
npm ERR! 22122 |                       z==zBuf ? SQLITE_TRANSIENT : SQLITE_DYNAMIC);
npm ERR!       |                                                    ^~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3ErrorWithMsg’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:14182:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
npm ERR! 14182 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
npm ERR!       |                           ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:30441:54: note: in expansion of macro ‘SQLITE_DYNAMIC’
npm ERR! 30441 |     sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC);
npm ERR!       |                                                      ^~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3VdbeMemSetStr’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:14182:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
npm ERR! 14182 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
npm ERR!       |                           ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:75617:15: note: in expansion of macro ‘SQLITE_DYNAMIC’
npm ERR! 75617 |     if( xDel==SQLITE_DYNAMIC ){
npm ERR!       |               ^~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘valueFromExpr’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:14182:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
npm ERR! 14182 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
npm ERR!       |                           ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:76023:55: note: in expansion of macro ‘SQLITE_DYNAMIC’
npm ERR! 76023 |       sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
npm ERR!       |                                                       ^~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:14182:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
npm ERR! 14182 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
npm ERR!       |                           ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:76071:29: note: in expansion of macro ‘SQLITE_DYNAMIC’
npm ERR! 76071 |                          0, SQLITE_DYNAMIC);
npm ERR!       |                             ^~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘printfFunc’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:14182:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
npm ERR! 14182 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
npm ERR!       |                           ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:113771:25: note: in expansion of macro ‘SQLITE_DYNAMIC’
npm ERR! 113771 |                         SQLITE_DYNAMIC);
npm ERR!        |                         ^~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘generateColumnNames’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:14182:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
npm ERR! 14182 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
npm ERR!       |                           ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:127036:58: note: in expansion of macro ‘SQLITE_DYNAMIC’
npm ERR! 127036 |         sqlite3VdbeSetColName(v, i, COLNAME_NAME, zName, SQLITE_DYNAMIC);
npm ERR!        |                                                          ^~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:14182:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
npm ERR! 14182 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
npm ERR!       |                           ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:127043:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
npm ERR! 127043 |       sqlite3VdbeSetColName(v, i, COLNAME_NAME, z, SQLITE_DYNAMIC);
npm ERR!        |                                                    ^~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3InvokeBusyHandler’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:156790:12: warning: cast between incompatible function types from ‘int (*)(void *, int)’ to ‘int (*)(void *, int,  sqlite3_file *)’ [-Wcast-function-type]
npm ERR! 156790 |     xTra = (int(*)(void*,int,sqlite3_file*))p->xBusyHandler;
npm ERR!        |            ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3_busy_timeout’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:156868:30: warning: cast between incompatible function types from ‘int (*)(void *, int,  sqlite3_file *)’ to ‘int (*)(void *, int)’ [-Wcast-function-type]
npm ERR! 156868 |     sqlite3_busy_handler(db, (int(*)(void*,int))sqliteDefaultBusyCallback,
npm ERR!        |                              ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3_db_status’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:20945:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 20945 |       op = SQLITE_DBSTATUS_CACHE_WRITE+1;
npm ERR!       |       ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:20947:5: note: here
npm ERR! 20947 |     case SQLITE_DBSTATUS_CACHE_HIT:
npm ERR!       |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3_str_vappendf’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:27701:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 27701 |         flag_long = sizeof(char*)==sizeof(i64) ? 2 :
npm ERR!       |         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! 27702 |                      sizeof(char*)==sizeof(long int) ? 1 : 0;
npm ERR!       |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:27704:7: note: here
npm ERR! 27704 |       case etORDINAL:
npm ERR!       |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:27706:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 27706 |         cThousand = 0;
npm ERR!       |         ~~~~~~~~~~^~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:27708:7: note: here
npm ERR! 27708 |       case etDECIMAL:
npm ERR!       |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3GetToken’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:154367:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 154367 |       if( !sqlite3Isdigit(z[1]) )
npm ERR!        |         ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:154376:5: note: here
npm ERR! 154376 |     case CC_DIGIT: {
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:154466:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 154466 |       if( z[1]=='\'' ){
npm ERR!        |         ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:154480:5: note: here
npm ERR! 154480 |     case CC_ID: {
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3ExprCodeTarget’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:100682:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 100682 |     case TK_AGG_COLUMN: {
npm ERR!        |                         ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:100695:5: note: here
npm ERR! 100695 |     case TK_COLUMN: {
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘resolveP2Values’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:77185:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 77185 |           if( pOp->p2!=0 ) p->readOnly = 0;
npm ERR!       |             ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:77188:9: note: here
npm ERR! 77188 |         case OP_AutoCommit:
npm ERR!       |         ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:77226:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 77226 |         case OP_VFilter: {
npm ERR!       |                          ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:77235:9: note: here
npm ERR! 77235 |         default: {
npm ERR!       |         ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘resolveExprStep’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:96366:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 96366 |     case TK_ISNOT: {
npm ERR!       |                    ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:96382:5: note: here
npm ERR! 96382 |     case TK_BETWEEN:
npm ERR!       |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘impliesNotNullRow’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:102309:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 102308 |       if( (pExpr->pLeft->op==TK_COLUMN && IsVirtual(pExpr->pLeft->y.pTab))
npm ERR!        |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! 102309 |        || (pExpr->pRight->op==TK_COLUMN && IsVirtual(pExpr->pRight->y.pTab))
npm ERR!        |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:102313:5: note: here
npm ERR! 102313 |     default:
npm ERR!        |     ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘exprImpliesNotNull’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:102188:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 102188 |       if( exprImpliesNotNull(pParse, p->pRight, pNN, iTab, seenNot) ) return 1;
npm ERR!        |         ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:102191:5: note: here
npm ERR! 102191 |     case TK_SPAN:
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘fkActionTrigger’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:116863:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 116863 |         if( !pChanges ){
npm ERR!        |           ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:116867:7: note: here
npm ERR! 116867 |       default:
npm ERR!        |       ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3GenerateConstraintChecks’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:118331:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 118331 |         onError = OE_Abort;
npm ERR!        |                 ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:118335:7: note: here
npm ERR! 118335 |       case OE_Abort:
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:118493:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 118493 |         onError = OE_Abort;
npm ERR!        |                 ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:118496:7: note: here
npm ERR! 118496 |       case OE_Rollback:
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:118556:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 118556 |         sqlite3UpsertDoUpdate(pParse, pUpsert, pTab, 0, iDataCur);
npm ERR!        |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:118560:7: note: here
npm ERR! 118560 |       case OE_Ignore: {
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:118772:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 118772 |         sqlite3UpsertDoUpdate(pParse, pUpsert, pTab, pIdx, iIdxCur+ix);
npm ERR!        |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:118776:7: note: here
npm ERR! 118776 |       case OE_Ignore: {
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3VdbeExec’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:84796:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 84796 |   if( (pIn3->flags & MEM_Null)==0 ) break;
npm ERR!       |     ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:84830:1: note: here
npm ERR! 84830 | case OP_Halt: {
npm ERR!       | ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:84963:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 84963 |   if( pOp->p1>db->aLimit[SQLITE_LIMIT_LENGTH] ){
npm ERR!       |     ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:84982:1: note: here
npm ERR! 84982 | case OP_String: {          /* out2 */
npm ERR!       | ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:88088:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 88088 | case OP_IfNoHope: {     /* jump, in3 */
npm ERR!       |                   ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:88096:1: note: here
npm ERR! 88096 | case OP_NoConflict:     /* jump, in3 */
npm ERR!       | ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:89014:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 89014 |   p->aCounter[SQLITE_STMTSTATUS_SORT]++;
npm ERR!       |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:89029:1: note: here
npm ERR! 89029 | case OP_Rewind: {        /* jump */
npm ERR!       | ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:90325:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 90325 |   pOp->opcode = OP_AggStep1;
npm ERR!       |               ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:90328:1: note: here
npm ERR! 90328 | case OP_AggStep1: {
npm ERR!       | ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:91197:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 91197 |   pOp->opcode += 2;
npm ERR!       |   ~~~~~~~~~~~~^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:91200:1: note: here
npm ERR! 91200 | case OP_PureFunc:              /* group */
npm ERR!       | ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘fts3SnippetFunc’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:164529:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 164529 |     case 6: nToken = sqlite3_value_int(apVal[5]);
npm ERR!        |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:164530:5: note: here
npm ERR! 164530 |     case 5: iCol = sqlite3_value_int(apVal[4]);
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:164530:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 164530 |     case 5: iCol = sqlite3_value_int(apVal[4]);
npm ERR!        |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:164531:5: note: here
npm ERR! 164531 |     case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:164531:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 164531 |     case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
npm ERR!        |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:164532:5: note: here
npm ERR! 164532 |     case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:164532:33: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 164532 |     case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
npm ERR!        |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:164533:5: note: here
npm ERR! 164533 |     case 2: zStart = (const char*)sqlite3_value_text(apVal[1]);
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘fts3ColumnMethod’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:164286:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 164286 |         iCol = p->nColumn;
npm ERR!        |         ~~~~~^~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:164290:5: note: here
npm ERR! 164290 |     default:
npm ERR!        |     ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘cellArea’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183792:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 183792 |       case 5:  area  = p->aCoord[9].f - p->aCoord[8].f;
npm ERR!        |                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183793:7: note: here
npm ERR! 183793 |       case 4:  area *= p->aCoord[7].f - p->aCoord[6].f;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183793:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 183793 |       case 4:  area *= p->aCoord[7].f - p->aCoord[6].f;
npm ERR!        |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183794:7: note: here
npm ERR! 183794 |       case 3:  area *= p->aCoord[5].f - p->aCoord[4].f;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183794:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 183794 |       case 3:  area *= p->aCoord[5].f - p->aCoord[4].f;
npm ERR!        |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183795:7: note: here
npm ERR! 183795 |       case 2:  area *= p->aCoord[3].f - p->aCoord[2].f;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183795:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 183795 |       case 2:  area *= p->aCoord[3].f - p->aCoord[2].f;
npm ERR!        |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183796:7: note: here
npm ERR! 183796 |       default: area *= p->aCoord[1].f - p->aCoord[0].f;
npm ERR!        |       ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183802:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 183802 |       case 5:  area  = (i64)p->aCoord[9].i - (i64)p->aCoord[8].i;
npm ERR!        |                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183803:7: note: here
npm ERR! 183803 |       case 4:  area *= (i64)p->aCoord[7].i - (i64)p->aCoord[6].i;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183803:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 183803 |       case 4:  area *= (i64)p->aCoord[7].i - (i64)p->aCoord[6].i;
npm ERR!        |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183804:7: note: here
npm ERR! 183804 |       case 3:  area *= (i64)p->aCoord[5].i - (i64)p->aCoord[4].i;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183804:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 183804 |       case 3:  area *= (i64)p->aCoord[5].i - (i64)p->aCoord[4].i;
npm ERR!        |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183805:7: note: here
npm ERR! 183805 |       case 2:  area *= (i64)p->aCoord[3].i - (i64)p->aCoord[2].i;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183805:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 183805 |       case 2:  area *= (i64)p->aCoord[3].i - (i64)p->aCoord[2].i;
npm ERR!        |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183806:7: note: here
npm ERR! 183806 |       default: area *= (i64)p->aCoord[1].i - (i64)p->aCoord[0].i;
npm ERR!        |       ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘rtreeCallbackConstraint’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182974:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 182974 |                 readCoord(pCellData+32, &c); aCoord[8] = c.f;
npm ERR!        |                                              ~~~~~~~~~~^~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182975:7: note: here
npm ERR! 182975 |       case 8:   readCoord(pCellData+28, &c); aCoord[7] = c.f;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182976:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 182976 |                 readCoord(pCellData+24, &c); aCoord[6] = c.f;
npm ERR!        |                                              ~~~~~~~~~~^~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182977:7: note: here
npm ERR! 182977 |       case 6:   readCoord(pCellData+20, &c); aCoord[5] = c.f;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182978:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 182978 |                 readCoord(pCellData+16, &c); aCoord[4] = c.f;
npm ERR!        |                                              ~~~~~~~~~~^~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182979:7: note: here
npm ERR! 182979 |       case 4:   readCoord(pCellData+12, &c); aCoord[3] = c.f;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182980:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 182980 |                 readCoord(pCellData+8,  &c); aCoord[2] = c.f;
npm ERR!        |                                              ~~~~~~~~~~^~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182981:7: note: here
npm ERR! 182981 |       default:  readCoord(pCellData+4,  &c); aCoord[1] = c.f;
npm ERR!        |       ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182989:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 182989 |                 readCoord(pCellData+32, &c); aCoord[8] = c.i;
npm ERR!        |                                              ~~~~~~~~~~^~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182990:7: note: here
npm ERR! 182990 |       case 8:   readCoord(pCellData+28, &c); aCoord[7] = c.i;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182991:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 182991 |                 readCoord(pCellData+24, &c); aCoord[6] = c.i;
npm ERR!        |                                              ~~~~~~~~~~^~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182992:7: note: here
npm ERR! 182992 |       case 6:   readCoord(pCellData+20, &c); aCoord[5] = c.i;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182993:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 182993 |                 readCoord(pCellData+16, &c); aCoord[4] = c.i;
npm ERR!        |                                              ~~~~~~~~~~^~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182994:7: note: here
npm ERR! 182994 |       case 4:   readCoord(pCellData+12, &c); aCoord[3] = c.i;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182995:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 182995 |                 readCoord(pCellData+8,  &c); aCoord[2] = c.i;
npm ERR!        |                                              ~~~~~~~~~~^~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182996:7: note: here
npm ERR! 182996 |       default:  readCoord(pCellData+4,  &c); aCoord[1] = c.i;
npm ERR!        |       ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘rtreeNonleafConstraint’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183048:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 183048 |       if( p->op!=RTREE_EQ ) break;  /* RTREE_LE and RTREE_LT end here */
npm ERR!        |         ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183051:5: note: here
npm ERR! 183051 |     default: /* RTREE_GT or RTREE_GE,  or fallthrough of RTREE_EQ */
npm ERR!        |     ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘jsonRenderNode’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:179708:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 179708 |       if( pNode->jnFlags & JNODE_RAW ){
npm ERR!        |         ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:179714:5: note: here
npm ERR! 179714 |     case JSON_REAL:
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘jsonReturn’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:179822:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 179822 |       int_as_real: /* fall through to real */;
npm ERR!        |       ^~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:179824:5: note: here
npm ERR! 179824 |     case JSON_REAL: {
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘jsonEachColumn’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:181466:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 181466 |       if( p->bRecursive ){
npm ERR!        |         ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:181476:5: note: here
npm ERR! 181476 |     default: {
npm ERR!        |     ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3SelectNew’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:125321:10: warning: function may return address of local variable [-Wreturn-local-addr]
npm ERR! 125321 |   return pNew;
npm ERR!        |          ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:125281:10: note: declared here
npm ERR! 125281 |   Select standin;
npm ERR!        |          ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:125281:10: note: declared here
npm ERR! In file included from ./src/better_sqlite3.lzz:10,
npm ERR!                  from ../src/better_sqlite3.cpp:4:
npm ERR! /home/rss2ap/.cache/node-gyp/16.18.1/include/node/node.h:887:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>, 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!   887 |       (node::addon_register_func) (regfunc),                          \
npm ERR!       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/rss2ap/.cache/node-gyp/16.18.1/include/node/node.h:921:3: note: in expansion of macro ‘NODE_MODULE_X’
npm ERR!   921 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
npm ERR!       |   ^~~~~~~~~~~~~
npm ERR! ./src/better_sqlite3.lzz:15:1: note: in expansion of macro ‘NODE_MODULE’
npm ERR! ./src/objects/database.lzz: In static member function ‘static void Database::Init(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Object>)’:
npm ERR! ./src/objects/database.lzz:129:40: error: cannot convert ‘void (*)(void*)’ to ‘node::Environment*’
npm ERR! In file included from ./src/better_sqlite3.lzz:10,
npm ERR!                  from ../src/better_sqlite3.cpp:4:
npm ERR! /home/rss2ap/.cache/node-gyp/16.18.1/include/node/node.h:979:38: note:   initializing argument 1 of ‘void node::AtExit(node::Environment*, void (*)(void*), void*)’
npm ERR!   979 | NODE_EXTERN void AtExit(Environment* env,
npm ERR!       |                         ~~~~~~~~~~~~~^~~
npm ERR! ./src/util/binder.lzz: In static member function ‘static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)’:
npm ERR! ./src/util/binder.lzz:36:67: warning: ‘v8::Local<v8::Context> v8::Object::CreationContext()’ is deprecated: Use MaybeLocal<Context> GetCreationContext() [-Wdeprecated-declarations]
npm ERR! In file included from /home/rss2ap/.cache/node-gyp/16.18.1/include/node/node.h:73,
npm ERR!                  from ./src/better_sqlite3.lzz:10,
npm ERR!                  from ../src/better_sqlite3.cpp:4:
npm ERR! /home/rss2ap/.cache/node-gyp/16.18.1/include/node/v8.h:4316:18: note: declared here
npm ERR!  4316 |   Local<Context> CreationContext();
npm ERR!       |                  ^~~~~~~~~~~~~~~
npm ERR! make: *** [better_sqlite3.target.mk:125: Release/obj.target/better_sqlite3/src/better_sqlite3.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/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Linux 5.10.0-19-cloud-amd64
npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /home/rss2ap/rss-to-activitypub/node_modules/better-sqlite3
npm ERR! gyp ERR! node -v v16.18.1
npm ERR! gyp ERR! node-gyp -v v9.3.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/rss2ap/.npm/_logs/2022-11-11T23_35_51_038Z-debug-0.log

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

2 participants