[DRE-maint] Bug#672069: ruby-ferret: FTBFS: search.c:1253:5: error: format not a string literal and no format arguments [-Werror=format-security]

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue May 8 11:44:22 UTC 2012


Source: ruby-ferret
Version: 0.11.6-3
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120508 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 -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux -I. -D_FORTIFY_SOURCE=2   -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -fno-strict-aliasing -g -g -O2  -fPIC  -D_FILE_OFFSET_BITS=64  -c search.c
> search.c: In function 'cdfsea_get_doc':
> search.c:1253:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c:1253:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c: In function 'cdfsea_create_weight':
> search.c:1266:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c:1266:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c: In function 'cdfsea_search_w':
> search.c:1275:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c:1275:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c: In function 'cdfsea_search':
> search.c:1284:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c:1284:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c: In function 'cdfsea_search_each':
> search.c:1294:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c:1294:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c: In function 'cdfsea_search_each_w':
> search.c:1303:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c:1303:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c: In function 'cdfsea_explain':
> search.c:1316:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c:1316:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c: In function 'cdfsea_explain_w':
> search.c:1323:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c:1323:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c: In function 'cdfsea_get_term_vector':
> search.c:1331:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c:1331:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c: In function 'cdfsea_get_similarity':
> search.c:1338:5: error: format not a string literal and no format arguments [-Werror=format-security]
> search.c:1338:5: error: format not a string literal and no format arguments [-Werror=format-security]
> cc1: some warnings being treated as errors
> make[1]: *** [search.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/05/08/ruby-ferret_0.11.6-3_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 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-ruby-extras-maintainers mailing list