Source: ncurses-hexedit
Version: 0.9.7+orig-7.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. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -c -o main.o main.c
> init.c: In function ‘popup_Error’:
> init.c:390:10: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>   390 |          wprintw (wpopup, (char *) msg);
>       |          ^~~~~~~
> gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -c -o misc.o misc.c
> gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -c -o print.o print.c
> cc1: some warnings being treated as errors
> print.c: In function ‘drawdump’:
> print.c:61:38: warning: format ‘%X’ expects argument of type ‘unsigned int’, 
> but argument 3 has type ‘long unsigned int’ [-Wformat=]
>    61 |          wprintw (Globals.wmain, "%08X  ", off);
>       |                                   ~~~^     ~~~
>       |                                      |     |
>       |                                      |     long unsigned int
>       |                                      unsigned int
>       |                                   %08lX
> print.c:80:39: warning: format ‘%lX’ expects argument of type ‘long unsigned 
> int’, but argument 3 has type ‘int’ [-Wformat=]
>    80 |          wprintw (Globals.wmain, "%02lX ", filebuffer (off));
>       |                                   ~~~~^    ~~~~~~~~~~~~~~~~
>       |                                       |    |
>       |                                       |    int
>       |                                       long unsigned int
>       |                                   %02X
> print.c:89:39: warning: format ‘%lX’ expects argument of type ‘long unsigned 
> int’, but argument 3 has type ‘int’ [-Wformat=]
>    89 |          wprintw (Globals.wmain, "%02lX", filebuffer (off));
>       |                                   ~~~~^   ~~~~~~~~~~~~~~~~
>       |                                       |   |
>       |                                       |   int
>       |                                       long unsigned int
>       |                                   %02X
> make[4]: *** [Makefile:400: init.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/ncurses-hexedit_0.9.7+orig-7.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.

Reply via email to