Source: whowatch
Version: 1.8.6-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20241223 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, this package failed to build
on armhf.
This package currently has binary packages on armhf, so this is a regression.
Also, there are no known issues on amd64 or arm64 according to recent (a couple
days ago) rebuilds.
The rebuild was done using an armhf chroot on an AWS "m6g" instance (Graviton2
CPU).
Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -fstack-clash-protection -Wformat
> -Werror=format-security -c -o proc_plugin.o proc_plugin.c
> proc_plugin.c: In function ‘get_boot_time’:
> proc_plugin.c:410:26: warning: format ‘%ld’ expects argument of type ‘long
> int *’, but argument 3 has type ‘time_t *’ {aka ‘long long int *’} [-Wformat=]
> 410 | sscanf(buf+5, "%ld", &boot_time);
> | ~~^ ~~~~~~~~~~
> | | |
> | | time_t * {aka long long int *}
> | long int *
> | %lld
> proc_plugin.c: In function ‘proc_starttime’:
> proc_plugin.c:427:19: error: passing argument 1 of ‘ctime’ from incompatible
> pointer type [-Wincompatible-pointer-types]
> 427 | s = ctime(&sec);
> | ^~~~
> | |
> | long unsigned int *
> In file included from /usr/include/features.h:510,
> from /usr/include/err.h:22,
> from proc_plugin.c:8:
> /usr/include/time.h:186:14: note: expected ‘const time_t *’ {aka ‘const long
> long int *’} but argument is of type ‘long unsigned int *’
> 186 | extern char *__REDIRECT_NTH (ctime, (const time_t *__timer),
> __ctime64);
> | ^~~~~~~~~~~~~~
> make[3]: *** [Makefile:424: proc_plugin.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/12/23/whowatch_1.8.6-1_unstable-armhf.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241223;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241223&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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 mark 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.