Source: f-irc Version: 1.36-1.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 -DVERSION=\"1.36\" > -DSYSCONFDIR=\"/usr/local/etc\" -O3 -g -Wall -pedantic -Wdate-time > -D_FORTIFY_SOURCE=2 -c -o loop.o loop.c > loop.c: In function ‘update_channel_border’: > loop.c:1031:25: error: format not a string literal and no format arguments > [-Werror=format-security] > 1031 | mvwprintw(chat_window_border -> win, kr_y, > kr_x, tooltip); > | ^~~~~~~~~ > loop.c: In function ‘log_channel’: > loop.c:424:9: warning: ignoring return value of ‘asprintf’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 424 | asprintf(&headline, "%s(%s) %s: %s\n", pc -> channel_name, ps > -> description, str_or_nothing(user), string); > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > loop.c:471:17: warning: ignoring return value of ‘asprintf’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 471 | asprintf(&ts, "%02d:%02d:%02d]", ptm -> tm_hour, ptm > -> tm_min, ptm -> tm_sec); > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > loop.c:479:25: warning: ignoring return value of ‘asprintf’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 479 | asprintf(&str_buffer, "%s %s", ts, temp); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > loop.c:481:25: warning: ignoring return value of ‘asprintf’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 481 | asprintf(&str_buffer, "%s %s: %s", ts, user, > temp); > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > loop.c:487:25: warning: ignoring return value of ‘asprintf’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 487 | asprintf(&str_buffer, "%s %s: %s", ts, > nick_only, temp); > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > loop.c:496:17: warning: ignoring return value of ‘asprintf’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 496 | asprintf(&str_buffer, "%s > %s", ts, string); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > loop.c:528:25: warning: ignoring return value of ‘asprintf’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 528 | asprintf(&meta_str_buffer, "last message: %s > (%ld), current time: %s (%ld)", time_str1, last_entry, time_str2, rnow); > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > loop.c: In function ‘update_statusline’: > loop.c:590:15: warning: ignoring return value of ‘vasprintf’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 590 | (void)vasprintf(&str_buffer, fmt, ap); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > loop.c: In function ‘log_to_file’: > loop.c:1054:17: warning: ignoring return value of ‘asprintf’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 1054 | asprintf(&path, "%s/%s/", log_dir, ps -> server_host); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > loop.c:1055:17: warning: ignoring return value of ‘asprintf’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 1055 | asprintf(&file, "%s/%s/%s.log", log_dir, ps -> > server_host, pc -> channel_name); > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > cc1: some warnings being treated as errors > make[1]: *** [<builtin>: loop.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2021/10/23/f-irc_1.36-1.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.