Source: lzma Version: 24.08+dfsg-2 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past)
lzma fails to build from source. This has also been reproduced by reproducible builds at https://tests.reproducible-builds.org/debian/rbuild/unstable/arm64/lzma_24.08+dfsg-2.rbuild.log.gz | cc -g -O2 -ffile-prefix-map=/build/reproducible-path/lzma-24.08+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -c -Wall -Werror -Wextra -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o LzmaUtil.o ../../../C/Util/Lzma/LzmaUtil.c | cc -g -O2 -ffile-prefix-map=/build/reproducible-path/lzma-24.08+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -c -Wall -Werror -Wextra -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o Threads.o ../../../C/Threads.c | In function 'Convert_unsigned_To_str', | inlined from 'Print_unsigned' at ../../../C/Util/Lzma/LzmaUtil.c:64:3: | ../../../C/Util/Lzma/LzmaUtil.c:52:30: error: writing 16 bytes into a region of size 15 [-Werror=stringop-overflow=] | 52 | while (i != 0) { i--; *s++ = (charType)temp[i]; } \ | | ~~~~~^~~~~~~~~~~~~~~~~~~ | ../../../C/Util/Lzma/LzmaUtil.c:58:3: note: in expansion of macro 'CONVERT_INT_TO_STR' | 58 | CONVERT_INT_TO_STR(char, 32) | | ^~~~~~~~~~~~~~~~~~ | ../../../C/Util/Lzma/LzmaUtil.c: In function 'Print_unsigned': | ../../../C/Util/Lzma/LzmaUtil.c:63:8: note: at offset 17 into destination object 'str' of size 32 | 63 | char str[32]; | | ^~~ | cc1: all warnings being treated as errors | make[2]: *** [../../7zip_gcc_c.mak:354: LzmaUtil.o] Error 1 | make[2]: *** Waiting for unfinished jobs.... | make[2]: Leaving directory '/build/reproducible-path/lzma-24.08+dfsg/C/Util/Lzma' Helmut

