Your message dated Sun, 16 Sep 2012 15:05:16 +0300
with message-id <[email protected]>
and subject line Bug#646256 Close bts:debian
has caused the Debian Bug report #646256,
regarding FTBFS with -Werror=format-security
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
646256: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646256
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: dlume
Version: 0.2.4-7
Severity: normal
User: [email protected]
Usertags: hardening-format-security hardening
the package dlume fails to compile with the new hardened compiler flags
dpkg-buildflag outputs.
The problematic flag is: -Werror=format-security
See the ubuntu buildlog:
https://launchpadlibrarian.net/83126848/buildlog_ubuntu-precise-i386.dlume_0.2.4-7_FAILEDTOBUILD.txt.gz
Snippet:
gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/libxml2
-Wall -O2 -g -O2 -fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2
-Wformat -Wformat-security -Werror=format-security -c -o dlume-export.o `test
-f 'export.c' || echo './'`export.c
export.c: In function 'export_data_as_html':
export.c:507:5: error: format not a string literal and no format arguments
[-Werror=format-security]
cc1: some warnings being treated as errors
The buildflags are not used in debian, but can be enabled e.g. with
this patch:
--- dlume-0.2.4/debian/rules 2011-09-27 10:36:25.000000000 +0200
+++ /var/cache/pbuilder/build/cow.26132/tmp/dlume-0.2.4/debian/rules
2011-10-22 19:58:40.257905451 +0200
@@ -12,7 +12,7 @@
cp -vf /usr/share/misc/config.guess .
cp -vf $(shell ls /usr/share/automake-*/mkinstalldirs | tail -n 1) .
autoreconf -vfi
- dh_auto_configure
+ dh_auto_configure -- $(shell dpkg-buildflags --export=configure)
override_dh_auto_clean:
# Delete all files that are copied by autoreconf or
override_dh_auto_configure.
Please fix the issues and maybe also enable the hardened build in debian.
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Package: dlume
Version: 0.2.4-9
Reason for close:
Handled, but changelog mentioned wrong bug number 646343 at the time of upload.
--- End Message ---