Your message dated Sun, 07 Nov 2021 14:55:01 +0000
with message-id <e1mjjzv-0005bd...@fasolo.debian.org>
and subject line Bug#997170: fixed in nmon 16n+debian-1
has caused the Debian Bug report #997170,
regarding nmon: FTBFS: lmon16m.c:5478:45: 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 ow...@bugs.debian.org
immediately.)


-- 
997170: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997170
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: nmon
Version: 16m+debian-1
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):
> x86_64-linux-gnu-gcc -o nmon lmon16m.c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -D DEBIAN -Wl,-z,relro -Wl,-z,now -lncurses  -lm
> lmon16m.c: In function ‘main’:
> lmon16m.c:5478:45: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5478 |                     mvwprintw(padsmp, 1, 0, cpu_line);
>       |                                             ^~~~~~~~
> lmon16m.c:5600:51: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5600 |                 CURSE mvwprintw(padsmp, i + 3, 0, cpu_line);
>       |                                                   ^~~~~~~~
> lmon16m.c:5676:55: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5676 |                     CURSE mvwprintw(padsmp, i + 5, 0, cpu_line);
>       |                                                       ^~~~~~~~
> lmon16m.c:5707:21: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5707 |                     mvwprintw(padwide, 1, 0, wide1);
>       |                     ^~~~~~~~~
> lmon16m.c:5708:21: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5708 |                     mvwprintw(padwide, 2, 0, wide2);
>       |                     ^~~~~~~~~
> lmon16m.c:5709:21: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5709 |                     mvwprintw(padwide, 3, 0, wide3);
>       |                     ^~~~~~~~~
> lmon16m.c:5710:21: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5710 |                     mvwprintw(padwide, 4, 0, wide4);
>       |                     ^~~~~~~~~
> lmon16m.c:5711:21: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5711 |                     mvwprintw(padwide, 5, 0, wide5);
>       |                     ^~~~~~~~~
> lmon16m.c:5712:21: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5712 |                     mvwprintw(padwide, 6, 0, wide6);
>       |                     ^~~~~~~~~
> lmon16m.c:5713:21: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5713 |                     mvwprintw(padwide, 7, 0, wide7);
>       |                     ^~~~~~~~~
> lmon16m.c:5714:21: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5714 |                     mvwprintw(padwide, 8, 0, wide8);
>       |                     ^~~~~~~~~
> lmon16m.c:5715:21: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5715 |                     mvwprintw(padwide, 9, 0, wide9);
>       |                     ^~~~~~~~~
> lmon16m.c:5716:21: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5716 |                     mvwprintw(padwide, 10, 0, wide10);
>       |                     ^~~~~~~~~
> lmon16m.c:5758:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5758 |                         mvwprintw(padwide, rows + 0, 0, wide1);
>       |                         ^~~~~~~~~
> lmon16m.c:5759:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5759 |                         mvwprintw(padwide, rows + 1, 0, wide2);
>       |                         ^~~~~~~~~
> lmon16m.c:5760:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5760 |                         mvwprintw(padwide, rows + 2, 0, wide3);
>       |                         ^~~~~~~~~
> lmon16m.c:5761:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5761 |                         mvwprintw(padwide, rows + 3, 0, wide4);
>       |                         ^~~~~~~~~
> lmon16m.c:5762:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5762 |                         mvwprintw(padwide, rows + 4, 0, wide5);
>       |                         ^~~~~~~~~
> lmon16m.c:5763:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5763 |                         mvwprintw(padwide, rows + 5, 0, wide6);
>       |                         ^~~~~~~~~
> lmon16m.c:5764:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5764 |                         mvwprintw(padwide, rows + 6, 0, wide7);
>       |                         ^~~~~~~~~
> lmon16m.c:5765:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5765 |                         mvwprintw(padwide, rows + 7, 0, wide8);
>       |                         ^~~~~~~~~
> lmon16m.c:5766:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5766 |                         mvwprintw(padwide, rows + 8, 0, wide9);
>       |                         ^~~~~~~~~
> lmon16m.c:5767:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5767 |                         mvwprintw(padwide, rows + 9, 0, wide10);
>       |                         ^~~~~~~~~
> lmon16m.c:5816:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5816 |                         mvwprintw(padwide, rows + 0, 0, wide1);
>       |                         ^~~~~~~~~
> lmon16m.c:5817:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5817 |                         mvwprintw(padwide, rows + 1, 0, wide2);
>       |                         ^~~~~~~~~
> lmon16m.c:5818:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5818 |                         mvwprintw(padwide, rows + 2, 0, wide3);
>       |                         ^~~~~~~~~
> lmon16m.c:5819:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5819 |                         mvwprintw(padwide, rows + 3, 0, wide4);
>       |                         ^~~~~~~~~
> lmon16m.c:5820:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5820 |                         mvwprintw(padwide, rows + 4, 0, wide5);
>       |                         ^~~~~~~~~
> lmon16m.c:5821:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5821 |                         mvwprintw(padwide, rows + 5, 0, wide6);
>       |                         ^~~~~~~~~
> lmon16m.c:5822:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5822 |                         mvwprintw(padwide, rows + 6, 0, wide7);
>       |                         ^~~~~~~~~
> lmon16m.c:5823:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5823 |                         mvwprintw(padwide, rows + 7, 0, wide8);
>       |                         ^~~~~~~~~
> lmon16m.c:5824:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5824 |                         mvwprintw(padwide, rows + 8, 0, wide9);
>       |                         ^~~~~~~~~
> lmon16m.c:5825:25: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  5825 |                         mvwprintw(padwide, rows + 9, 0, wide10);
>       |                         ^~~~~~~~~
> lmon16m.c:6403:52: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 5 has type ‘long unsigned int’ [-Wformat=]
>  6403 |                 mvwprintw(padmem, 1, 1, "PageSize:%dKB", pagesize / 
> 1024);
>       |                                                   ~^     
> ~~~~~~~~~~~~~~~
>       |                                                    |              |
>       |                                                    int            
> long unsigned int
>       |                                                   %ld
> lmon16m.c:6897:59: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 5 has type ‘long long int’ [-Wformat=]
>  6897 |                 mvwprintw(padker, 9, BOOTCOL, "Boot time %d", 
> boottime);
>       |                                                          ~^   ~~~~~~~~
>       |                                                           |   |
>       |                                                           int long 
> long int
>       |                                                          %lld
> lmon16m.c:7243:48: warning: format ‘%s’ expects argument of type ‘char *’, 
> but argument 5 has type ‘long unsigned int *’ [-Wformat=]
>  7243 |                 mvwprintw(padnet, 2 + i, 0, "%8s",
>       |                                              ~~^
>       |                                                |
>       |                                                char *
>       |                                              %8ln
>  7244 |                           &p->ifnets[i].if_name[0]);
>       |                           ~~~~~~~~~~~~~~~~~~~~~~~~
>       |                           |
>       |                           long unsigned int *
> lmon16m.c:7315:36: warning: format ‘%s’ expects argument of type ‘char *’, 
> but argument 5 has type ‘long unsigned int *’ [-Wformat=]
>  7315 |                                 "%8s %7lu %7lu %7lu %7lu %7lu %7lu 
> %7lu %7lu %7lu",
>       |                                  ~~^
>       |                                    |
>       |                                    char *
>       |                                  %8ln
>  7316 |                                 &p->ifnets[i].if_name[0],
>       |                                 ~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                 |
>       |                                 long unsigned int *
> lmon16m.c:7675:62: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 5 has type ‘long unsigned int’ [-Wformat=]
>  7675 |                             mvwprintw(paddisk, 2 + k, 70, "%3d", 
> p->dk[i].dk_inflight);
>       |                                                            ~~^   
> ~~~~~~~~~~~~~~~~~~~~
>       |                                                              |        
>    |
>       |                                                              int      
>    long unsigned int
>       |                                                            %3ld
> lmon16m.c:8232:67: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 5 has type ‘long int’ [-Wformat=]
>  8232 |                         mvwprintw(padtop, j + 2 - skipped, 24, "%4d 
> %4d",
>       |                                                                 ~~^
>       |                                                                   |
>       |                                                                   int
>       |                                                                 %4ld
>  8233 |                                         p->procs[i].pi_nice,
>       |                                         ~~~~~~~~~~~~~~~~~~~        
>       |                                                    |
>       |                                                    long int
> lmon16m.c:8232:71: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 6 has type ‘long int’ [-Wformat=]
>  8232 |                         mvwprintw(padtop, j + 2 - skipped, 24, "%4d 
> %4d",
>       |                                                                     
> ~~^
>       |                                                                       
> |
>       |                                                                       
> int
>       |                                                                     
> %4ld
>  8233 |                                         p->procs[i].pi_nice,
>  8234 |                                         p->procs[i].pi_pri);
>       |                                         ~~~~~~~~~~~~~~~~~~            
>  
>       |                                                    |
>       |                                                    long int
> lmon16m.c:8244:70: warning: format ‘%x’ expects argument of type ‘unsigned 
> int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
>  8244 |                         mvwprintw(padtop, j + 2 - skipped, 45, 
> "0x%08x",
>       |                                                                   ~~~^
>       |                                                                      |
>       |                                                                      
> unsigned int
>       |                                                                   
> %08lx
>  8245 |                                         p->procs[i].pi_flags);
>       |                                         ~~~~~~~~~~~~~~~~~~~~          
>       |                                                    |
>       |                                                    long unsigned int
> lmon16m.c:8277:21: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  8277 |                     CURSE mvwprintw(padtop, 1, y, formatstring);
>       |                     ^~~~~
> lmon16m.c:8297:21: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>  8297 |                     CURSE mvwprintw(padtop, 2, 1, formatstring);
>       |                     ^~~~~
> cc1: some warnings being treated as errors
> make[1]: *** [debian/rules:21: override_dh_auto_build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/nmon_16m+debian-1_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: nmon
Source-Version: 16n+debian-1
Done: Salvatore Bonaccorso <car...@debian.org>

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

Debian distribution maintenance software
pp.
Salvatore Bonaccorso <car...@debian.org> (supplier of updated nmon 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 07 Nov 2021 15:42:10 +0100
Source: nmon
Architecture: source
Version: 16n+debian-1
Distribution: unstable
Urgency: medium
Maintainer: Salvatore Bonaccorso <car...@debian.org>
Changed-By: Salvatore Bonaccorso <car...@debian.org>
Closes: 997170
Changes:
 nmon (16n+debian-1) unstable; urgency=medium
 .
   [ Debian Janitor ]
   * Use secure URI in debian/watch.
 .
   [ Salvatore Bonaccorso ]
   * New upstream version 16n+debian
     - Fixes FTBFS when compiled with -Werror=format-security (Closes: #997170)
   * Rename Salsa CI configuration file to debian/salsa-ci.yml
   * debian/rules: Update filename to compile (sync with new upstream)
   * Bump Debhelper compat level to 13
   * Update copyright years for debian/* packaging files
   * Declare compliance with Debian policy 4.6.0
   * Drop unnecessary older-than versioned Suggests on util-linux
Checksums-Sha1: 
 16eab54c42454ba6f842bdca9e65083f2a14cc85 1982 nmon_16n+debian-1.dsc
 4a76ba32db5d7f96c0e058136fed424498187f8e 64447 nmon_16n+debian.orig.tar.gz
 6604bffc4d3d9b4d53f9c57315a6c664bfc877ed 4304 nmon_16n+debian-1.debian.tar.xz
Checksums-Sha256: 
 b9413ad3ed5155e445c89d78bfce80f32ddbdcf60c005768c2fc6097b8a3afac 1982 
nmon_16n+debian-1.dsc
 0848e315908619f7675c3601a345b2d3a20ad39c5759fc8a27db498ab6314876 64447 
nmon_16n+debian.orig.tar.gz
 31a174165836b9bfa27b5a66f72a79f85568c6c158438f81c4366ee6041e16fd 4304 
nmon_16n+debian-1.debian.tar.xz
Files: 
 f376b4d1ea087e7770558c56014713db 1982 utils optional nmon_16n+debian-1.dsc
 278e25679375b3e75d1745eb828d359f 64447 utils optional 
nmon_16n+debian.orig.tar.gz
 9d430967f5f26bbef1af3b2dd336358b 4304 utils optional 
nmon_16n+debian-1.debian.tar.xz

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

iQKmBAEBCgCQFiEERkRAmAjBceBVMd3uBUy48xNDz0QFAmGH5i9fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQ2
NDQ0MDk4MDhDMTcxRTA1NTMxRERFRTA1NENCOEYzMTM0M0NGNDQSHGNhcm5pbEBk
ZWJpYW4ub3JnAAoJEAVMuPMTQ89EtuIP/AoLd9hNGarBPMqAlPhB9m26nqj/Om0n
t8XAsw9dEno4YmQ/xeDiKQ9bQKHvCi6piKvGYsq/wY44pLja2dzYrRG5YCi8VtPN
ldBNX8fOpfenHNLaMJ6TUoIcGbZ91nUNYhb72b+wWAeG3HL5AwGv+F2Qm71ldcqE
krLl/o4KRhYPtxVvkDHntds78I9dryadbwXPsYI0DjWupY+EoKutGL3VFj0nMWt+
upcdvIzk50BPsD/t5MBGpiOBGmxIVLYJI3b++xbZ1AKfxG8/ZBmuK4hIIM5IylYR
XeO0DVlvRndd0Jt4yHqRJqYjRKL0hhFrXw1WQP7yn10Ny3gUfL8//M1guNoHf0cf
VrPmap+dOH3x80XENb10/qBclsLDmoPhoI5f8sAW3BRt43dGEz5M8IRH0HNM7KRG
I1mOW6ku/P4CQbpBuGc8oHvzIL8L7zn1OU+hQie884UszP00OL2dXh2YZg0GsPoR
3JLIENqyhI5pPUZnNyG4jKWB8dscy+Ynd6yLu8TCJqpfOeLrfZiHdBVtK6hrtqxX
UlQ3X+e6pY5dcbHm3jQe4/LaCSx4GrCehMi8D3ihTu3LXmYSxLO27A6oIIudLji0
gUy0g44ZumGauUlCFuaJOc0eGNvJIGTC4RS9BkdLmkRqCo1nJ0oW+JuPT+zPh5BF
lekqs211L+x9
=GCTO
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to