Source: procenv
Version: 0.50-1.1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200802 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I. -I.. -I . -I ./platform -I ./platform/linux -D
> PROCENV_PLATFORM_LINUX -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic
> -std=gnu99 -Wall -Wunused -fstack-protector -Wformat -fdata-sections
> -ffunction-sections -Werror -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -c -o
> platform/linux/procenv-platform.o `test -f 'platform/linux/platform.c' ||
> echo './'`platform/linux/platform.c
> platform/linux/platform.c: In function ‘handle_proc_branch_linux’:
> platform/linux/platform.c:1266:21: error: ‘%s’ directive writing up to 1017
> bytes into a region of size 16 [-Werror=format-overflow=]
> 1265 | p += 1+strlen ("Name:"); /* jump over tab char */
> | ~~~~~~~~~~~~~~~~~~~~~~~
> 1266 | sprintf (name, "%s", p);
> | ^~
> In file included from /usr/include/stdio.h:867,
> from ./platform.h:22,
> from platform/linux/platform-linux.h:25,
> from platform/linux/platform.c:19:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note:
> ‘__builtin___sprintf_chk’ output between 1 and 1018 bytes into a destination
> of size 16
> 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 37 | __bos (__s), __fmt, __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> platform/linux/platform.c:1271:21: error: ‘%s’ directive writing up to 1017
> bytes into a region of size 16 [-Werror=format-overflow=]
> 1270 | p += 1+strlen ("PPid:"); /* jump over tab char */
> | ~~~~~~~~~~~~~~~~~~~~~~~
> 1271 | sprintf (ppid, "%s", p);
> | ^~
> In file included from /usr/include/stdio.h:867,
> from ./platform.h:22,
> from platform/linux/platform-linux.h:25,
> from platform/linux/platform.c:19:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note:
> ‘__builtin___sprintf_chk’ output between 1 and 1018 bytes into a destination
> of size 16
> 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 37 | __bos (__s), __fmt, __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[3]: *** [Makefile:786: platform/linux/procenv-platform.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/08/02/procenv_0.50-1.1_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!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.