Processed: Re: Bug#997179: tty-clock: FTBFS: ttyclock.c:278:73: error: format not a string literal and no format arguments [-Werror=format-security]

2023-02-25 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tag 997179 +pending
Bug #997179 [src:tty-clock] tty-clock: FTBFS: ttyclock.c:278:73: error: format 
not a string literal and no format arguments [-Werror=format-security]
Added tag(s) pending.
> user debian-rele...@lists.debian.org
Setting user to debian-rele...@lists.debian.org (was anar...@debian.org).
> usertag 997179 + bsp-2023-02-ca-montreal
Usertags were: bsp-2023-02-ca-montreal.
Usertags are now: bsp-2023-02-ca-montreal.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
997179: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997179
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#997179: tty-clock: FTBFS: ttyclock.c:278:73: error: format not a string literal and no format arguments [-Werror=format-security]

2023-02-25 Thread Antoine Beaupré
tag 997179 +pending
user debian-rele...@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



Bug#997179: tty-clock: FTBFS: ttyclock.c:278:73: error: format not a string literal and no format arguments [-Werror=format-security]

2021-10-23 Thread Lucas Nussbaum
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=/<>=. -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.