[Pkg-javascript-devel] Bug#1066425: node-libpq: FTBFS: ld: cannot find -lnode: No such file or directory

Lucas Nussbaum lucas at debian.org
Wed Mar 13 12:04:12 GMT 2024


Source: node-libpq
Version: 1.8.12+~1.8.10-2
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/addon/src/connection.o
>   CXX(target) Release/obj.target/addon/src/connect-async-worker.o
>   CXX(target) Release/obj.target/addon/src/addon.o
> In file included from ../../../../usr/share/nodejs/nan/nan.h:62,
>                  from ../src/addon.h:4,
>                  from ../src/addon.cc:1:
> /usr/include/nodejs/src/node.h:1014:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
>  1014 |       (node::addon_register_func) (regfunc),                          \
>       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/nodejs/src/node.h:1048:3: note: in expansion of macro ‘NODE_MODULE_X’
>  1048 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
>       |   ^~~~~~~~~~~~~
> ../src/addon.cc:76:1: note: in expansion of macro ‘NODE_MODULE’
>    76 | NODE_MODULE(addon, InitAddon)
>       | ^~~~~~~~~~~
>   SOLINK_MODULE(target) Release/obj.target/addon.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-libpq_1.8.12+~1.8.10-2_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