Your message dated Sat, 02 Dec 2023 13:37:58 +0000
with message-id <[email protected]>
and subject line Bug#1050359: Removed package(s) from unstable
has caused the Debian Bug report #646266,
regarding gpr: 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.)
--
646266: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646266
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gpr
Version: 0.15deb-2
Severity: normal
User: [email protected]
Usertags: hardening-format-security hardening
the package gpr fails to compile with the new hardened compiler
flags dpkg-buildflag outputs [0].
The problematic flag is: -Werror=format-security
See the ubuntu buildlog:
https://launchpadlibrarian.net/83137720/buildlog_ubuntu-precise-i386.gpr_0.15deb-2_FAILEDTOBUILD.txt.gz
Snippet:
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/pango-1.0 -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Wformat-security
-Werror=format-security -Wall -MT gpr-callbacks.o -MD -MP -MF
.deps/gpr-callbacks.Tpo -c -o gpr-callbacks.o `test -f 'callbacks.c' ||
echo './'`callbacks.c
callbacks.c: In function 'set_printer_name':
callbacks.c:517:7: error: format not a string literal and no format
arguments [-Werror=format-security]
callbacks.c:536:7: error: format not a string literal and no format
arguments [-Werror=format-security]
callbacks.c: In function 'warn_constaints':
callbacks.c:875:2: error: format not a string literal and no format
arguments [-Werror=format-security]
callbacks.c: In function 'send_print':
callbacks.c:629:7: warning: ignoring return value of 'fgets', declared
with attribute warn_unused_result [-Wunused-result]
callbacks.c:750:11: warning: ignoring return value of 'system', declared
with attribute warn_unused_result [-Wunused-result]
cc1: some warnings being treated as errors
The buildflags are not exported in debian, but can be enabled e.g. by
adding this to debian/rules:
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
Please fix the issues and maybe also enable the hardened build in debian.
[0] http://lists.debian.org/debian-devel-announce/2011/09/msg00001.html
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Version: 0.15deb-2+rm
Dear submitter,
as the package gpr has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/1050359
The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)
--- End Message ---