[Pkg-javascript-devel] Bug#1052723: node-undici: FTBFS: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Lucas Nussbaum lucas at debian.org
Tue Sep 26 13:37:46 BST 2023


Source: node-undici
Version: 5.22.1+dfsg1+~cs20.10.10.2-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230925 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>/llhttp'
> rm -rf release/
> rm -rf build/
> ts-node bin/generate.ts
> rm -rf release
> mkdir -p release/src
> mkdir -p release/include
> cp -rf build/llhttp.h release/include/
> cp -rf build/c/llhttp.c release/src/
> cp -rf src/native/*.c release/src/
> cp -rf src/llhttp.gyp release/
> cp -rf src/common.gypi release/
> sed s/_RELEASE_/8.1.1/ CMakeLists.txt > release/CMakeLists.txt
> cp -rf libllhttp.pc.in release/
> cp -rf README.md release/
> cp -rf LICENSE-MIT release/
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/llhttp'
> Found debian/nodejs/./build
> 	cd ./. && sh -ex debian/nodejs/./build
> + mkdir -p deps/llhttp/include deps/llhttp/src
> + cp llhttp/build/c/llhttp.c deps/llhttp/src/
> + cp llhttp/src/native/api.c llhttp/src/native/http.c deps/llhttp/src/
> + cp llhttp/build/llhttp.h deps/llhttp/include/
> + clang -nodefaultlibs --sysroot=/usr -target wasm32-unknown-wasi -Ofast -fno-exceptions -fvisibility=hidden -mexec-model=reactor -Wl,-lc -Wl,-error-limit=0 -Wl,-O3 -Wl,--lto-O3 -Wl,--strip-all -Wl,--allow-undefined -Wl,--export-dynamic -Wl,--export-table -Wl,--export=malloc -Wl,--export=free deps/llhttp/src/api.c deps/llhttp/src/http.c deps/llhttp/src/llhttp.c -Ideps/llhttp/include -o lib/llhttp/llhttp-wasm
> wasm-ld-16: error: entry symbol not defined (pass --no-entry to suppress): rror-limit=0
> clang: error: linker command failed with exit code 1 (use -v to see invocation)


The full build log is available from:
http://qa-logs.debian.net/2023/09/25/node-undici_5.22.1+dfsg1+~cs20.10.10.2-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&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