[Pkg-javascript-devel] Bug#1066419: node-node-pty: FTBFS: ld: cannot find -lnode: No such file or directory
Lucas Nussbaum
lucas at debian.org
Wed Mar 13 12:04:20 GMT 2024
Source: node-node-pty
Version: 1.0.0+ds1+~6.3.0-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/pty/src/unix/pty.o
> ../src/unix/pty.cc: In function ‘void pty_after_waitpid(uv_async_t*)’:
> ../src/unix/pty.cc:609:9: warning: ‘void* memset(void*, int, size_t)’ writing to an object of type ‘class Nan::Persistent<v8::Function>’ with no trivial copy-assignment [-Wclass-memaccess]
> 609 | memset(&baton->cb, -1, sizeof(baton->cb));
> | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from ../../../../usr/share/nodejs/nan/nan.h:411,
> from ../src/unix/pty.cc:20:
> /usr/include/nan_persistent_12_inl.h:12:40: note: ‘class Nan::Persistent<v8::Function>’ declared here
> 12 | template<typename T, typename M> class Persistent :
> | ^~~~~~~~~~
> In file included from ../../../../usr/share/nodejs/nan/nan.h:62:
> ../src/unix/pty.cc: At global scope:
> /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/unix/pty.cc:826:1: note: in expansion of macro ‘NODE_MODULE’
> 826 | NODE_MODULE(pty, init)
> | ^~~~~~~~~~~
> SOLINK_MODULE(target) Release/obj.target/pty.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-node-pty_1.0.0+ds1+~6.3.0-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