Source: gnushogi
Version: 1.3.2-7
Severity: serious
Tags: wheezy sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20110923 qa-ftbfs hardening-format-security hardening
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 
> -Wformat -Wformat-security -Werror=format-security -Wall -fsigned-char 
> -funroll-loops -DHASHFILE=\"/usr/lib/gnushogi/gnushogi.hsh\" -Wall 
> -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic 
> -I/build/gnushogi-i5HorX/gnushogi-1.3.2/. -I../ -I. 
> -DBOOK=\"/usr/lib/gnushogi/gnushogi.tbk\" 
> -DBINBOOK=\"/usr/lib/gnushogi/gnushogi.bbk\" -c 
> /build/gnushogi-i5HorX/gnushogi-1.3.2/./gnushogi/book.c
> /build/gnushogi-i5HorX/gnushogi-1.3.2/./gnushogi/book.c: In function 
> 'BVerifyMove':
> /build/gnushogi-i5HorX/gnushogi-1.3.2/./gnushogi/book.c:296:13: error: format 
> not a string literal and no format arguments [-Werror=format-security]
> /build/gnushogi-i5HorX/gnushogi-1.3.2/./gnushogi/book.c: In function 
> 'GetOpenings':
> /build/gnushogi-i5HorX/gnushogi-1.3.2/./gnushogi/book.c:652:20: warning: 
> variable 'xside' set but not used [-Wunused-but-set-variable]
> /build/gnushogi-i5HorX/gnushogi-1.3.2/./gnushogi/book.c:707:18: warning: 
> ignoring return value of 'write', declared with attribute warn_unused_result 
> [-Wunused-result]
> /build/gnushogi-i5HorX/gnushogi-1.3.2/./gnushogi/book.c:713:22: warning: 
> ignoring return value of 'write', declared with attribute warn_unused_result 
> [-Wunused-result]
> /build/gnushogi-i5HorX/gnushogi-1.3.2/./gnushogi/book.c:748:29: warning: 
> ignoring return value of 'write', declared with attribute warn_unused_result 
> [-Wunused-result]
> /build/gnushogi-i5HorX/gnushogi-1.3.2/./gnushogi/book.c:786:45: warning: 
> ignoring return value of 'write', declared with attribute warn_unused_result 
> [-Wunused-result]
> /build/gnushogi-i5HorX/gnushogi-1.3.2/./gnushogi/book.c:834:21: warning: 
> ignoring return value of 'write', declared with attribute warn_unused_result 
> [-Wunused-result]
> /build/gnushogi-i5HorX/gnushogi-1.3.2/./gnushogi/book.c:843:13: warning: 
> ignoring return value of 'write', declared with attribute warn_unused_result 
> [-Wunused-result]
> /build/gnushogi-i5HorX/gnushogi-1.3.2/./gnushogi/book.c:847:13: warning: 
> ignoring return value of 'write', declared with attribute warn_unused_result 
> [-Wunused-result]
> cc1: some warnings being treated as errors
> 
> make[2]: *** [book.o] Error 1

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2011/09/23/gnushogi_1.3.2-7_lsid64.buildlog

This happened because since dpkg 1.16.0 [0], hardening flags are enabled 
under various conditions.

[0] http://lists.debian.org/debian-devel-announce/2011/09/msg00001.html

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.



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to