Source: logrotate
Version: 3.16.0-3
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.  -include config.h -Wdate-time -D_FORTIFY_SOURCE=2 
> -Wall -Wextra -Wmissing-format-attribute -Wmissing-noreturn -Wpointer-arith 
> -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -Werror -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o logrotate.o logrotate.c
> logrotate.c: In function ‘setSecCtx’:
> logrotate.c:310:5: error: ‘security_context_t’ is deprecated 
> [-Werror=deprecated-declarations]
>   310 |     security_context_t srcCtx;
>       |     ^~~~~~~~~~~~~~~~~~
> logrotate.c:329:5: error: ‘security_context_t’ is deprecated 
> [-Werror=deprecated-declarations]
>   329 |     if (getfscreatecon_raw((security_context_t *)pPrevCtx) < 0) {
>       |     ^~
> logrotate.c: In function ‘restoreSecCtx’:
> logrotate.c:373:5: error: ‘security_context_t’ is deprecated 
> [-Werror=deprecated-declarations]
>   373 |     const security_context_t prevCtx = (security_context_t) *pPrevCtx;
>       |     ^~~~~
> logrotate.c:373:5: error: ‘security_context_t’ is deprecated 
> [-Werror=deprecated-declarations]
> cc1: all warnings being treated as errors
> make[3]: *** [Makefile:519: logrotate.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/08/02/logrotate_3.16.0-3_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.

Reply via email to