[Pkg-javascript-devel] Bug#1105523: node-undici: FTBFS with make --shuffle=reverse: cp: cannot stat 'build/llhttp.h': No such file or directory
Lucas Nussbaum
lucas at debian.org
Tue May 13 20:09:41 BST 2025
Source: node-undici
Version: 7.3.0+dfsg1+~cs24.12.11-1
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-shuffle
Hi,
GNU Make now has a --shuffle option that simulates non-deterministic ordering
of target prerequisites. See
https://trofi.github.io/posts/238-new-make-shuffle-mode.html and also previous
work in Debian by Santiago Vila:
https://people.debian.org/~sanvila/make-shuffle/
This package fails to build with make --shuffle=reverse.
This is likely to be caused by a missing dependency in
debian/rules or an upstream Makefile.
More information about this mass bug filing is available at
https://wiki.debian.org/qa.debian.org/FTBFS/Shuffle
Relevant part (hopefully):
> make[1]: Entering directory '/build/reproducible-path/node-undici-7.3.0+dfsg1+~cs24.12.11/llhttp'
> Makefile:44: update target 'build/native' due to: target does not exist
> mkdir -p build/native
> Makefile:85: update target 'generate' due to: target is .PHONY
> ts-node bin/generate.ts
> Makefile:38: update target 'build/native/http.o' due to: target does not exist
> clang -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/node-undici-7.3.0+dfsg1+~cs24.12.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -gdwarf-4 -Os -g3 -Wall -Wextra -Wno-unused-parameter -fPIC -Ibuild/ -c src/native/http.c -o build/native/http.o
> Makefile:38: update target 'build/native/api.o' due to: target does not exist
> clang -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/node-undici-7.3.0+dfsg1+~cs24.12.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -gdwarf-4 -Os -g3 -Wall -Wextra -Wno-unused-parameter -fPIC -Ibuild/ -c src/native/api.c -o build/native/api.o
> Makefile:34: update target 'build/c/llhttp.o' due to: target does not exist
> clang -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/node-undici-7.3.0+dfsg1+~cs24.12.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -gdwarf-4 -Os -g3 -Wall -Wextra -Wno-unused-parameter -fPIC -Ibuild/ -c build/c/llhttp.c -o build/c/llhttp.o
> Makefile:27: update target 'build/libllhttp.so' due to: target does not exist
> clang -shared build/c/llhttp.o build/native/api.o build/native/http.o -Wl,-soname,libllhttp.so.9.2.1 -o build/libllhttp.so
> Makefile:31: update target 'build/libllhttp.a' due to: target does not exist
> ar rcs build/libllhttp.a build/c/llhttp.o build/native/api.o build/native/http.o
> Makefile:22: update target 'clean' due to: target is .PHONY
> rm -rf release/
> rm -rf build/
> Makefile:47: update target 'release' due to: target is .PHONY
> echo "9.2.1" | grep -q -E ".+" || { echo "Please make sure the RELEASE argument is set."; exit 1; }
> rm -rf release
> mkdir -p release/src
> mkdir -p release/include
> cp -rf build/llhttp.h release/include/
> cp: cannot stat 'build/llhttp.h': No such file or directory
> make[1]: *** [Makefile:51: release] Error 1 shuffle=reverse
The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/node-undici_7.3.0+dfsg1+~cs24.12.11-1_unstable_reverse.log
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
More information about the Pkg-javascript-devel
mailing list