Adrian Bunk
2024-10-16 16:50:01 UTC
Reply
PermalinkVersion: 3.2.1-2
Severity: serious
Tags: ftbfs patch
X-Debbugs-Cc: Alexandre Detiste <***@debian.org>
https://tests.reproducible-builds.org/debian/rb-pkg/trixie/armhf/xpenguins.html
https://buildd.debian.org/status/logs.php?pkg=xpenguins&ver=3.2.3-1
...
xpenguins_core.c: In function âxpenguins_startâ:
xpenguins_core.c:155:18: error: passing argument 1 of âtimeâ from incompatible pointer type [-Wincompatible-pointer-types]
155 | srand(time((long *) NULL)); // superfluous
| ^
| |
| long int *
In file included from /usr/include/features.h:510,
from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
from /usr/include/stdio.h:28,
from xpenguins_core.c:21:
/usr/include/time.h:85:15: note: expected âtime_t *â {aka âlong long int *â} but argument is of type âlong int *â
85 | extern time_t __REDIRECT_NTH (time, (time_t *__timer), __time64);
| ^~~~~~~~~~~~~~
make[3]: *** [Makefile:513: xpenguins-xpenguins_core.o] Error 1
The fix is attached.