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

Bug#997169: marked as done (tlf: FTBFS: audio.c:50:9: error: format not a string literal and no format arguments [-Werror=format-security])



Your message dated Sun, 24 Oct 2021 21:52:31 +0000
with message-id <E1melPr-000Hri-1L@fasolo.debian.org>
and subject line Bug#997169: fixed in tlf 1.4.1-4
has caused the Debian Bug report #997169,
regarding tlf: FTBFS: audio.c:50: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.)


-- 
997169: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997169
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: tlf
Version: 1.4.1-3
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. -I..  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DPACKAGE_DATA_DIR=\"/usr/share/tlf\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -pthread -I/usr/include/libusb-1.0 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o background_process.o background_process.c
> audio.c: In function ‘recordmenue’:
> audio.c:50:9: error: format not a string literal and no format arguments [-Werror=format-security]
>    50 |         mvprintw(j, 0, backgrnd_str);
>       |         ^~~~~~~~
> audio.c: In function ‘do_record’:
> audio.c:73:22: warning: zero-length gnu_printf format string [-Wformat-zero-length]
>    73 |     mvprintw(17, 20, "");
>       |                      ^~
> audio.c: In function ‘record’:
> audio.c:206:33: warning: zero-length gnu_printf format string [-Wformat-zero-length]
>   206 |                 mvprintw(4, 10, "");
>       |                                 ^~
> audio.c:251:34: warning: zero-length gnu_printf format string [-Wformat-zero-length]
>   251 |                 mvprintw(18, 20, "");
>       |                                  ^~
> addmult.c: In function ‘init_and_load_multipliers’:
> addmult.c:343:44: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
>   343 |             sprintf(mults_location, "%s%s%s", PACKAGE_DATA_DIR, "/", multsfile);
>       |                                            ^
> In file included from /usr/include/stdio.h:866,
>                  from addmult.c:27:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 16 and 513 bytes into a destination of size 512
>    38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    39 |                                   __bos (__s), __fmt, __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> autocq.c: In function ‘auto_cq’:
> autocq.c:75:26: warning: zero-length gnu_printf format string [-Wformat-zero-length]
>    75 |         mvprintw(12, 29, "");
>       |                          ^~
> autocq.c:107:9: error: format not a string literal and no format arguments [-Werror=format-security]
>   107 |         mvprintw(12, 29, spaces(13));
>       |         ^~~~~~~~
> autocq.c:108:26: warning: zero-length gnu_printf format string [-Wformat-zero-length]
>   108 |         mvprintw(12, 29, "");
>       |                          ^~
> autocq.c:119:5: error: format not a string literal and no format arguments [-Werror=format-security]
>   119 |     mvprintw(12, 29, spaces(13));
>       |     ^~~~~~~~
> gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DPACKAGE_DATA_DIR=\"/usr/share/tlf\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -pthread -I/usr/include/libusb-1.0 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bandmap.o bandmap.c
> cc1: some warnings being treated as errors
> cc1: some warnings being treated as errors
> make[3]: *** [Makefile:652: audio.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/tlf_1.4.1-3_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: tlf
Source-Version: 1.4.1-4
Done: tony mancill <tmancill@debian.org>

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

Debian distribution maintenance software
pp.
tony mancill <tmancill@debian.org> (supplier of updated tlf 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: Sun, 24 Oct 2021 14:20:24 -0700
Source: tlf
Architecture: source
Version: 1.4.1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: tony mancill <tmancill@debian.org>
Closes: 997169
Changes:
 tlf (1.4.1-4) unstable; urgency=medium
 .
   * Team upload.
   * Add warnings-as-errors.patch to address FTBFS (Closes: #997169)
     Thank you to Christoph Berg for the upstream patch.
   * Bump Standards-Version to 4.6.0
   * Set Rules-Requires-Root: no in debian/control
Checksums-Sha1:
 738c2d4c3000dace760323474140fc8c7f534272 2023 tlf_1.4.1-4.dsc
 06b692ecc5f9d25cbd6d488142dbe44e7ac8eb8d 11704 tlf_1.4.1-4.debian.tar.xz
 3bcf0b6b22636844a00e9fb8df25b51f0856b42c 7939 tlf_1.4.1-4_amd64.buildinfo
Checksums-Sha256:
 8b8aca9df7f973621ba385d40dfe1a409608088486400c68e0f53ecbb3d63821 2023 tlf_1.4.1-4.dsc
 96814f16ea2fb54ba048144982984c8d7c3a745913c87ec305651ccb1daade87 11704 tlf_1.4.1-4.debian.tar.xz
 e54ea6848961ae683f658de5573ae6fc3a8d63f83bc5156a43cdc0c0254636ac 7939 tlf_1.4.1-4_amd64.buildinfo
Files:
 9dc5a881405de4c9fdb87e81395234f7 2023 hamradio optional tlf_1.4.1-4.dsc
 0a7b63f667acb5eaa8dd6615de42efcd 11704 hamradio optional tlf_1.4.1-4.debian.tar.xz
 c701600e2f0b648fea447b7e7548452c 7939 hamradio optional tlf_1.4.1-4_amd64.buildinfo

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

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmF10SIUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpZdVQ//QwbULtrcTL+5w5wCesrEZ4tzs5Qc
HaUsUYh7RceYBbv54fjduMCqvDq7ScVcEUnW5UjUgImNoz3LctleNPQ2jR1GcDUw
zmvJluf7j+T0CaOxOs9elWRRwi8+FToZ19Aif9O1qe6Upta1OZx/EE5Ofe4ttt0E
XguKGc+efNaZTYrmOhhirl5I2AfqBhsAFuPBPxGEq53B1Xj9N0wZa6DZ/RD4RY8b
ShiXTs6J9ktYf8zrFNfHpKVLWd0CPfiBCCVfjCkdKlcwSwGzMAlTRFj42oilCVH3
YDr+qxQxNo5hlDqKWqIB9AsEswerfZYf360eJgBkHr2rA7YYg5uTnOU7mOfBgwiz
FHGDMlKOrbRv0GPX340pplcFqVlomiDK0cS7y7lKVYxCjr+rXAiduzj5cAcVkh84
tcdZUXxLIu3FP7b/6/4rSaa0QOny1/dzklSrBH4AAcJzq0c6RW0pprcffFqacEU2
F5zW800Lbs7wFBIlacXxve4y1Qw0xwXGvnwqt7iFyrdNy1P7xUzZkSJBQ7aKSJhG
Xru37EnAVX6rbjoOD+S+UAQiQbtMZnvUldtBQxeGKxa8UuAwoeeh12X1DRyKIob2
13K2zx92/ByAUS3UnAYeNiCu5lmBW61EopCfX04ww2ybSgjjXkhBLEVDiwa/jgHG
Z8CL1DHzIi1/A0U=
=AK+G
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: