[Pkg-electronics-devel] Bug#1105401: iverilog: FTBFS with make --shuffle=reverse: mv: cannot move 't-dll-proc.d' to 'dep/t-dll-proc.d': No such file or directory

Lucas Nussbaum lucas at debian.org
Tue May 13 20:01:40 BST 2025


Source: iverilog
Version: 12.0-2
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/iverilog-12.0'
> Makefile:232: update target 'iverilog-vpi' due to: target does not exist
> sed -e 's;@SHARED@;-shared;' -e 's;@PIC@;-fPIC;' \
>     -e 's;@SUFFIX@;;' \
>     -e 's;@IVCC@;cc;' \
>     -e 's;@IVCXX@;g++;' \
>     -e 's;@IVCFLAGS@;-Wall -Wextra -Wshadow -Wstrict-prototypes  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/iverilog-12.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection;' \
>     -e 's;@IVCXXFLAGS@;-Wall -Wextra -Wshadow   -g -O2 -ffile-prefix-map=/build/reproducible-path/iverilog-12.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++11;' \
>     -e 's;@IVCTARGETFLAGS@;;' \
>     -e 's;@INCLUDEDIR@;/usr/include/iverilog;' \
>     -e 's;@LIBDIR@;/usr/lib/x86_64-linux-gnu;' iverilog-vpi.sh > iverilog-vpi
> Makefile:294: update target 'version_tag.h' due to: target does not exist
> if false && test -d ./.git; then \
>     echo "Using git-describe for VERSION_TAG"; \
>     tmp=`(cd . && none describe --always --dirty) \
> 	   | sed -e 's;\(.*\);#define VERSION_TAG "\1";'`; \
>     echo "$tmp" | diff - version_tag.h > /dev/null 2>&1 || echo "$tmp" > version_tag.h || exit 1; \
> elif test -r ./version_tag.h; then \
>     echo "Using ./version_tag.h for VERSION_TAG"; \
>     diff ./version_tag.h version_tag.h > /dev/null 2>&1 || cp ./version_tag.h version_tag.h; \
> else \
>     echo "Using empty VERSION_TAG"; \
>     echo '#define VERSION_TAG ""' > version_tag.h; \
> fi
> Makefile:248: update target 't-dll-analog.o' due to: target does not exist
> g++ -DHAVE_CONFIG_H -I. -Ilibmisc -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow   -g -O2 -ffile-prefix-map=/build/reproducible-path/iverilog-12.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++11 -MD -c t-dll-analog.cc -o t-dll-analog.o
> Makefile:248: update target 't-dll-proc.o' due to: target does not exist
> g++ -DHAVE_CONFIG_H -I. -Ilibmisc -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow   -g -O2 -ffile-prefix-map=/build/reproducible-path/iverilog-12.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++11 -MD -c t-dll-proc.cc -o t-dll-proc.o
> Using empty VERSION_TAG
> chmod +x iverilog-vpi
> Makefile:248: update target 't-dll-expr.o' due to: target does not exist
> g++ -DHAVE_CONFIG_H -I. -Ilibmisc -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow   -g -O2 -ffile-prefix-map=/build/reproducible-path/iverilog-12.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++11 -MD -c t-dll-expr.cc -o t-dll-expr.o
> Makefile:248: update target 't-dll-api.o' due to: target does not exist
> g++ -DHAVE_CONFIG_H -I. -Ilibmisc -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow   -g -O2 -ffile-prefix-map=/build/reproducible-path/iverilog-12.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++11 -MD -c t-dll-api.cc -o t-dll-api.o
> Makefile:248: update target 't-dll.o' due to: target does not exist
> g++ -DHAVE_CONFIG_H -I. -Ilibmisc -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow   -g -O2 -ffile-prefix-map=/build/reproducible-path/iverilog-12.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++11 -MD -c t-dll.cc -o t-dll.o
> Makefile:263: update target 'syn-rules.cc' due to: target does not exist
> bison --verbose -t -p syn_ -o syn-rules.cc syn-rules.y
> Makefile:248: update target 'synth2.o' due to: target does not exist
> g++ -DHAVE_CONFIG_H -I. -Ilibmisc -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow   -g -O2 -ffile-prefix-map=/build/reproducible-path/iverilog-12.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++11 -MD -c synth2.cc -o synth2.o
> Makefile:248: update target 'synth.o' due to: target does not exist
> g++ -DHAVE_CONFIG_H -I. -Ilibmisc -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow   -g -O2 -ffile-prefix-map=/build/reproducible-path/iverilog-12.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++11 -MD -c synth.cc -o synth.o
> Makefile:248: update target 'nodangle.o' due to: target does not exist
> g++ -DHAVE_CONFIG_H -I. -Ilibmisc -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow   -g -O2 -ffile-prefix-map=/build/reproducible-path/iverilog-12.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++11 -MD -c nodangle.cc -o nodangle.o
> mv t-dll-proc.d dep/t-dll-proc.d
> mv: cannot move 't-dll-proc.d' to 'dep/t-dll-proc.d': No such file or directory
> make[1]: *** [Makefile:249: t-dll-proc.o] Error 1 shuffle=reverse


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/iverilog_12.0-2_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-electronics-devel mailing list