Debian Bug report logs -
#997179
tty-clock: FTBFS: ttyclock.c:278:73: error: format not a string literal and no format arguments [-Werror=format-security]
Report forwarded
to debian-bugs-dist@lists.debian.org, Antoine Beaupré <anarcat@debian.org>: Bug#997179; Package src:tty-clock.
(Sat, 23 Oct 2021 19:12:42 GMT) (full text, mbox, link).
Acknowledgement sent
to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Antoine Beaupré <anarcat@debian.org>.
(Sat, 23 Oct 2021 19:12:42 GMT) (full text, mbox, link).
Subject: tty-clock: FTBFS: ttyclock.c:278:73: error: format not a string
literal and no format arguments [-Werror=format-security]
Date: Sat, 23 Oct 2021 21:09:04 +0200
Source: tty-clock
Version: 2.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):
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g $(ncurses5-config --cflags) ttyclock.c -o tty-clock -Wl,-z,relro -Wl,-z,now $(ncurses5-config --libs)
> ttyclock.c: In function ‘draw_clock’:
> ttyclock.c:278:73: error: format not a string literal and no format arguments [-Werror=format-security]
> 278 | mvwprintw(ttyclock->datewin, (DATEWINH / 2), 1, ttyclock->date.datestr);
> | ~~~~~~~~~~~~~~^~~~~~~~
> cc1: some warnings being treated as errors
> make[1]: *** [Makefile:26: tty-clock] Error 1
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/tty-clock_2.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.
Added tag(s) fixed-upstream and patch.
Request was from Paul Wise <pabs@debian.org>
to control@bugs.debian.org.
(Sat, 18 Feb 2023 23:45:09 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org: Bug#997179; Package src:tty-clock.
(Sat, 25 Feb 2023 20:00:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Antoine Beaupré <anarcat@debian.org>:
Extra info received and forwarded to list.
(Sat, 25 Feb 2023 20:00:06 GMT) (full text, mbox, link).
Subject: Re: Bug#997179: tty-clock: FTBFS: ttyclock.c:278:73: error: format
not a string literal and no format arguments [-Werror=format-security]
Date: Sat, 25 Feb 2023 14:57:12 -0500
tag 997179 +pending
user debian-release@lists.debian.org
usertag 997179 + bsp-2023-02-ca-montreal
thanks
I've orphaned this package (#1031941) but I figured I could at least fix
this bug before I go.
--
When the power of love overcomes love of power the world will know peace.
- Jimi Hendrix
Added tag(s) pending.
Request was from Antoine Beaupré <anarcat@debian.org>
to control@bugs.debian.org.
(Sat, 25 Feb 2023 20:00:08 GMT) (full text, mbox, link).
Reply sent
to Antoine Beaupré <anarcat@debian.org>:
You have taken responsibility.
(Sat, 25 Feb 2023 21:15:15 GMT) (full text, mbox, link).
Notification sent
to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer.
(Sat, 25 Feb 2023 21:15:16 GMT) (full text, mbox, link).
Source: tty-clock
Source-Version: 2.3-2
Done: Antoine Beaupré <anarcat@debian.org>
We believe that the bug you reported is fixed in the latest version of
tty-clock, 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 997179@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Antoine Beaupré <anarcat@debian.org> (supplier of updated tty-clock 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, 25 Feb 2023 14:05:47 -0500
Source: tty-clock
Architecture: source
Version: 2.3-2
Distribution: unstable
Urgency: medium
Maintainer: Antoine Beaupré <anarcat@debian.org>
Changed-By: Antoine Beaupré <anarcat@debian.org>
Closes: 997179
Changes:
tty-clock (2.3-2) unstable; urgency=medium
.
* fix FTBFS (Closes: #997179)
Checksums-Sha1:
836d8f3cc0835d6bd0f729f8676c185cf8daa25b 1507 tty-clock_2.3-2.dsc
2f896bcf22edba0e56f704d5cb82169002393e9d 4052 tty-clock_2.3-2.debian.tar.xz
ac8a07652d99370e6723e507a4b542423e1d25ea 5855 tty-clock_2.3-2_amd64.buildinfo
Checksums-Sha256:
cf8b898ac7d345fedaa87579ced66d434e0747ff41adad0d802a71902477d7c6 1507 tty-clock_2.3-2.dsc
ad877c02f5c2d68a1193243f4d2f345909951eda3eecb749e09cb8064bcbf524 4052 tty-clock_2.3-2.debian.tar.xz
8a5ff3ed58261428b27c6d20d283e92029a48129c203e4227a5e78b0dad2a35f 5855 tty-clock_2.3-2_amd64.buildinfo
Files:
8dfe5ea0cb5de980e06644bb2d7c6f6c 1507 utils optional tty-clock_2.3-2.dsc
aee2beac61c76d155d443de219b52ca2 4052 utils optional tty-clock_2.3-2.debian.tar.xz
01fde41ec4a2b22869719fce3b68c063 5855 utils optional tty-clock_2.3-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEexZCBNCWcjsBljWrPqHd3bJh2XsFAmP6XpQACgkQPqHd3bJh
2XvXMgf+Ib7gpjZ0xaEMtxPc8r5Du0BpHSCvJpV7ZeEfwZqx78nFvaQJ09473F47
sYEVviOtz4V7GbR2PyOQEPu0A107WO+hHpyF0f8Z/ZtVOeLhI8ePvln6F8Re8Bpn
OOO2Va2tlZXeQ/2/omSoqiLldc2Z2DuwUdMVDkL5ZoqfZuiWoScC3w/D8kqhzA0l
ZxBoRko1T8hwrFOiuHPb5F8CA8ffIEH9wLQr/8EnyAeYDHeEzJYUupIigdt8mKhF
TyxhF6TQORkJ07zSLro6GJEe0Qmw1QKkHkVH4UzXT0Ls+HcnyhW5VhU8GWwvPlEJ
znyMCC3pSgFKVp0+XZ4n+3oq4ozKQw==
=F4CH
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 26 Mar 2023 07:29:45 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.