Bug#1086470: ogdi-dfsg FTBFS on 32-bit with 64-bit time_t with gcc 14
Adrian Bunk
bunk at debian.org
Wed Oct 30 22:00:28 GMT 2024
Source: ogdi-dfsg
Version: 4.1.1+ds-4
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/logs.php?pkg=ogdi-dfsg&ver=4.1.1%2Bds-4%2Bb1
...
../asyncsvr.c: In function ‘gltpd_svc_run’:
../asyncsvr.c:553:14: error: passing argument 1 of ‘time’ from incompatible pointer type [-Wincompatible-pointer-types]
553 | time(¤ttime);
| ^~~~~~~~~~~~
| |
| long int *
In file included from /usr/include/features.h:510,
from /usr/include/arm-linux-gnueabihf/sys/types.h:25,
from /usr/include/tirpc/rpc/types.h:41,
from /usr/include/tirpc/rpc/rpc.h:38,
from /<<PKGBUILDDIR>>/ogdi/include/ecs.h:9,
from ../asyncsvr.c:51:
/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);
| ^~~~~~~~~~~~~~
../asyncsvr.c:574:12: error: passing argument 1 of ‘time’ from incompatible pointer type [-Wincompatible-pointer-types]
574 | time(&timecount);
| ^~~~~~~~~~
| |
| long int *
/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[5]: *** [<builtin>: asyncsvr.o] Error 1
More information about the Pkg-grass-devel
mailing list