Source: pngphoon
Version: 1.3-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org

https://buildd.debian.org/status/fetch.php?pkg=pngphoon&arch=armhf&ver=1.3-3%2Bb1&stamp=1709981075&raw=0

tws.c:40:13: error: conflicting types for ‘time’; have ‘long int()’
   40 | extern long time();
      |             ^~~~
In file included from /usr/include/features.h:490,
                 from 
/usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from tws.c:29:
/usr/include/time.h:86:15: note: previous declaration of ‘time’ with type 
‘time_t(time_t *)’ {aka ‘long long int(long long int *)’}
   86 | extern time_t __REDIRECT_NTH (time, (time_t *__timer), __time64);
      |               ^~~~~~~~~~~~~~
tws.c: In function ‘dlocaltime’:
tws.c:72:20: warning: passing argument 1 of ‘localtime’ from incompatible 
pointer type [-Wincompatible-pointer-types]
   72 |    tm = localtime( clock );
      |                    ^~~~~
      |                    |
      |                    long int *
/usr/include/time.h:141:19: note: expected ‘const time_t *’ {aka ‘const long 
long int *’} but argument is of type ‘long int *’
  141 | extern struct tm *__REDIRECT_NTH (localtime, (const time_t *__timer),
      |                   ^~~~~~~~~~~~~~
make[1]: *** [Makefile:12: tws.o] Error 1

Cheers
-- 
Sebastian Ramacher

Reply via email to