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

Bug#997186: marked as done (nast: FTBFS: ncurses/n_nast.c:686:46: error: format not a string literal and no format arguments [-Werror=format-security])



Your message dated Sat, 30 Oct 2021 09:03:29 +0000
with message-id <E1mgkGv-0003gJ-Pv@fasolo.debian.org>
and subject line Bug#997186: fixed in nast 0.2.0-9
has caused the Debian Bug report #997186,
regarding nast: FTBFS: ncurses/n_nast.c:686:46: error: format not a string literal and no format arguments [-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.)


-- 
997186: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997186
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: nast
Version: 0.2.0-8
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

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


Relevant part (hopefully):
> gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_nast.c -o ncurses/n_nast.o
> ncurses/n_nast.c: In function ‘title’:
> ncurses/n_nast.c:686:46: error: format not a string literal and no format arguments [-Werror=format-security]
>   686 |    mvwprintw(title,1,(COLS-sizeof(TITLE))/2, TITLE);
>       |                                              ^~~~~
> ncurses/n_nast.c: In function ‘pop_up_win’:
> ncurses/n_nast.c:793:48: error: format not a string literal and no format arguments [-Werror=format-security]
>   793 |    mvwprintw(pop_up,0,(55 -strlen(message))/2, message);
>       |                                                ^~~~~~~
> ncurses/n_nast.c: In function ‘help_win’:
> ncurses/n_nast.c:804:46: error: format not a string literal and no format arguments [-Werror=format-security]
>   804 |    mvwprintw(help,0,(67 -strlen(message))/2, message);
>       |                                              ^~~~~~~
> cc1: some warnings being treated as errors
> make[1]: *** [Makefile:37: ncurses/n_nast.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/nast_0.2.0-8_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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: nast
Source-Version: 0.2.0-9
Done: Andreas Beckmann <anbe@debian.org>

We believe that the bug you reported is fixed in the latest version of
nast, 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 997186@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated nast 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: SHA256

Format: 1.8
Date: Sat, 30 Oct 2021 10:47:58 +0200
Source: nast
Architecture: source
Version: 0.2.0-9
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 997186
Changes:
 nast (0.2.0-9) unstable; urgency=medium
 .
   * QA upload.
   * Use string literals for the format argument of mvwprintw calls.
     (Closes: #997186)
   * Switch to debhelper-compat (= 10).
   * Set Rules-Requires-Root: binary-targets.
Checksums-Sha1:
 8fff9bbe1777693bc0594a8c857768df06f468a6 1846 nast_0.2.0-9.dsc
 8c40d8d3d9f9cbfdda9e5c06e10e51bed0ab9504 22284 nast_0.2.0-9.debian.tar.xz
 db356d84a6aedca11267de53cf0776999035ef69 5994 nast_0.2.0-9_source.buildinfo
Checksums-Sha256:
 8ddb3bf863355b5019b9ba8f9edf4179da79fa4261e756d607aaf350cc476ce4 1846 nast_0.2.0-9.dsc
 3cafeb6a226b4b807d0c4a7563eef64b96e8f917343d5961aea81ddf602ead0d 22284 nast_0.2.0-9.debian.tar.xz
 b90cdf1967390456a86ab8757f8df0ce07026ca4a80377d37b24e0346bd3f4a8 5994 nast_0.2.0-9_source.buildinfo
Files:
 493ff1db27ccfd56c1d71bd2c00e3854 1846 net optional nast_0.2.0-9.dsc
 7a1e6ecce1c93fe935e2c791029b10c9 22284 net optional nast_0.2.0-9.debian.tar.xz
 986379689550887b0013f8d1a1055347 5994 net optional nast_0.2.0-9_source.buildinfo

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

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmF9BxIQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCLGZD/49m8vmM9n/Ik+3hCgEH2qApswfSgX0aSwO
AB6ez0ylOL3EZGmCMw2hq/cVnRknToy281U82I7UkD8M+4ipyyJ4vB3ULHzwiuPH
luFDMUTU9kcogNId8vSG+gE5S2yT49YrTpnuPOJsyFN+9RLZbfhD+bXNDn1AvgOC
6kbjq3k9oEXGkmgCsHafe2lw/xYjbmFsUz692HYbN0c0w6KMmfucVvE4zd0hm+DP
jcEe33n4/rKxspKu1hoeHSdM+p5jt0WCtAjJWFqYWKN9nm5JiyRQAzHX4kSpau+X
OyFybQvT9qHwKGxipQORTAaKWPXX1oarj1mTr8+q5AC/jbEFp5C85jJ8VSgC4+/v
JQeBAaEX4vcW8YN9wTNNsrUhUkX9XhF9XcXP8bGL/tG1vioW8ygSY43OVljSivI4
zFlqony77phlOXVGLBB2ORD2XxMui4xkgkwumy5WS3ELc1AwECo5OT8Q3EtVG6lx
TmLK5YL1vl5U9fPGrZMwuxx4VBQJBChppfe7czxZgjnBsRF9/fDcKumYpbVa/mO7
yB6AllYQOsnOuFrhNWVpMLRbVKPiUQ5aoWJ9lbEwEdbY1VpyC2x5Xmqrayo348yr
HIta5uOuR/cZ1ygfvLPR+c00Mf3hes7XBIh8K74NXKJ9bUTM+huDQt2G2dQs2w3a
R/xOsWg+gQ==
=OLVI
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: