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

Bug#997183: marked as done (meterec: FTBFS: display.c:474:9: error: format not a string literal and no format arguments [-Werror=format-security])



Your message dated Mon, 09 Jan 2023 15:24:28 +0000
with message-id <E1pEu0i-00DR1o-Kb@fasolo.debian.org>
and subject line Bug#997183: fixed in meterec 0.9.3-2
has caused the Debian Bug report #997183,
regarding meterec: FTBFS: display.c:474:9: 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.)


-- 
997183: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997183
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: meterec
Version: 0.9.3-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):
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus   -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/opus   -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -c -o display.o display.c
> display.c: In function ‘display_tiny_meter’:
> display.c:474:9: error: format not a string literal and no format arguments [-Werror=format-security]
>   474 |         wprintw(win, blink + 2*pos);
>       |         ^~~~~~~
> display.c: In function ‘display_ports’:
> display.c:1370:46: warning: zero-length gnu_printf format string [-Wformat-zero-length]
>  1370 |                                 wprintw(win, "");
>       |                                              ^~
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus   -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/opus   -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -c -o queue.o queue.c
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus   -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/opus   -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -c -o keyboard.o keyboard.c
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus   -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/opus   -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -c -o session.o session.c
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus   -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/opus   -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -c -o disk.o disk.c
> session.c: In function ‘session_callback’:
> session.c:61:9: warning: ‘jack_session_reply’ is deprecated [-Wdeprecated-declarations]
>    61 |         jack_session_reply( meterec->client, event );
>       |         ^~~~~~~~~~~~~~~~~~
> In file included from session.c:33:
> /usr/include/jack/session.h:204:5: note: declared here
>   204 | int jack_session_reply (jack_client_t        *client,
>       |     ^~~~~~~~~~~~~~~~~~
> session.c:64:17: warning: ‘jack_session_event_free’ is deprecated [-Wdeprecated-declarations]
>    64 |                 jack_session_event_free(event);
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~
> In file included from session.c:33:
> /usr/include/jack/session.h:217:6: note: declared here
>   217 | void jack_session_event_free (jack_session_event_t *event) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
>       |      ^~~~~~~~~~~~~~~~~~~~~~~
> session.c:68:9: warning: ‘jack_session_event_free’ is deprecated [-Wdeprecated-declarations]
>    68 |         jack_session_event_free (event);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~
> In file included from session.c:33:
> /usr/include/jack/session.h:217:6: note: declared here
>   217 | void jack_session_event_free (jack_session_event_t *event) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
>       |      ^~~~~~~~~~~~~~~~~~~~~~~
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus   -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/opus   -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -c -o meterec.o meterec.c
> meterec.c: In function ‘main’:
> meterec.c:1302:9: warning: ‘jack_set_session_callback’ is deprecated [-Wdeprecated-declarations]
>  1302 |         jack_set_session_callback(meterec->client, session_callback, meterec);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from meterec.c:48:
> /usr/include/jack/session.h:187:5: note: declared here
>   187 | int jack_set_session_callback (jack_client_t       *client,
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus   -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/opus   -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -c -o test.o test.c
> cc1: some warnings being treated as errors
> make[2]: *** [Makefile:501: display.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/meterec_0.9.3-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: meterec
Source-Version: 0.9.3-2
Done: Adam Borowski <kilobyte@angband.pl>

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

Debian distribution maintenance software
pp.
Adam Borowski <kilobyte@angband.pl> (supplier of updated meterec 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, 09 Jan 2023 15:50:53 +0100
Source: meterec
Architecture: source
Version: 0.9.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adam Borowski <kilobyte@angband.pl>
Closes: 997183
Changes:
 meterec (0.9.3-2) unstable; urgency=medium
 .
   * QA upload.
   * Fix FTBFS due to -Werror=format-security (closes: #997183).
Checksums-Sha1:
 7f9349adbd405a851a4fb681baaef78118735167 1776 meterec_0.9.3-2.dsc
 7866dd20cc5e3a45904bcd09446a5461add34e87 3708 meterec_0.9.3-2.debian.tar.xz
 b134aca861df287d04d605cb40306afe64b45507 6384 meterec_0.9.3-2_source.buildinfo
Checksums-Sha256:
 66972854dbd90194f6d6484357f1039aa83a13cdc4f3a639f1f4826b481d38ac 1776 meterec_0.9.3-2.dsc
 06c817eaa9e60e9b93977c69c91b23695d581a283f1134a7eb938455ad3f2743 3708 meterec_0.9.3-2.debian.tar.xz
 76dbe6ea16e0a21f458a2bf3c9d096d031f6a019e01893f1238593efe5d7e087 6384 meterec_0.9.3-2_source.buildinfo
Files:
 5a057fc65ffeb295f888dc962d84eaf7 1776 sound optional meterec_0.9.3-2.dsc
 13e87d484e60660fd27aaeb959363683 3708 sound optional meterec_0.9.3-2.debian.tar.xz
 300c6d6afcf2904bf2d70d838400f126 6384 sound optional meterec_0.9.3-2_source.buildinfo

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

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAmO8KwgACgkQweDZLphv
fH5daA//SxkUp9mHwr9n7qlc316BNWNtRw1763qoffmlYp2cY5wNN4rEVsU+1IKm
nY+xh2sOTlJpFKTjfxuJ7wQ2m+aPuBAwX0IqhZiqm5M95YEn90RSoitM4LE6SEm6
stwtbhOnh4mGOsYoyNpQwW0oskOWDjEo4cQbwO+sS1VPU+tApaaebnu1AvlRYrGF
USJ8cws25ev+dZgiD193hHj2AmAZH6+TiGav85HaOUfHfkcgUGhiGzVs51ePdM1n
MIg5wdzaptzbxne+mAy7u9AvFfkYyGSb9QKWAX9XJD7Kfdj3KWLUWYNDPPXy8Zyc
lWDVEogo/wxdeXsdtRDt3WS61l/sPaN1mWfMk3Nu6ftq2hGD3U9ayZbXnXZo5Xl2
KuEi1dS7ghUSVAdd4mbbGPn3w80HAVNUWb61xuV4cC2T+vy7z3p9h/PpomZUQE3L
nl468Z9q86Xlb/YyHQqv5gj+tfjCiw7v9mKkYxNVDuWg95QbaYNzd6ujiiKmlWFn
wRQ9wET/s76uaw9yOR3MLYEt2NJLLYW3BCCmXPb3Q8cOPViJKBMcLqEE0TRdHdrI
DAnp5Dc7FZTs4y7RTWSO7tTHUzAcHwXRpLp0egvt55+BngI6Q9JuUc9NvxMt2qk0
nOSjQcxapBfNyZEWwF/GDQgmamicmF2m4tOlq7lmAKFo7RSuZCA=
=Gu3U
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: