Source: elfkickers
Version: 0+git20240221+ds-5
Severity: serious
Tags: ftbfs patch

https://tests.reproducible-builds.org/debian/history/elfkickers.html
https://buildd.debian.org/status/fetch.php?pkg=elfkickers&arch=alpha&ver=0%2Bgit20240221%2Bds-6&stamp=1761822604&raw=0

...
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/elfkickers-0+git20240221+ds=. 
-Wformat -Werror=format-security -Wall -pedantic -I../elfrw -Wdate-time 
-D_FORTIFY_SOURCE=2  -c -o elfrw_ver.o elfrw_ver.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/elfkickers-0+git20240221+ds=. 
-Wformat -Werror=format-security -Wall -pedantic -I../elfrw -Wdate-time 
-D_FORTIFY_SOURCE=2  -c -o elfrw_ver.o elfrw_ver.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/elfkickers-0+git20240221+ds=. 
-Wformat -Werror=format-security -Wall -pedantic -I../elfrw -Wdate-time 
-D_FORTIFY_SOURCE=2  -c -o elfrw_ver.o elfrw_ver.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/elfkickers-0+git20240221+ds=. 
-Wformat -Werror=format-security -Wall -pedantic -I../elfrw -Wdate-time 
-D_FORTIFY_SOURCE=2  -c -o elfrw_ver.o elfrw_ver.c
ar crs libelfrw.a elfrw.o elfrw_dyn.o elfrw_ehdr.o elfrw_phdr.o elfrw_rel.o 
elfrw_shdr.o elfrw_sym.o elfrw_ver.o
make[3]: Leaving directory 
'/build/reproducible-path/elfkickers-0+git20240221+ds/elfrw'
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/elfkickers-0+git20240221+ds=. 
-Wformat -Werror=format-security -Wall -pedantic -I../elfrw -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed  elfls.c 
../elfrw/libelfrw.a   -o elfls
ar crs libelfrw.a elfrw.o elfrw_dyn.o elfrw_ehdr.o elfrw_phdr.o elfrw_rel.o 
elfrw_shdr.o elfrw_sym.o elfrw_ver.o
make[3]: Leaving directory 
'/build/reproducible-path/elfkickers-0+git20240221+ds/elfrw'
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/elfkickers-0+git20240221+ds=. 
-Wformat -Werror=format-security -Wall -pedantic -I../elfrw -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed  rebind.c 
../elfrw/libelfrw.a   -o rebind
ar crs libelfrw.a elfrw.o elfrw_dyn.o elfrw_ehdr.o elfrw_phdr.o elfrw_rel.o 
elfrw_shdr.o elfrw_sym.o elfrw_ver.o
ar: elfrw_ver.o: No such file or directory
make[3]: *** [Makefile:7: libelfrw.a] Error 1


There are race conditions when a package tries to build the same files
four times in parallel.

This is not completely trivial to fix, and given the small buildtime
of this package I'd just suggest:

--- elfkickers-0+git20240221+ds/debian/rules.old        2025-10-30 
16:57:09.587814917 +0000
+++ elfkickers-0+git20240221+ds/debian/rules    2025-10-30 16:57:19.947810905 
+0000
@@ -11,7 +11,7 @@
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 %:
-       dh $@
+       dh $@ --no-parallel
 
 override_dh_auto_install:
        @echo using d/install

Reply via email to