[Pkg-xfce-devel] Bug#646497: xfce4-mailwatch-plugin: FTBFS: mailwatch-net-conn.c:227:13: error: format not a string literal and no format arguments [-Werror=format-security]

Mònica Ramírez Arceda monica at probeta.net
Mon Oct 24 11:31:24 UTC 2011


Source: xfce4-mailwatch-plugin
Version: 1.1.0-4
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20111022 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -DNDEBUG -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/xfce4 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/p11-kit-1 -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security  -c -o libmailwatch_core_la-mailwatch-net-conn.lo `test -f 'mailwatch-net-conn.c' || echo './'`mailwatch-net-conn.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/xfce4 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/p11-kit-1 -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c mailwatch-net-conn.c  -fPIC -DPIC -o .libs/libmailwatch_core_la-mailwatch-net-conn.o
> mailwatch-net-conn.c: In function 'xfce_mailwatch_net_conn_tls_handshake':
> mailwatch-net-conn.c:227:13: error: format not a string literal and no format arguments [-Werror=format-security]
> mailwatch-net-conn.c: In function 'xfce_mailwatch_net_conn_make_secure':
> mailwatch-net-conn.c:619:5: warning: 'gnutls_certificate_type_set_priority' is deprecated (declared at /usr/include/gnutls/compat.h:347) [-Wdeprecated-declarations]
> mailwatch-net-conn.c:623:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> mailwatch-net-conn.c:625:9: warning: 'gnutls_transport_set_lowat' is deprecated (declared at /usr/include/gnutls/compat.h:351) [-Wdeprecated-declarations]
> mailwatch-net-conn.c: In function 'xfce_mailwatch_net_conn_recv_internal':
> mailwatch-net-conn.c:764:25: error: format not a string literal and no format arguments [-Werror=format-security]
> mailwatch-net-conn.c:774:25: error: format not a string literal and no format arguments [-Werror=format-security]
> mailwatch-net-conn.c:786:25: error: format not a string literal and no format arguments [-Werror=format-security]
> mailwatch-net-conn.c: In function 'xfce_mailwatch_net_conn_recv_line':
> mailwatch-net-conn.c:957:25: warning: format '%d' expects argument of type 'int', but argument 5 has type 'gsize' [-Wformat]
> mailwatch-net-conn.c:957:25: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat]
> cc1: some warnings being treated as errors
> 
> make[3]: *** [libmailwatch_core_la-mailwatch-net-conn.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/10/22/xfce4-mailwatch-plugin_1.1.0-4_lsid64.buildlog

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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the Pkg-xfce-devel mailing list