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

Yarn Install failure - YN0009 - Sqlite3 couldn't be built successfully #6966

Closed
genovese141 opened this issue Oct 23, 2022 · 8 comments
Closed
Labels
bug It's a bug

Comments

@genovese141
Copy link

Installing joplin-desktop with yarn occur a failure in build() with this error in sqlite3.

Environment

Joplin version: Joplin-2.8.8
Platform: Linux
OS specifics: Arch

Steps to reproduce

  1. Installin Joplin Desktop with AUR Repo

Describe what you expected to happen

The program run.

Logfile

==> Creazione del pacchetto: joplin 2.8.8-2 (dom 23 ott 2022, 09:38:28)
==> Controllo delle dipendenze durante l'avvio in corso...
==> Controllo delle dipendenze durante la compilazione in corso...
==> ATTENZIONE: Sto usando il tree esistente di $srcdir/
==> Avvio di build() in corso...
  -> Yarn cache directory: /home/sidera/.cache/yay/joplin/src/yarn-cache
  -> Installing dependencies through Yarn 3...
➤ YN0000: ┌ Resolution step
➤ YN0002: │ @aws-sdk/client-s3@npm:3.44.0 doesn't provide @aws-sdk/signature-v4-crt (p6155d), requested by @aws-sdk/middleware-sdk-s3
➤ YN0002: │ @aws-sdk/s3-request-presigner@npm:3.44.0 doesn't provide @aws-sdk/signature-v4-crt (pf5946), requested by @aws-sdk/middleware-sdk-s3
➤ YN0060: │ @joplin/app-desktop@workspace:packages/app-desktop provides react (p420ff) with version 16.13.1, which doesn't satisfy what react-test-renderer requests
➤ YN0060: │ @joplin/app-desktop@workspace:packages/app-desktop provides react-dom (p2e5b2) with version 16.9.0, which doesn't satisfy what re-resizable requests
➤ YN0002: │ @joplin/app-desktop@workspace:packages/app-desktop doesn't provide react-is (p0cdf0), requested by styled-components
➤ YN0060: │ @joplin/fork-htmlparser2@workspace:packages/fork-htmlparser2 provides eslint (p4ecde) with version 6.8.0, which doesn't satisfy what @typescript-eslint/eslint-plugin and some of its descendants request
➤ YN0060: │ @joplin/fork-htmlparser2@workspace:packages/fork-htmlparser2 provides eslint (p83f76) with version 6.8.0, which doesn't satisfy what @typescript-eslint/parser requests
➤ YN0060: │ @joplin/fork-htmlparser2@workspace:packages/fork-htmlparser2 provides jest (pa940f) with version 26.6.3, which doesn't satisfy what ts-jest requests
➤ YN0060: │ @joplin/server@workspace:packages/server provides sqlite3 (p9ac44) with version 4.2.0, which doesn't satisfy what @rmp135/sql-ts and some of its descendants request
➤ YN0060: │ @joplin/server@workspace:packages/server provides sqlite3 (p05a2d) with version 4.2.0, which doesn't satisfy what knex requests
➤ YN0002: │ @octokit/rest@npm:16.43.2 doesn't provide @octokit/core (p84523), requested by @octokit/plugin-request-log
➤ YN0060: │ root@workspace:. provides eslint (p2edfe) with version 7.32.0, which doesn't satisfy what eslint-plugin-react-hooks requests
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed in 0s 610ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ yeoman-generator@npm:4.13.0 can't be found in the cache and will be
➤ YN0013: │ ylru@npm:1.2.1 can't be found in the cache and will be fetched from
➤ YN0013: │ yocto-queue@npm:0.1.0 can't be found in the cache and will be fetch
➤ YN0013: │ yosay@npm:2.0.2 can't be found in the cache and will be fetched fro
➤ YN0013: │ zxcvbn@npm:4.4.2 can't be found in the cache and will be fetched fr
➤ YN0000: └ Completed in 5s 635ms
➤ YN0000: ┌ Link step
➤ YN0076: │ fsevents@patch:fsevents@npm%3A1.2.13#~builtin<compat/fsevents>::version=1.2.13&hash=18f3a7 The linux-x64 architecture is incompatible with this module, link skipped.
➤ YN0076: │ fsevents@patch:fsevents@npm%3A2.3.2#~builtin<compat/fsevents>::version=2.3.2&hash=18f3a7 The linux-x64 architecture is incompatible with this module, link skipped.
➤ YN0076: │ 7zip-bin-mac@npm:1.0.1 The linux-x64 architecture is incompatible with this module, link skipped.
➤ YN0076: │ 7zip-bin-win@npm:2.2.0 The linux-x64 architecture is incompatible with this module, link skipped.
➤ YN0076: │ dmg-license@npm:1.0.10 The linux-x64 architecture is incompatible with this module, link skipped.
➤ YN0076: │ iconv-corefoundation@npm:1.1.7 The linux-x64 architecture is incompatible with this module, link skipped.
➤ YN0007: │ nodemon@npm:2.0.15 must be built because it never has been before or the last one failed
➤ YN0007: │ keytar@npm:7.7.0 must be built because it never has been before or the last one failed
➤ YN0007: │ sharp@npm:0.26.3 must be built because it never has been before or the last one failed
➤ YN0007: │ sqlite3@npm:5.0.2 [ea905] must be built because it never has been before or the last one failed
➤ YN0007: │ core-js@npm:2.6.12 must be built because it never has been before or the last one failed
➤ YN0007: │ sharp@npm:0.25.4 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/fontawesome-free@npm:5.15.4 must be built because it never has been before or the last one failed
➤ YN0007: │ electron@npm:14.1.0 must be built because it never has been before or the last one failed
➤ YN0007: │ lzma-native@npm:8.0.1 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/fontawesome-common-types@npm:0.2.36 must be built because it never has been before or the last one failed
➤ YN0007: │ ejs@npm:2.7.4 must be built because it never has been before or the last one failed
➤ YN0007: │ sqlite3@npm:4.2.0 must be built because it never has been before or the last one failed
➤ YN0009: │ sqlite3@npm:4.2.0 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-ec002c8b/build.log)
➤ YN0007: │ root@workspace:. must be built because it never has been before or the last one failed
➤ YN0007: │ @joplin/app-desktop@workspace:packages/app-desktop must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/fontawesome-svg-core@npm:1.2.36 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/free-regular-svg-icons@npm:5.15.4 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/free-solid-svg-icons@npm:5.15.4 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 3m 34s
➤ YN0000: Failed with errors in 3m 41s
==> ERROR: A failure occurred in build().
    Aborting...
 -> errore nella creazione: joplin (joplin-desktop)

build.log

@genovese141 genovese141 added the bug It's a bug label Oct 23, 2022
@wh201906
Copy link
Contributor

Can you post the log file there?

➤ YN0009: │ sqlite3@npm:4.2.0 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-ec002c8b/build.log)

@genovese141
Copy link
Author

# This file contains the result of Yarn building a package (sqlite3@npm:4.2.0)
# Script name: install

node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.11.0
node-pre-gyp info using node@19.0.0 | linux | x64
node-pre-gyp WARN Using request for node-pre-gyp https download 
node-pre-gyp info check checked for "/home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/server/node_modules/sqlite3/lib/binding/node-v111-linux-x64/node_sqlite3.node" (not found)
node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v111-linux-x64.tar.gz
node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v111-linux-x64.tar.gz
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v111-linux-x64.tar.gz 
node-pre-gyp WARN Pre-built binaries not found for sqlite3@4.2.0 and node@19.0.0 (node-v111 ABI, glibc) (falling back to source compile with node-gyp) 
node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v111-linux-x64.tar.gz 
gyp info it worked if it ends with ok
gyp info using node-gyp@8.4.1
gyp info using node@19.0.0 | linux | x64
gyp info ok 
gyp info it worked if it ends with ok
gyp info using node-gyp@8.4.1
gyp info using node@19.0.0 | linux | x64
gyp info find Python using Python version 3.10.8 found at "/usr/bin/python3"
gyp http GET https://nodejs.org/download/release/v19.0.0/node-v19.0.0-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v19.0.0/node-v19.0.0-headers.tar.gz
gyp http GET https://nodejs.org/download/release/v19.0.0/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v19.0.0/SHASUMS256.txt
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/tools/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/server/node_modules/sqlite3/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/tools/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/sidera/.cache/node-gyp/19.0.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/sidera/.cache/node-gyp/19.0.0',
gyp info spawn args   '-Dnode_gyp_dir=/home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/tools/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/sidera/.cache/node-gyp/19.0.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/server/node_modules/sqlite3',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp info ok 
gyp info it worked if it ends with ok
gyp info using node-gyp@8.4.1
gyp info using node@19.0.0 | linux | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/server/node_modules/sqlite3/build'
  ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c
  TOUCH Release/obj.target/deps/action_before_build.stamp
  CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3310100/sqlite3.o
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘strftimeFunc’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:14483:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
      |                           ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:22663:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
22663 |                       z==zBuf ? SQLITE_TRANSIENT : SQLITE_DYNAMIC);
      |                                                    ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘sqlite3ErrorWithMsg’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:14483:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
      |                           ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:31142:54: note: in expansion of macro ‘SQLITE_DYNAMIC’
31142 |     sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC);
      |                                                      ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘sqlite3VdbeMemSetStr’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:14483:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
      |                           ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:76549:15: note: in expansion of macro ‘SQLITE_DYNAMIC’
76549 |     if( xDel==SQLITE_DYNAMIC ){
      |               ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘valueFromExpr’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:14483:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
      |                           ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:76964:55: note: in expansion of macro ‘SQLITE_DYNAMIC’
76964 |       sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
      |                                                       ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:14483:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
      |                           ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:77016:29: note: in expansion of macro ‘SQLITE_DYNAMIC’
77016 |                          0, SQLITE_DYNAMIC);
      |                             ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘sqlite3VdbeExec’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:92582:38: warning: cast between incompatible function types from ‘int (*)(u32,  void *, void *, void *)’ {aka ‘int (*)(unsigned int,  void *, void *, void *)’} to ‘void (*)(void *, const char *)’ [-Wcast-function-type]
92582 |       void (*x)(void*,const char*) = (void(*)(void*,const char*))db->xTrace;
      |                                      ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘sqlite3DefaultRowEst’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:113122:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
113122 |   if( pIdx->pPartIdxWhere!=0 ) a[0] -= 10;  assert( 10==sqlite3LogEst(2) );
       |   ^~
In file included from Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:14015:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:113122:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
113122 |   if( pIdx->pPartIdxWhere!=0 ) a[0] -= 10;  assert( 10==sqlite3LogEst(2) );
       |                                             ^~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:113123:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
113123 |   if( a[0]<33 ) a[0] = 33;                  assert( 33==sqlite3LogEst(10) );
       |   ^~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:113123:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
113123 |   if( a[0]<33 ) a[0] = 33;                  assert( 33==sqlite3LogEst(10) );
       |                                             ^~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘printfFunc’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:14483:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
      |                           ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:115925:25: note: in expansion of macro ‘SQLITE_DYNAMIC’
115925 |                         SQLITE_DYNAMIC);
       |                         ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘generateColumnNames’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:14483:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
      |                           ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:129782:58: note: in expansion of macro ‘SQLITE_DYNAMIC’
129782 |         sqlite3VdbeSetColName(v, i, COLNAME_NAME, zName, SQLITE_DYNAMIC);
       |                                                          ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:14483:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
      |                           ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:129789:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
129789 |       sqlite3VdbeSetColName(v, i, COLNAME_NAME, z, SQLITE_DYNAMIC);
       |                                                    ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘sqlite3InvokeBusyHandler’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:160680:12: warning: cast between incompatible function types from ‘int (*)(void *, int)’ to ‘int (*)(void *, int,  sqlite3_file *)’ [-Wcast-function-type]
160680 |     xTra = (int(*)(void*,int,sqlite3_file*))p->xBusyHandler;
       |            ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘sqlite3_busy_timeout’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:160758:30: warning: cast between incompatible function types from ‘int (*)(void *, int,  sqlite3_file *)’ to ‘int (*)(void *, int)’ [-Wcast-function-type]
160758 |     sqlite3_busy_handler(db, (int(*)(void*,int))sqliteDefaultBusyCallback,
       |                              ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘sqlite3_trace’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:161110:16: warning: cast between incompatible function types from ‘void (*)(void *, const char *)’ to ‘int (*)(u32,  void *, void *, void *)’ {aka ‘int (*)(unsigned int,  void *, void *, void *)’} [-Wcast-function-type]
161110 |   db->xTrace = (int(*)(u32,void*,void*,void*))xTrace;
       |                ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘sqlite3_db_status’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:21486:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
21486 |       op = SQLITE_DBSTATUS_CACHE_WRITE+1;
      |       ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:21488:5: note: here
21488 |     case SQLITE_DBSTATUS_CACHE_HIT:
      |     ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘sqlite3_str_vappendf’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:28352:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
28352 |         flag_long = sizeof(char*)==sizeof(i64) ? 2 :
      |         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28353 |                      sizeof(char*)==sizeof(long int) ? 1 : 0;
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:28355:7: note: here
28355 |       case etORDINAL:
      |       ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:28357:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
28357 |         cThousand = 0;
      |         ~~~~~~~~~~^~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:28359:7: note: here
28359 |       case etDECIMAL:
      |       ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘sqlite3GetToken’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:158219:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
158219 |       if( !sqlite3Isdigit(z[1]) )
       |         ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:158228:5: note: here
158228 |     case CC_DIGIT: {
       |     ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:158318:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
158318 |       if( z[1]=='\'' ){
       |         ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:158332:5: note: here
158332 |     case CC_ID: {
       |     ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘sqlite3ExprCodeTarget’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:102448:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
102448 |     case TK_AGG_COLUMN: {
       |                         ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:102461:5: note: here
102461 |     case TK_COLUMN: {
       |     ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘exprImpliesNotNull’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:104004:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
104004 |       if( exprImpliesNotNull(pParse, p->pRight, pNN, iTab, seenNot) ) return 1;
       |         ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:104007:5: note: here
104007 |     case TK_SPAN:
       |     ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘impliesNotNullRow’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:104144:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
104143 |       if( (pExpr->pLeft->op==TK_COLUMN && IsVirtual(pExpr->pLeft->y.pTab))
       |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
104144 |        || (pExpr->pRight->op==TK_COLUMN && IsVirtual(pExpr->pRight->y.pTab))
       |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:104149:5: note: here
104149 |     default:
       |     ^~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘resolveP2Values’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:78144:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
78144 |           if( pOp->p2!=0 ) p->readOnly = 0;
      |             ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:78147:9: note: here
78147 |         case OP_AutoCommit:
      |         ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:78185:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
78185 |         case OP_VFilter: {
      |                          ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:78194:9: note: here
78194 |         default: {
      |         ^~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘resolveExprStep’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:97814:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
97814 |     case TK_ISNOT: {
      |                    ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:97830:5: note: here
97830 |     case TK_BETWEEN:
      |     ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘fkActionTrigger’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:119039:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
119039 |         if( !pChanges ){
       |           ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:119043:7: note: here
119043 |       default:
       |       ^~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘sqlite3GenerateConstraintChecks’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:120965:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
120965 |         onError = OE_Abort;
       |                 ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:120968:7: note: here
120968 |       case OE_Rollback:
       |       ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:121026:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
121026 |         sqlite3UpsertDoUpdate(pParse, pUpsert, pTab, 0, iDataCur);
       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:121030:7: note: here
121030 |       case OE_Ignore: {
       |       ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:121247:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
121247 |         sqlite3UpsertDoUpdate(pParse, pUpsert, pTab, pIdx, iIdxCur+ix);
       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:121251:7: note: here
121251 |       case OE_Ignore: {
       |       ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘sqlite3VdbeExec’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:85886:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
85886 |   if( (pIn3->flags & MEM_Null)==0 ) break;
      |     ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:85920:1: note: here
85920 | case OP_Halt: {
      | ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:86055:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
86055 |   pOp->opcode = OP_String;
      |               ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:86072:1: note: here
86072 | case OP_String: {          /* out2 */
      | ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:89327:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
89327 | case OP_IfNoHope: {     /* jump, in3 */
      |                   ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:89335:1: note: here
89335 | case OP_NoConflict:     /* jump, in3 */
      | ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:90261:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
90261 |   p->aCounter[SQLITE_STMTSTATUS_SORT]++;
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:90276:1: note: here
90276 | case OP_Rewind: {        /* jump */
      | ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:91591:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
91591 |   pOp->opcode = OP_AggStep1;
      |               ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:91594:1: note: here
91594 | case OP_AggStep1: {
      | ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘fts3SnippetFunc’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:168610:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
168610 |     case 6: nToken = sqlite3_value_int(apVal[5]);
       |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:168611:5: note: here
168611 |     case 5: iCol = sqlite3_value_int(apVal[4]);
       |     ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:168611:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
168611 |     case 5: iCol = sqlite3_value_int(apVal[4]);
       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:168612:5: note: here
168612 |     case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
       |     ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:168612:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
168612 |     case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
       |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:168613:5: note: here
168613 |     case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
       |     ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:168613:33: warning: this statement may fall through [-Wimplicit-fallthrough=]
168613 |     case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:168614:5: note: here
168614 |     case 2: zStart = (const char*)sqlite3_value_text(apVal[1]);
       |     ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘fts3ColumnMethod’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:168367:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
168367 |         iCol = p->nColumn;
       |         ~~~~~^~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:168371:5: note: here
168371 |     default:
       |     ^~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘cellArea’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:188078:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
188078 |       case 5:  area  = p->aCoord[9].f - p->aCoord[8].f;
       |                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:188079:7: note: here
188079 |       case 4:  area *= p->aCoord[7].f - p->aCoord[6].f;
       |       ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:188079:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
188079 |       case 4:  area *= p->aCoord[7].f - p->aCoord[6].f;
       |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:188080:7: note: here
188080 |       case 3:  area *= p->aCoord[5].f - p->aCoord[4].f;
       |       ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:188080:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
188080 |       case 3:  area *= p->aCoord[5].f - p->aCoord[4].f;
       |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:188081:7: note: here
188081 |       case 2:  area *= p->aCoord[3].f - p->aCoord[2].f;
       |       ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:188081:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
188081 |       case 2:  area *= p->aCoord[3].f - p->aCoord[2].f;
       |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:188082:7: note: here
188082 |       default: area *= p->aCoord[1].f - p->aCoord[0].f;
       |       ^~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:188088:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
188088 |       case 5:  area  = (i64)p->aCoord[9].i - (i64)p->aCoord[8].i;
       |                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:188089:7: note: here
188089 |       case 4:  area *= (i64)p->aCoord[7].i - (i64)p->aCoord[6].i;
       |       ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:188089:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
188089 |       case 4:  area *= (i64)p->aCoord[7].i - (i64)p->aCoord[6].i;
       |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:188090:7: note: here
188090 |       case 3:  area *= (i64)p->aCoord[5].i - (i64)p->aCoord[4].i;
       |       ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:188090:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
188090 |       case 3:  area *= (i64)p->aCoord[5].i - (i64)p->aCoord[4].i;
       |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:188091:7: note: here
188091 |       case 2:  area *= (i64)p->aCoord[3].i - (i64)p->aCoord[2].i;
       |       ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:188091:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
188091 |       case 2:  area *= (i64)p->aCoord[3].i - (i64)p->aCoord[2].i;
       |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:188092:7: note: here
188092 |       default: area *= (i64)p->aCoord[1].i - (i64)p->aCoord[0].i;
       |       ^~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘rtreeCallbackConstraint’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:187231:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
187231 |                 readCoord(pCellData+32, &c); aCoord[8] = c.f;
       |                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:187232:7: note: here
187232 |       case 8:   readCoord(pCellData+28, &c); aCoord[7] = c.f;
       |       ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:187233:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
187233 |                 readCoord(pCellData+24, &c); aCoord[6] = c.f;
       |                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:187234:7: note: here
187234 |       case 6:   readCoord(pCellData+20, &c); aCoord[5] = c.f;
       |       ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:187235:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
187235 |                 readCoord(pCellData+16, &c); aCoord[4] = c.f;
       |                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:187236:7: note: here
187236 |       case 4:   readCoord(pCellData+12, &c); aCoord[3] = c.f;
       |       ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:187237:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
187237 |                 readCoord(pCellData+8,  &c); aCoord[2] = c.f;
       |                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:187238:7: note: here
187238 |       default:  readCoord(pCellData+4,  &c); aCoord[1] = c.f;
       |       ^~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:187246:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
187246 |                 readCoord(pCellData+32, &c); aCoord[8] = c.i;
       |                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:187247:7: note: here
187247 |       case 8:   readCoord(pCellData+28, &c); aCoord[7] = c.i;
       |       ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:187248:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
187248 |                 readCoord(pCellData+24, &c); aCoord[6] = c.i;
       |                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:187249:7: note: here
187249 |       case 6:   readCoord(pCellData+20, &c); aCoord[5] = c.i;
       |       ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:187250:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
187250 |                 readCoord(pCellData+16, &c); aCoord[4] = c.i;
       |                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:187251:7: note: here
187251 |       case 4:   readCoord(pCellData+12, &c); aCoord[3] = c.i;
       |       ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:187252:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
187252 |                 readCoord(pCellData+8,  &c); aCoord[2] = c.i;
       |                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:187253:7: note: here
187253 |       default:  readCoord(pCellData+4,  &c); aCoord[1] = c.i;
       |       ^~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘rtreeNonleafConstraint’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:187308:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
187308 |       if( p->op!=RTREE_EQ ) break;  /* RTREE_LE and RTREE_LT end here */
       |         ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:187311:5: note: here
187311 |     default: /* RTREE_GT or RTREE_GE,  or fallthrough of RTREE_EQ */
       |     ^~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘jsonRenderNode’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:183865:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
183865 |       if( pNode->jnFlags & JNODE_RAW ){
       |         ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:183871:5: note: here
183871 |     case JSON_REAL:
       |     ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘jsonReturn’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:184010:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
184010 |       int_as_real: /* fall through to real */;
       |       ^~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:184012:5: note: here
184012 |     case JSON_REAL: {
       |     ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘jsonEachColumn’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:185704:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
185704 |       if( p->bRecursive ){
       |         ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:185714:5: note: here
185714 |     default: {
       |     ^~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘sqlite3SelectNew’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:128048:10: warning: function may return address of local variable [-Wreturn-local-addr]
128048 |   return pNew;
       |          ^~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:128008:10: note: declared here
128008 |   Select standin;
       |          ^~~~~~~
In file included from /usr/include/string.h:535,
                 from Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:14014:
In function ‘memcpy’,
    inlined from ‘sqlite3Fts5IndexQuery’ at Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:219707:18:
/usr/include/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘nodeReaderRelease’,
    inlined from ‘fts3IncrmergeLoad’ at Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:179438:9,
    inlined from ‘sqlite3Fts3Incrmerge’ at Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:180087:14:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:178889:23: warning: ‘reader.term.a’ may be used uninitialized [-Wmaybe-uninitialized]
178889 |   sqlite3_free(p->term.a);
       |                ~~~~~~~^~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function ‘sqlite3Fts3Incrmerge’:
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:179410:20: note: ‘reader’ declared here
179410 |         NodeReader reader;
       |                    ^~~~~~
  AR(target) Release/obj.target/deps/sqlite3.a
  COPY Release/sqlite3.a
  CXX(target) Release/obj.target/node_sqlite3/src/backup.o
In file included from ../../nan/nan.h:178,
                 from ../src/database.h:10,
                 from ../src/backup.cc:7:
../../nan/nan_callbacks.h:55:23: error: ‘AccessorSignature’ is not a member of ‘v8’
   55 | typedef v8::Local<v8::AccessorSignature> Sig;
      |                       ^~~~~~~~~~~~~~~~~
../../nan/nan_callbacks.h:55:40: error: template argument 1 is invalid
   55 | typedef v8::Local<v8::AccessorSignature> Sig;
      |                                        ^
../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
../../nan/nan.h:2544:19: error: no matching function for call to ‘v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>&, void (*&)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&), void (*&)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&), v8::Local<v8::Object>&, v8::AccessControl&, v8::PropertyAttribute&, Nan::imp::Sig&)’
 2544 |   tpl->SetAccessor(
      |   ~~~~~~~~~~~~~~~~^
 2545 |       name
      |       ~~~~         
 2546 |     , getter_
      |     ~~~~~~~~~      
 2547 |     , setter_
      |     ~~~~~~~~~      
 2548 |     , obj
      |     ~~~~~          
 2549 |     , settings
      |     ~~~~~~~~~~     
 2550 |     , attribute
      |     ~~~~~~~~~~~    
 2551 |     , signature);
      |     ~~~~~~~~~~~~   
In file included from /home/sidera/.cache/node-gyp/19.0.0/include/node/v8-function.h:15,
                 from /home/sidera/.cache/node-gyp/19.0.0/include/node/v8.h:33,
                 from /home/sidera/.cache/node-gyp/19.0.0/include/node/node.h:73,
                 from ../src/backup.cc:2:
/home/sidera/.cache/node-gyp/19.0.0/include/node/v8-template.h:807:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>, v8::AccessorGetterCallback, v8::AccessorSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
  807 |   void SetAccessor(
      |        ^~~~~~~~~~~
/home/sidera/.cache/node-gyp/19.0.0/include/node/v8-template.h:812:22: note:   no known conversion for argument 7 from ‘Nan::imp::Sig’ {aka ‘int’} to ‘v8::SideEffectType’
  812 |       SideEffectType getter_side_effect_type = SideEffectType::kHasSideEffect,
      |       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sidera/.cache/node-gyp/19.0.0/include/node/v8-template.h:814:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
  814 |   void SetAccessor(
      |        ^~~~~~~~~~~
/home/sidera/.cache/node-gyp/19.0.0/include/node/v8-template.h:819:22: note:   no known conversion for argument 7 from ‘Nan::imp::Sig’ {aka ‘int’} to ‘v8::SideEffectType’
  819 |       SideEffectType getter_side_effect_type = SideEffectType::kHasSideEffect,
      |       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/backup.cc:6:
../src/backup.cc: In static member function ‘static void node_sqlite3::Backup::Error(T*)’:
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/backup.cc:78:9: note: in expansion of macro ‘TRY_CATCH_CALL’
   78 |         TRY_CATCH_CALL(backup->handle(), cb, 1, argv);
      |         ^~~~~~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:105:5: note: in expansion of macro ‘TRY_CATCH_CALL’
  105 |     TRY_CATCH_CALL((obj),                                                      \
      |     ^~~~~~~~~~~~~~
../src/backup.cc:82:9: note: in expansion of macro ‘EMIT_EVENT’
   82 |         EMIT_EVENT(backup->handle(), 2, argv);
      |         ^~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
../src/backup.cc: In member function ‘void node_sqlite3::Backup::CleanQueue()’:
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/backup.cc:105:17: note: in expansion of macro ‘TRY_CATCH_CALL’
  105 |                 TRY_CATCH_CALL(handle(), cb, 1, argv);
      |                 ^~~~~~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:105:5: note: in expansion of macro ‘TRY_CATCH_CALL’
  105 |     TRY_CATCH_CALL((obj),                                                      \
      |     ^~~~~~~~~~~~~~
../src/backup.cc:119:13: note: in expansion of macro ‘EMIT_EVENT’
  119 |             EMIT_EVENT(handle(), 2, info);
      |             ^~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
../src/backup.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE node_sqlite3::Backup::New(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/backup.cc:167:18: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
  167 |     Nan::ForceSet(info.This(), Nan::New("filename").ToLocalChecked(), filename, ReadOnly);
      |     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:286:
../../nan/nan_maybe_43_inl.h:117:35: note: declared here
  117 | NAN_DEPRECATED inline Maybe<bool> ForceSet(
      |                                   ^~~~~~~~
../src/backup.cc:168:18: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
  168 |     Nan::ForceSet(info.This(), Nan::New("sourceName").ToLocalChecked(), sourceName, ReadOnly);
      |     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan_maybe_43_inl.h:117:35: note: declared here
  117 | NAN_DEPRECATED inline Maybe<bool> ForceSet(
      |                                   ^~~~~~~~
../src/backup.cc:169:18: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
  169 |     Nan::ForceSet(info.This(), Nan::New("destName").ToLocalChecked(), destName, ReadOnly);
      |     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan_maybe_43_inl.h:117:35: note: declared here
  117 | NAN_DEPRECATED inline Maybe<bool> ForceSet(
      |                                   ^~~~~~~~
../src/backup.cc:170:18: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
  170 |     Nan::ForceSet(info.This(), Nan::New("filenameIsDest").ToLocalChecked(), filenameIsDest, ReadOnly);
      |     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan_maybe_43_inl.h:117:35: note: declared here
  117 | NAN_DEPRECATED inline Maybe<bool> ForceSet(
      |                                   ^~~~~~~~
../src/backup.cc: In static member function ‘static void node_sqlite3::Backup::Work_BeginInitialize(node_sqlite3::Database::Baton*)’:
../src/backup.cc:189:43: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
  189 |         &baton->request, Work_Initialize, (uv_after_work_cb)Work_AfterInitialize);
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/backup.cc:188:9: warning: unused variable ‘status’ [-Wunused-variable]
  188 |     int status = uv_queue_work(uv_default_loop(),
      |         ^~~~~~
../src/backup.cc: In static member function ‘static void node_sqlite3::Backup::Work_AfterInitialize(uv_work_t*)’:
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/backup.cc:236:13: note: in expansion of macro ‘TRY_CATCH_CALL’
  236 |             TRY_CATCH_CALL(backup->handle(), cb, 1, argv);
      |             ^~~~~~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
../src/backup.cc: In static member function ‘static void node_sqlite3::Backup::Work_BeginStep(Baton*)’:
../src/macros.h:156:22: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
  156 |         Work_##type, reinterpret_cast<uv_after_work_cb>(Work_After##type));    \
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/backup.cc:255:5: note: in expansion of macro ‘BACKUP_BEGIN’
  255 |     BACKUP_BEGIN(Step);
      |     ^~~~~~~~~~~~
../src/macros.h:154:9: warning: unused variable ‘status’ [-Wunused-variable]
  154 |     int status = uv_queue_work(uv_default_loop(),                              \
      |         ^~~~~~
../src/backup.cc:255:5: note: in expansion of macro ‘BACKUP_BEGIN’
  255 |     BACKUP_BEGIN(Step);
      |     ^~~~~~~~~~~~
../src/backup.cc: In static member function ‘static void node_sqlite3::Backup::Work_AfterStep(uv_work_t*)’:
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/backup.cc:301:13: note: in expansion of macro ‘TRY_CATCH_CALL’
  301 |             TRY_CATCH_CALL(backup->handle(), cb, 2, argv);
      |             ^~~~~~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
../src/backup.cc: In static member function ‘static void node_sqlite3::Backup::Work_BeginFinish(Baton*)’:
../src/macros.h:156:22: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
  156 |         Work_##type, reinterpret_cast<uv_after_work_cb>(Work_After##type));    \
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/backup.cc:319:5: note: in expansion of macro ‘BACKUP_BEGIN’
  319 |     BACKUP_BEGIN(Finish);
      |     ^~~~~~~~~~~~
../src/macros.h:154:9: warning: unused variable ‘status’ [-Wunused-variable]
  154 |     int status = uv_queue_work(uv_default_loop(),                              \
      |         ^~~~~~
../src/backup.cc:319:5: note: in expansion of macro ‘BACKUP_BEGIN’
  319 |     BACKUP_BEGIN(Finish);
      |     ^~~~~~~~~~~~
../src/backup.cc: In static member function ‘static void node_sqlite3::Backup::Work_AfterFinish(uv_work_t*)’:
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/backup.cc:336:9: note: in expansion of macro ‘TRY_CATCH_CALL’
  336 |         TRY_CATCH_CALL(backup->handle(), cb, 0, NULL);
      |         ^~~~~~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
../src/backup.cc: In instantiation of ‘static void node_sqlite3::Backup::Error(T*) [with T = InitializeBaton]’:
../src/backup.cc:228:14:   required from here
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/backup.cc:78:9: note: in expansion of macro ‘TRY_CATCH_CALL’
   78 |         TRY_CATCH_CALL(backup->handle(), cb, 1, argv);
      |         ^~~~~~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/backup.cc:78:9: note: in expansion of macro ‘TRY_CATCH_CALL’
   78 |         TRY_CATCH_CALL(backup->handle(), cb, 1, argv);
      |         ^~~~~~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/backup.cc:78:9: note: in expansion of macro ‘TRY_CATCH_CALL’
   78 |         TRY_CATCH_CALL(backup->handle(), cb, 1, argv);
      |         ^~~~~~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:105:5: note: in expansion of macro ‘TRY_CATCH_CALL’
  105 |     TRY_CATCH_CALL((obj),                                                      \
      |     ^~~~~~~~~~~~~~
../src/backup.cc:82:9: note: in expansion of macro ‘EMIT_EVENT’
   82 |         EMIT_EVENT(backup->handle(), 2, argv);
      |         ^~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:105:5: note: in expansion of macro ‘TRY_CATCH_CALL’
  105 |     TRY_CATCH_CALL((obj),                                                      \
      |     ^~~~~~~~~~~~~~
../src/backup.cc:82:9: note: in expansion of macro ‘EMIT_EVENT’
   82 |         EMIT_EVENT(backup->handle(), 2, argv);
      |         ^~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:105:5: note: in expansion of macro ‘TRY_CATCH_CALL’
  105 |     TRY_CATCH_CALL((obj),                                                      \
      |     ^~~~~~~~~~~~~~
../src/backup.cc:82:9: note: in expansion of macro ‘EMIT_EVENT’
   82 |         EMIT_EVENT(backup->handle(), 2, argv);
      |         ^~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
../src/backup.cc: In instantiation of ‘static void node_sqlite3::Backup::Error(T*) [with T = StepBaton]’:
../src/backup.cc:294:14:   required from here
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/backup.cc:78:9: note: in expansion of macro ‘TRY_CATCH_CALL’
   78 |         TRY_CATCH_CALL(backup->handle(), cb, 1, argv);
      |         ^~~~~~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/backup.cc:78:9: note: in expansion of macro ‘TRY_CATCH_CALL’
   78 |         TRY_CATCH_CALL(backup->handle(), cb, 1, argv);
      |         ^~~~~~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/backup.cc:78:9: note: in expansion of macro ‘TRY_CATCH_CALL’
   78 |         TRY_CATCH_CALL(backup->handle(), cb, 1, argv);
      |         ^~~~~~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:105:5: note: in expansion of macro ‘TRY_CATCH_CALL’
  105 |     TRY_CATCH_CALL((obj),                                                      \
      |     ^~~~~~~~~~~~~~
../src/backup.cc:82:9: note: in expansion of macro ‘EMIT_EVENT’
   82 |         EMIT_EVENT(backup->handle(), 2, argv);
      |         ^~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:105:5: note: in expansion of macro ‘TRY_CATCH_CALL’
  105 |     TRY_CATCH_CALL((obj),                                                      \
      |     ^~~~~~~~~~~~~~
../src/backup.cc:82:9: note: in expansion of macro ‘EMIT_EVENT’
   82 |         EMIT_EVENT(backup->handle(), 2, argv);
      |         ^~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
../src/macros.h:112:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
  112 |     Nan::MakeCallback((context), (callback), (argc), (argv))
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:105:5: note: in expansion of macro ‘TRY_CATCH_CALL’
  105 |     TRY_CATCH_CALL((obj),                                                      \
      |     ^~~~~~~~~~~~~~
../src/backup.cc:82:9: note: in expansion of macro ‘EMIT_EVENT’
   82 |         EMIT_EVENT(backup->handle(), 2, argv);
      |         ^~~~~~~~~~
../../nan/nan.h:1028:46: note: declared here
 1028 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
      |                                              ^~~~~~~~~~~~
make: *** [node_sqlite3.target.mk:136: Release/obj.target/node_sqlite3/src/backup.o] Error 1
make: Leaving directory '/home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/server/node_modules/sqlite3/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/tools/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
gyp ERR! System Linux 6.0.2-arch1-1
gyp ERR! command "/usr/bin/node" "/home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/tools/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/server/node_modules/sqlite3/lib/binding/node-v111-linux-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/server/node_modules/sqlite3/lib/binding/node-v111-linux-x64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v111"
gyp ERR! cwd /home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/server/node_modules/sqlite3
gyp ERR! node -v v19.0.0
gyp ERR! node-gyp -v v8.4.1
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/tools/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/server/node_modules/sqlite3/lib/binding/node-v111-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/server/node_modules/sqlite3/lib/binding/node-v111-linux-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v111' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/tools/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1098:16)
node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:304:5)
node-pre-gyp ERR! System Linux 6.0.2-arch1-1
node-pre-gyp ERR! command "/usr/bin/node" "/home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/tools/node_modules/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/server/node_modules/sqlite3
node-pre-gyp ERR! node -v v19.0.0
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok 
Failed to execute '/usr/bin/node /home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/tools/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/server/node_modules/sqlite3/lib/binding/node-v111-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/sidera/.cache/yay/joplin/src/joplin-2.8.8/packages/server/node_modules/sqlite3/lib/binding/node-v111-linux-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v111' (1)

@wh201906
Copy link
Contributor

Seems like something wrong in nodejs/nan
nodejs/nan#942

../../nan/nan_callbacks.h:55:23: error: ‘AccessorSignature’ is not a member of ‘v8’

@genovese141
Copy link
Author

It was nodejs version the problem.
Solved with:

npm install -g n
n 16

Thankyou for your time and your work with Joplin.

@roman-r-m
Copy link
Collaborator

@genovese141 since the issue is fixed I'm going to close it.

@intractabilis
Copy link

It was nodejs version the problem.
Solved with:

This is hardly a solution. On my system it installs stuff to /usr/local, which is completely ignored by the package manager. Not only it clashes with what the package manager assumes is installed in the system, you need a surgical procedure to remove the stuff from there.

@philmoreau
Copy link

philmoreau commented Nov 30, 2022

It was nodejs version the problem. Solved with:

npm install -g n
n 16

Thanks, this worked. I believe the change can be reverted afterwards with :

n rm 16
npm uninstall n

@mixin82
Copy link

mixin82 commented Dec 17, 2022

I agree with @intractabilis, I'd avoid global installs whenever possible.
After some research, I resolved by adding to the root package.json this:

"resolutions": {
  "nan@^2.12.1": "2.17.0"
}

This not well documented feature forces yarn to resolve nan@^2.12.1 (used indirectly by the server package which causes the build to fail since in Joplin it's hard-coded to version 2.15.0 here) to 2.17.0 (which contains the fix), while keeping joplin-desktop still on version 2.14.2 (see here).
I can see the new release of Joplin 2.9.17 has the same issue (it looks dated Nov 15), but the dev branch seems to have fixed it finally by updating the versions.

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

No branches or pull requests

6 participants