[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#871104: marked as done (gnats: FTBFS: cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security])



Your message dated Mon, 07 Aug 2017 13:04:29 +0000
with message-id <E1dehht-000CPo-1A@fasolo.debian.org>
and subject line Bug#871104: fixed in gnats 4.1.0-5
has caused the Debian Bug report #871104,
regarding gnats: FTBFS: cc1: error: -Wformat-security ignored without -Wformat [-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 owner@bugs.debian.org
immediately.)


-- 
871104: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871104
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: gnats
Version: 4.1.0-4
Severity: serious
Tags: buster sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20170805 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> gcc -c -I. -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -W -Wall -ansi -pedantic  -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wno-format -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DGNATSD_USER_ACCESS_FILE=\"/etc/gnats/gnatsd.user_access\" -DGNATSD_HOST_ACCESS_FILE=\"/etc/gnats/gnatsd.host_access\" -DDEFAULT_GNATS_SERVICE=\"gnats\" -DGLOBAL_DB_LIST_FILE=\"/etc/gnats/databases\" -DGNATS_USER=\"gnats\" edit.c
> cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
> edit.c: In function 'rewrite_pr':
> edit.c:440:7: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
>        asprintf (&dirPath, "%s/%s", databaseDir (database),
>        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    field_value (new_pr, CATEGORY (database)));
>    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> edit.c:473:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
>    asprintf (&bkup_path, "%s.old", old_path);
>    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> edit.c: In function 'lock_pr':
> edit.c:927:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
>        fgets (buf, sizeof (buf) - 1, fp);
>        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> Makefile:174: recipe for target 'edit.o' failed
> make[2]: *** [edit.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2017/08/05/gnats_4.1.0-4_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 EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

--- End Message ---
--- Begin Message ---
Source: gnats
Source-Version: 4.1.0-5

We believe that the bug you reported is fixed in the latest version of
gnats, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 871104@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated gnats package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 07 Aug 2017 15:42:01 +0300
Source: gnats
Binary: gnats-user gnats
Architecture: source
Version: 4.1.0-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Description:
 gnats      - problem report management system - central database
 gnats-user - problem report management system - client tools
Closes: 871104
Changes:
 gnats (4.1.0-5) unstable; urgency=medium
 .
   * QA upload.
   * gnats/configure.in: Don't pass -Wno-format to gcc, gcc 7
     refuses this due to the -Werror=format-security that is
     added by dpkg-buildflags. (Closes: #871104)
Checksums-Sha1:
 5a9935b6dd8ce2cf2d28b2577509dd18eb864724 1812 gnats_4.1.0-5.dsc
 c5c26614216fecc31136b7b32d8b581f4a53cf78 71404 gnats_4.1.0-5.debian.tar.xz
Checksums-Sha256:
 e8d065b7277e0b78e51a84913d101c274f5db02c0e073a376d2c9138abbc7e4c 1812 gnats_4.1.0-5.dsc
 42e07a197c3ecbbb8463428669b84a356136c67ba9e18e2f84d0dc7f6a5a14cc 71404 gnats_4.1.0-5.debian.tar.xz
Files:
 95ec037a4a336010fe20b71e142b7c7a 1812 devel extra gnats_4.1.0-5.dsc
 8f896d10151338b18c8e2bf175d9c7ea 71404 devel extra gnats_4.1.0-5.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAlmIYTQACgkQiNJCh6LY
mLF0vw/+J9cOhvEV8eJwelPUWZNpNnWhGt+4SeKcl3ZW+opsXcZutj+NTgKM2yOf
hnm/UrCiQSmqs6xFAis5h651zFjvULNYmApeRhwW/2/vU+53YsWL9J1nkQWlpGqr
TNLQouB093xp4J+Qj24iaocb3l4fQU88NbIzOGApPpxAqPj7qxs2kkYQaHojNo1J
MJyLvtisjofdt5Y/qh6gJ4k6QHhB+GC79vesBtxCUXaNVSJyJj34LSBqaFQzskZO
Q5CDjPbMbrXfx2asqerPKDSFFzypxVBSrVteLbb0GIRDBGB+OnW2dH3Wm2rECK+y
LGnyr05oTTtorUN9tUgyBx3dgSXs9wndk29Gsza4IfsSEasibhkhwbmeaEdZMgrP
hc8ant8RkeN5N0xfunaxzIvUZTM0J+b7F88VD3q1WENcdfacqO3sd4jI4K0PWUn8
sjN/uO9OuYUiRMd4eUUo8v16SRYRKi9vfzAJyNxu35neCR/D6MNRqOzliL/tcEdM
jTvuZ7T927josQdrMN98yz5SjEBl+T633ogrXYFzbz0XXIPfEjesxNoNsTqFcost
Tn3oTyQ1Ydik0q+k4j1KKH66qzSalUGstRx3/tzRo6/v0PrwWTQ9UXstkzAR+nAL
I0FW21WTN4k9Lh102I9Q7UspxsMYodtP3+KC1ltu8FDZKxetWSw=
=7eXV
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: