Bug#837002: aweather: FTBFS: gps.h:1905:21: error: field 'real' has incomplete type
Lucas Nussbaum
lucas at debian.org
Wed Sep 7 22:17:28 UTC 2016
Source: aweather
Version: 0.8.1-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160906 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src/plugins'
> ../../doltlibtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DPKGDATADIR="\"/usr/share/aweather\"" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall --std=gnu99 -DSYS_X11 -pthread -I/usr/include/grits -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o alert_la-alert.lo `test -f 'alert.c' || echo './'`alert.c
> alert.c: In function 'msg_load_cap':
> alert.c:332:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
> if (!id) return FALSE; id++;
> ^~
> alert.c:332:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
> if (!id) return FALSE; id++;
> ^~
> ../../doltlibtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DPKGDATADIR="\"/usr/share/aweather\"" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall --std=gnu99 -DSYS_X11 -pthread -I/usr/include/grits -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o alert_la-alert-info.lo `test -f 'alert-info.c' || echo './'`alert-info.c
> ../../doltlibtool --tag=CC --mode=link gcc -Wall --std=gnu99 -DSYS_X11 -pthread -I/usr/include/grits -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -shared -module -avoid-version -Wl,--as-needed -Wl,-z,relro -o alert.la -rpath /usr/lib/x86_64-linux-gnu/aweather alert_la-alert.lo alert_la-alert-info.lo -lgrits -lX11 -lGL -lGLU -Wl,--export-dynamic -lgmodule-2.0 -pthread -lsoup-2.4 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lgrits -lX11 -lGL -lGLU -Wl,--export-dynamic -lgmodule-2.0 -pthread -lsoup-2.4 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
> libtool: link: gcc -shared -fPIC -DPIC .libs/alert_la-alert.o .libs/alert_la-alert-info.o -lgrits -lX11 -lGL -lGLU -lgmodule-2.0 -lsoup-2.4 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig /usr/lib/x86_64-linux-gnu/libfreetype.so -pthread -O2 -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--export-dynamic -pthread -Wl,--export-dynamic -pthread -pthread -Wl,-soname -Wl,alert.so -o .libs/alert.so
> libtool: link: ( cd ".libs" && rm -f "alert.la" && ln -s "../alert.la" "alert.la" )
> ../../doltlibtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DPKGDATADIR="\"/usr/share/aweather\"" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall --std=gnu99 -DSYS_X11 -pthread -I/usr/include/grits -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o gps_la-gps-plugin.lo `test -f 'gps-plugin.c' || echo './'`gps-plugin.c
> In file included from gps-plugin.c:37:0:
> /usr/include/gps.h:1905:21: error: field 'real' has incomplete type
> struct timespec real;
> ^~~~
> /usr/include/gps.h:1906:21: error: field 'clock' has incomplete type
> struct timespec clock;
> ^~~~~
> Makefile:433: recipe for target 'gps_la-gps-plugin.lo' failed
> make[4]: *** [gps_la-gps-plugin.lo] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2016/09/06/aweather_0.8.1-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the debian-science-maintainers
mailing list