Source: 7zip Version: 21.03~beta+dfsg-5 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -pipe -Wdate-time > -D_FORTIFY_SOURCE=2 -O2 -c -Wall -Werror -Wextra -Waddress > -Waddress-of-packed-member -Waggressive-loop-optimizations -Wattributes > -Wbool-compare -Wbool-operation -Wcast-align -Wcast-align=strict -Wcomment > -Wdangling-else -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond > -Wformat-contains-nul -Wimplicit-fallthrough=5 -Winit-self > -Wint-in-bool-context -Wint-to-pointer-cast -Wunused -Wunused-macros > -Wconversion -Wmaybe-uninitialized -Wmisleading-indentation -DNDEBUG > -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -o b/g/XzDec.o > ../../../../C/XzDec.c > ../../../../C/XzDec.c: In function ‘XzBlock_Parse’: > ../../../../C/XzDec.c:776:3: error: this ‘if’ clause does not guard... > [-Werror=misleading-indentation] > 776 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } > | ^~ > ../../../../C/XzDec.c:823:5: note: in expansion of macro > ‘READ_VARINT_AND_CHECK’ > 823 | READ_VARINT_AND_CHECK(header, pos, headerSize, &p->packSize); > | ^~~~~~~~~~~~~~~~~~~~~ > ../../../../C/XzDec.c:823:35: note: ...this statement, but the latter is > misleadingly indented as if it were guarded by the ‘if’ > 823 | READ_VARINT_AND_CHECK(header, pos, headerSize, &p->packSize); > | ^~~ > ../../../../C/XzDec.c:776:40: note: in definition of macro > ‘READ_VARINT_AND_CHECK’ > 776 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } > | ^~~ > ../../../../C/XzDec.c:776:3: error: this ‘if’ clause does not guard... > [-Werror=misleading-indentation] > 776 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } > | ^~ > ../../../../C/XzDec.c:830:5: note: in expansion of macro > ‘READ_VARINT_AND_CHECK’ > 830 | READ_VARINT_AND_CHECK(header, pos, headerSize, &p->unpackSize); > | ^~~~~~~~~~~~~~~~~~~~~ > ../../../../C/XzDec.c:830:35: note: ...this statement, but the latter is > misleadingly indented as if it were guarded by the ‘if’ > 830 | READ_VARINT_AND_CHECK(header, pos, headerSize, &p->unpackSize); > | ^~~ > ../../../../C/XzDec.c:776:40: note: in definition of macro > ‘READ_VARINT_AND_CHECK’ > 776 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } > | ^~~ > ../../../../C/XzDec.c:776:3: error: this ‘if’ clause does not guard... > [-Werror=misleading-indentation] > 776 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } > | ^~ > ../../../../C/XzDec.c:837:5: note: in expansion of macro > ‘READ_VARINT_AND_CHECK’ > 837 | READ_VARINT_AND_CHECK(header, pos, headerSize, &filter->id); > | ^~~~~~~~~~~~~~~~~~~~~ > ../../../../C/XzDec.c:837:35: note: ...this statement, but the latter is > misleadingly indented as if it were guarded by the ‘if’ > 837 | READ_VARINT_AND_CHECK(header, pos, headerSize, &filter->id); > | ^~~ > ../../../../C/XzDec.c:776:40: note: in definition of macro > ‘READ_VARINT_AND_CHECK’ > 776 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } > | ^~~ > ../../../../C/XzDec.c:776:3: error: this ‘if’ clause does not guard... > [-Werror=misleading-indentation] > 776 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } > | ^~ > ../../../../C/XzDec.c:838:5: note: in expansion of macro > ‘READ_VARINT_AND_CHECK’ > 838 | READ_VARINT_AND_CHECK(header, pos, headerSize, &size); > | ^~~~~~~~~~~~~~~~~~~~~ > ../../../../C/XzDec.c:838:35: note: ...this statement, but the latter is > misleadingly indented as if it were guarded by the ‘if’ > 838 | READ_VARINT_AND_CHECK(header, pos, headerSize, &size); > | ^~~ > ../../../../C/XzDec.c:776:40: note: in definition of macro > ‘READ_VARINT_AND_CHECK’ > 776 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } > | ^~~ > cc1: all warnings being treated as errors > make[2]: *** [../../7zip_gcc.mak:1167: b/g/XzDec.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2021/10/23/7zip_21.03~beta+dfsg-5_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.