Source: liboobs
Version: 3.0.0-4
Severity: serious
Tags: ftbfs trixie sid
https://buildd.debian.org/status/fetch.php?pkg=liboobs&arch=armhf&ver=3.0.0-4%2Bb4&stamp=1730211613&raw=
...
oobs-timeconfig.c: In function 'real_get_time':
oobs-timeconfig.c:377:18: error: passing argument 1 of 'gmtime' from
incompatible pointer type [-Wincompatible-pointer-types]
377 | tm = gmtime (&unix_time);
| ^~~~~~~~~~
| |
| glong * {aka 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/limits.h:26,
from /usr/lib/gcc/arm-linux-gnueabihf/14/include/limits.h:210,
from /usr/lib/gcc/arm-linux-gnueabihf/14/include/syslimits.h:7,
from /usr/lib/gcc/arm-linux-gnueabihf/14/include/limits.h:34,
from
/usr/lib/arm-linux-gnueabihf/glib-2.0/include/glibconfig.h:11,
from /usr/include/glib-2.0/glib/gtypes.h:34:
/usr/include/time.h:140:18: note: expected 'const time_t *' {aka 'const long
long int *'} but argument is of type 'glong *' {aka 'long int *'}
140 | extern struct tm*__REDIRECT_NTH (gmtime, (const time_t *__timer),
__gmtime64);
| ^~~~~~~~~~~~~~
oobs-timeconfig.c:379:21: error: passing argument 1 of 'localtime' from
incompatible pointer type [-Wincompatible-pointer-types]
379 | tm = localtime (&unix_time);
| ^~~~~~~~~~
| |
| glong * {aka long int *}
/usr/include/time.h:141:19: note: expected 'const time_t *' {aka 'const long
long int *'} but argument is of type 'glong *' {aka 'long int *'}
141 | extern struct tm *__REDIRECT_NTH (localtime, (const time_t *__timer),
| ^~~~~~~~~~~~~~
...