Bug#646449: libosip2: FTBFS: osip_message_parse.c:850:5: 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:08:24 UTC 2011


Source: libosip2
Version: 3.3.0-1
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:
>  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -Wall -Wcast-align -Wchar-subscripts -Wformat -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -DUSE_GPERF -pedantic -g -DENABLE_TRACE -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -c osip_message_parse.c  -fPIC -DPIC -o .libs/osip_message_parse.o
> osip_message_parse.c: In function 'msg_osip_body_parse':
> osip_message_parse.c:800:15: warning: format '%i' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat]
> osip_message_parse.c:850:5: error: format not a string literal and no format arguments [-Werror=format-security]
> cc1: some warnings being treated as errors
> 
> make[4]: *** [osip_message_parse.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/10/22/libosip2_3.3.0-1_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-voip-maintainers mailing list