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

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


Source: node-modern-syslog
Version: 1.2.0-4
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/core/core.o
> In file included from ../core.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)
>       |   ^~~~~~~~~~~~~
> ../core.cc:190:1: note: in expansion of macro ‘NODE_MODULE’
>   190 | NODE_MODULE(core, Init);
>       | ^~~~~~~~~~~
>   SOLINK_MODULE(target) Release/obj.target/core.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-modern-syslog_1.2.0-4_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