Source: udpkg Version: 1.21 Severity: minor Tags: trixie sid ftbfs User: [email protected] 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/udpkg-1.21' > <builtin>: update target 'udpkg.o' due to: target does not exist > gcc -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/build/reproducible-path/udpkg-1.21=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -W -Wall -Wall -Wwrite-strings > -Wmissing-prototypes -D_GNU_SOURCE -DADMINDIR=\"/var/lib/dpkg\" > -DARCH_TEXT='"amd64"' -DOS_TEXT='"linux"' -Os -fomit-frame-pointer > -Wdate-time -D_FORTIFY_SOURCE=2 -c -o udpkg.o udpkg.c > udpkg.c: In function ‘dpkg_dounpack’: > udpkg.c:296:65: warning: ‘%s’ directive output may be truncated writing up to > 1023 bytes into a region of size 1010 [-Wformat-truncation=] > 296 | "trimtemplates %s", > buf2); > | ^~ > ~~~~ > In file included from /usr/include/stdio.h:970, > from udpkg.h:4, > from udpkg.c:1: > In function ‘snprintf’, > inlined from ‘dpkg_dounpack’ at udpkg.c:295:6: > /usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: > ‘__builtin___snprintf_chk’ output between 15 and 1038 bytes into a > destination of size 1024 > 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 69 | __glibc_objsize (__s), __fmt, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 70 | __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~ > udpkg.c: In function ‘dpkg_dounpack’: > udpkg.c:300:75: warning: ‘%s’ directive output may be truncated writing up to > 1023 bytes into a region of size 1002 [-Wformat-truncation=] > 300 | > "debconf-loadtemplate %s %s", > | > ^~ > 301 | pkg->package, buf2); > | ~~~~ > > In function ‘snprintf’, > inlined from ‘dpkg_dounpack’ at udpkg.c:299:6: > /usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: > ‘__builtin___snprintf_chk’ output 23 or more bytes (assuming 1046) into a > destination of size 1024 > 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 69 | __glibc_objsize (__s), __fmt, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 70 | __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~ > udpkg.c: In function ‘dpkg_doconfigure’: > udpkg.c:125:50: warning: ‘%s’ directive output may be truncated writing up to > 1023 bytes into a region of size 1019 [-Wformat-truncation=] > 125 | snprintf(buf, sizeof(buf), "exec %s configure", > config); > | ^~ ~~~~~~ > In function ‘snprintf’, > inlined from ‘dpkg_doconfigure’ at udpkg.c:125:3: > /usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: > ‘__builtin___snprintf_chk’ output between 16 and 1039 bytes into a > destination of size 1024 > 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 69 | __glibc_objsize (__s), __fmt, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 70 | __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~ > udpkg.c: In function ‘dpkg_doconfigure’: > udpkg.c:137:50: warning: ‘%s’ directive output may be truncated writing up to > 1023 bytes into a region of size 1019 [-Wformat-truncation=] > 137 | snprintf(buf, sizeof(buf), "exec %s configure", > postinst); > | ^~ > ~~~~~~~~ > In function ‘snprintf’, > inlined from ‘dpkg_doconfigure’ at udpkg.c:137:3: > /usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: > ‘__builtin___snprintf_chk’ output between 16 and 1039 bytes into a > destination of size 1024 > 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 69 | __glibc_objsize (__s), __fmt, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 70 | __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~ > <builtin>: update target 'status.o' due to: target does not exist > gcc -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/build/reproducible-path/udpkg-1.21=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -W -Wall -Wall -Wwrite-strings > -Wmissing-prototypes -D_GNU_SOURCE -DADMINDIR=\"/var/lib/dpkg\" > -DARCH_TEXT='"amd64"' -DOS_TEXT='"linux"' -Os -fomit-frame-pointer > -Wdate-time -D_FORTIFY_SOURCE=2 -c -o status.o status.c > <builtin>: update target 'depends.o' due to: target does not exist > gcc -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/build/reproducible-path/udpkg-1.21=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -W -Wall -Wall -Wwrite-strings > -Wmissing-prototypes -D_GNU_SOURCE -DADMINDIR=\"/var/lib/dpkg\" > -DARCH_TEXT='"amd64"' -DOS_TEXT='"linux"' -Os -fomit-frame-pointer > -Wdate-time -D_FORTIFY_SOURCE=2 -c -o depends.o depends.c > makefile:25: update target 'udpkg' due to: target does not exist > gcc -o udpkg depends.o status.o udpkg.o -ldebian-installer > makefile:28: update target 'clean' due to: target does not exist > rm -f udpkg depends.o status.o udpkg.o *~ > makefile:21: update target 'small' due to: target does not exist > /usr/bin/strip --remove-section=.comment --remove-section=.note udpkg > /usr/bin/strip: 'udpkg': No such file > make[2]: *** [makefile:21: small] Error 1 shuffle=reverse The full build log is available from: http://qa-logs.debian.net/2025/05/05/shuffle/reverse/udpkg_1.21_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

