Source: gfan
Version: 0.3dfsg-1
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:
> g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 
> -Wformat -Wformat-security -Werror=format-security -Wall -DGMPRATIONAL 
> -I/usr/include/cdd -c application.cpp
> application.cpp: In function 'char* tail(char*)':
> application.cpp:32:11: warning: deprecated conversion from string constant to 
> 'char*' [-Wwrite-strings]
> application.cpp: In member function 'virtual char* 
> DocumentationApplication::name()':
> application.cpp:156:12: warning: deprecated conversion from string constant 
> to 'char*' [-Wwrite-strings]
> application.cpp: In member function 'virtual char* 
> InstallationApplication::name()':
> application.cpp:189:12: warning: deprecated conversion from string constant 
> to 'char*' [-Wwrite-strings]
> application.cpp: In member function 'virtual int 
> InstallationApplication::main()':
> application.cpp:193:94: warning: deprecated conversion from string constant 
> to 'char*' [-Wwrite-strings]
> application.cpp: In constructor 'Application::Option::Option()':
> application.cpp:207:8: warning: unused variable 'hidden' [-Wunused-variable]
> application.cpp: In member function 'virtual void Application::printHelp()':
> application.cpp:509:16: warning: unused variable 'p' [-Wunused-variable]
> application.cpp: In static member function 'static void 
> Application::makeSymbolicLinks(char*, bool, const char*)':
> application.cpp:548:22: error: format not a string literal and no format 
> arguments [-Werror=format-security]
> application.cpp:549:15: warning: ignoring return value of 'int system(const 
> char*)', declared with attribute warn_unused_result [-Wunused-result]
> cc1plus: some warnings being treated as errors
> 
> make[1]: *** [application.o] Error 1

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2011/09/23/gfan_0.3dfsg-1_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