Discussion:
Bug#1085214: xpenguins FTBFS on 32-bit with 64-bit time_t with gcc 14
Add Reply
Adrian Bunk
2024-10-16 16:50:01 UTC
Reply
Permalink
Source: xpenguins
Version: 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.
Debian Bug Tracking System
2024-10-16 22:30:01 UTC
Reply
Permalink
Your message dated Wed, 16 Oct 2024 22:20:29 +0000
with message-id <E1t1CNZ-00G04g-***@fasolo.debian.org>
and subject line Bug#1085214: fixed in xpenguins 3.2.3-2
has caused the Debian Bug report #1085214,
regarding xpenguins FTBFS on 32-bit with 64-bit time_t with gcc 14
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ***@bugs.debian.org
immediately.)
--
1085214: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085214
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...