Source: tty-solitaire
Version: 1.3.0-2
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 -W -Wall -pedantic -ansi -std=c99 
> -DVERSION=\"1.3.0\" -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/gui.o 
> src/gui.c
> src/gui.c: In function ‘draw_value’:
> src/gui.c:16:3: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>    16 |   mvwprintw(card->frame->window, 0, 0, card_values[card->value]);
>       |   ^~~~~~~~~
> src/gui.c:18:13: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>    18 |             card_values[card->value]);
>       |             ^~~~~~~~~~~
> src/gui.c: In function ‘draw_suit’:
> src/gui.c:46:13: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>    46 |             card_suits[card->suit]);
>       |             ^~~~~~~~~~
> src/gui.c:48:13: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>    48 |             card_suits[card->suit]);
>       |             ^~~~~~~~~~
> cc1: some warnings being treated as errors
> make[2]: *** [<builtin>: src/gui.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/tty-solitaire_1.3.0-2_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.

Reply via email to