Actions
Bug #406
closedalfred-gpsd: Fails to build with libgps 3.20(-3)
Start date:
01/15/2020
Due date:
% Done:
100%
Estimated time:
Description
Just got following FTBFS error report from Debian (sid):
ake[3]: Entering directory '/<<PKGBUILDDIR>>/gpsd' gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -pedantic -Wall -W -std=gnu99 -fno-strict-aliasing -MD -MP -I/usr/include/libnl3 -I/usr/include/libnl3 -pedantic -Wall -W -std=gnu99 -fno-strict-aliasing -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DCONFIG_ALFRED_CAPABILITIES -D_GNU_SOURCE -c -o alfred-gpsd.o alfred-gpsd.c alfred-gpsd.c: In function ‘gpsd_get_location’: alfred-gpsd.c:85:3: error: unknown type name ‘timestamp_t’ 85 | timestamp_t now = timestamp(); | ^~~~~~~~~~~ alfred-gpsd.c:85:21: warning: implicit declaration of function ‘timestamp’; did you mean ‘timercmp’? [-Wimplicit-function-declaration] 85 | timestamp_t now = timestamp(); | ^~~~~~~~~ | timercmp alfred-gpsd.c:92:4: warning: implicit declaration of function ‘unix_to_iso8601’; did you mean ‘now_to_iso8601’? [-Wimplicit-function-declaration] 92 | unix_to_iso8601(now, tbuf, sizeof(tbuf)), | ^~~~~~~~~~~~~~~ | now_to_iso8601 alfred-gpsd.c:88:4: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat=] 88 | "{\"class\":\"TPV\",\"device\":\"command line\"," | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 92 | unix_to_iso8601(now, tbuf, sizeof(tbuf)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int alfred-gpsd.c:89:17: note: format string is defined here 89 | "\"time\":\"%s\"," | ~^ | | | char * | %d
Actions