Bug#713657: gnome-nettool: FTBFS: info.c:235:2: error: format '%lld' expects argument of type 'long long int', but argument 3 has type 'guint64' [-Werror=format=]

David Suárez david.sephirot at gmail.com
Sat Jun 22 13:29:12 UTC 2013


Source: gnome-nettool
Version: 3.8.0-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> gcc -DHAVE_CONFIG_H -I. -I.. -DGNOME_NETTOOL_LOCALEDIR=\""/usr/share/locale"\" -DUI_DIR=\""/usr/share/gnome-nettool/ui/"\" -DPIXMAPS_DIR=\""/usr/share/gnome-nettool/pixmaps"\" -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/libgtop-2.0    -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall  -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs  -c info.c
> info.c: In function 'info_nic_update_stats':
> info.c:235:2: error: format '%lld' expects argument of type 'long long int', but argument 3 has type 'guint64' [-Werror=format=]
>   g_sprintf (rx_pkt, "%lld", netload.packets_in);
>   ^
> info.c:236:2: error: format '%lld' expects argument of type 'long long int', but argument 3 has type 'guint64' [-Werror=format=]
>   g_sprintf (tx_pkt, "%lld", netload.packets_out);
>   ^
> info.c:238:2: error: format '%lld' expects argument of type 'long long int', but argument 3 has type 'guint64' [-Werror=format=]
>   g_sprintf (rx_error, "%lld", netload.errors_in);
>   ^
> info.c:239:2: error: format '%lld' expects argument of type 'long long int', but argument 3 has type 'guint64' [-Werror=format=]
>   g_sprintf (tx_error, "%lld", netload.errors_out);
>   ^
> info.c:241:2: error: format '%lld' expects argument of type 'long long int', but argument 3 has type 'guint64' [-Werror=format=]
>   g_sprintf (collisions, "%lld", netload.collisions);
>   ^
> cc1: some warnings being treated as errors
> make[3]: *** [info.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/06/20/gnome-nettool_3.8.0-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 pkg-gnome-maintainers mailing list