Source: gom
Version: 0.30.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):
> 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 -c -o gom.o gom.c
> gom_iface_t.c: In function ‘gom_iface_t_cntrprintw’:
> gom_iface_t.c:118:9: error: format not a string literal and no format
> arguments [-Werror=format-security]
> 118 | mvprintw(line, (COLS - strlen(str)) / 2, str);
> | ^~~~~~~~
> gom_iface_t.c: In function ‘gom_iface_t_info’:
> gom_iface_t.c:160:52: warning: zero-length gnu_printf format string
> [-Wformat-zero-length]
> 160 | mvprintw(gom_iface_t_info_line, 0, "");
> | ^~
> gom_iface_t.c:166:52: warning: zero-length gnu_printf format string
> [-Wformat-zero-length]
> 166 | mvprintw(GOM_IFACE_T_INFO_LINE, 0, "");
> | ^~
> gom_iface_t.c:168:9: warning: ‘vwprintw’ is deprecated
> [-Wdeprecated-declarations]
> 168 | vwprintw(stdscr, fmt, vargs);
> | ^~~~~~~~
> In file included from gom_iface_t.c:30:
> /usr/include/curses.h:812:28: note: declared here
> 812 | extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *, va_list)
> GCC_DEPRECATED(use vw_printw) /* implemented */
> | ^~~~~~~~
> gom_iface_t.c: In function ‘gom_iface_t_get_option_arg’:
> gom_iface_t.c:191:17: error: format not a string literal and no format
> arguments [-Werror=format-security]
> 191 | mvprintw(GOM_IFACE_T_INFO_LINE, 0, prompt);
> | ^~~~~~~~
> gom_iface_t.c: In function ‘gom_iface_t_draw_sline’:
> gom_iface_t.c:285:24: warning: too many arguments for format
> [-Wformat-extra-args]
> 285 | printw(" |", gom_driver_c_c_len(c) >= 2 ?
> gom_mixer_c_l(c) ? '+' : '-' : 'x');
> | ^~~~~~
> cc1: some warnings being treated as errors
> make[3]: *** [Makefile:490: gom_iface_t.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/gom_0.30.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.