Bug#1105269: coccinelle: FTBFS with make --shuffle=reverse: install: cannot create regular file '/build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/bin/spgen': No such file or directory
Source: coccinelle
Version: 1.3.0.deb-1
Severity: minor
Tags: trixie sid ftbfs
User: lucas@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[2]: Entering directory '/build/reproducible-path/coccinelle-1.3.0.deb'
> Makefile:307: update target 'install-bash' due to: target is .PHONY
> if test "x/usr/share/bash-completion/completions" != "xno"; then \
> mkdir -p /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/bash-completion/completions; \
> /usr/bin/install -c -m 644 scripts/spatch.bash_completion \
> /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/bash-completion/completions/spatch; \
> fi
> Makefile:335: update target 'install-man' due to: target is .PHONY
> mkdir -p /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/man/man1
> mkdir -p /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/man/man3
> /usr/bin/install -c -m 644 docs/spatch.1 /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/man/man1/
> /usr/bin/install -c -m 644 docs/pycocci.1 /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/man/man1/
> /usr/bin/install -c -m 644 docs/spgen.1 /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/man/man1/
> /usr/bin/install -c -m 644 docs/Coccilib.3cocci /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/share/man/man3/
> Makefile:349: update target 'install-python' due to: target is .PHONY
> mkdir -p /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/lib/coccinelle/python/coccilib
> /usr/bin/install -c -m 644 python/coccilib/*.py \
> /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/lib/coccinelle/python/coccilib
> Makefile:344: update target 'install-spgen' due to: target is .PHONY
> /usr/bin/install -c -m 755 tools/spgen/source/spgen.opt \
> /build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/bin/spgen
> install: cannot create regular file '/build/reproducible-path/coccinelle-1.3.0.deb/debian/coccinelle/usr/bin/spgen': No such file or directory
> make[2]: *** [Makefile:344: install-spgen] Error 1 shuffle=reverse
The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/coccinelle_1.3.0.deb-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
Reply to: