[Pkg-javascript-devel] Bug#1066415: node-sqlite3: FTBFS: ld: cannot find -lnode: No such file or directory
Lucas Nussbaum
lucas at debian.org
Wed Mar 13 12:04:50 GMT 2024
Source: node-sqlite3
Version: 5.1.5+ds1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240313 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/build'
> CXX(target) Release/obj.target/node_sqlite3/src/backup.o
> gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
> ../src/backup.cc: In static member function ‘static void node_sqlite3::Backup::Work_BeginInitialize(node_sqlite3::Database::Baton*)’:
> ../src/backup.cc:182:9: warning: unused variable ‘status’ [-Wunused-variable]
> 182 | int status = napi_create_async_work(
> | ^~~~~~
> In file included from ../src/backup.cc:4:
> ../src/backup.cc: In static member function ‘static void node_sqlite3::Backup::Work_BeginStep(Baton*)’:
> ../src/macros.h:185:9: warning: unused variable ‘status’ [-Wunused-variable]
> 185 | int status = napi_create_async_work( \
> | ^~~~~~
> ../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_BeginFinish(Baton*)’:
> ../src/macros.h:185:9: warning: unused variable ‘status’ [-Wunused-variable]
> 185 | int status = napi_create_async_work( \
> | ^~~~~~
> ../src/backup.cc:322:5: note: in expansion of macro ‘BACKUP_BEGIN’
> 322 | BACKUP_BEGIN(Finish);
> | ^~~~~~~~~~~~
> CXX(target) Release/obj.target/node_sqlite3/src/database.o
> ../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginOpen(Baton*)’:
> ../src/database.cc:155:9: warning: unused variable ‘status’ [-Wunused-variable]
> 155 | int status = napi_create_async_work(
> | ^~~~~~
> ../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginClose(Baton*)’:
> ../src/database.cc:249:9: warning: unused variable ‘status’ [-Wunused-variable]
> 249 | int status = napi_create_async_work(
> | ^~~~~~
> ../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginExec(Baton*)’:
> ../src/database.cc:593:9: warning: unused variable ‘status’ [-Wunused-variable]
> 593 | int status = napi_create_async_work(
> | ^~~~~~
> ../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginLoadExtension(Baton*)’:
> ../src/database.cc:702:9: warning: unused variable ‘status’ [-Wunused-variable]
> 702 | int status = napi_create_async_work(
> | ^~~~~~
> CXX(target) Release/obj.target/node_sqlite3/src/node_sqlite3.o
> CXX(target) Release/obj.target/node_sqlite3/src/statement.o
> ../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginPrepare(node_sqlite3::Database::Baton*)’:
> ../src/statement.cc:125:9: warning: unused variable ‘status’ [-Wunused-variable]
> 125 | int status = napi_create_async_work(
> | ^~~~~~
> In file included from ../src/statement.cc:5:
> ../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginBind(Baton*)’:
> ../src/macros.h:149:9: warning: unused variable ‘status’ [-Wunused-variable]
> 149 | int status = napi_create_async_work( \
> | ^~~~~~
> ../src/statement.cc:353:5: note: in expansion of macro ‘STATEMENT_BEGIN’
> 353 | STATEMENT_BEGIN(Bind);
> | ^~~~~~~~~~~~~~~
> ../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginGet(Baton*)’:
> ../src/macros.h:149:9: warning: unused variable ‘status’ [-Wunused-variable]
> 149 | int status = napi_create_async_work( \
> | ^~~~~~
> ../src/statement.cc:405:5: note: in expansion of macro ‘STATEMENT_BEGIN’
> 405 | STATEMENT_BEGIN(Get);
> | ^~~~~~~~~~~~~~~
> ../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginRun(Baton*)’:
> ../src/macros.h:149:9: warning: unused variable ‘status’ [-Wunused-variable]
> 149 | int status = napi_create_async_work( \
> | ^~~~~~
> ../src/statement.cc:477:5: note: in expansion of macro ‘STATEMENT_BEGIN’
> 477 | STATEMENT_BEGIN(Run);
> | ^~~~~~~~~~~~~~~
> ../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginAll(Baton*)’:
> ../src/macros.h:149:9: warning: unused variable ‘status’ [-Wunused-variable]
> 149 | int status = napi_create_async_work( \
> | ^~~~~~
> ../src/statement.cc:547:5: note: in expansion of macro ‘STATEMENT_BEGIN’
> 547 | STATEMENT_BEGIN(All);
> | ^~~~~~~~~~~~~~~
> ../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginEach(Baton*)’:
> ../src/macros.h:149:9: warning: unused variable ‘status’ [-Wunused-variable]
> 149 | int status = napi_create_async_work( \
> | ^~~~~~
> ../src/statement.cc:648:5: note: in expansion of macro ‘STATEMENT_BEGIN’
> 648 | STATEMENT_BEGIN(Each);
> | ^~~~~~~~~~~~~~~
> ../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginReset(Baton*)’:
> ../src/macros.h:149:9: warning: unused variable ‘status’ [-Wunused-variable]
> 149 | int status = napi_create_async_work( \
> | ^~~~~~
> ../src/statement.cc:775:5: note: in expansion of macro ‘STATEMENT_BEGIN’
> 775 | STATEMENT_BEGIN(Reset);
> | ^~~~~~~~~~~~~~~
> SOLINK_MODULE(target) Release/obj.target/node_sqlite3.node
> /usr/bin/ld: cannot find -lnode: No such file or directory
> collect2: error: ld returned 1 exit status
The full build log is available from:
http://qa-logs.debian.net/2024/03/13/node-sqlite3_5.1.5+ds1-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-javascript-devel
mailing list