Source: irqbalance
Version: 1.7.0-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. -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE 
> -Wdate-time -D_FORTIFY_SOURCE=2  -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o ui/ui.o ui/ui.c
> ui/irqbalance-ui.c: In function ‘main’:
> ui/irqbalance-ui.c:419:41: warning: ignoring return value of ‘fgets’ declared 
> with attribute ‘warn_unused_result’ [-Wunused-result]
>   419 |                                         fgets(cmdstring, 255, f);
>       |                                         ^~~~~~~~~~~~~~~~~~~~~~~~
> ui/ui.c: In function ‘show_frame’:
> ui/ui.c:28:24: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>    28 |         mvprintw(0, 0, top);
>       |                        ^~~
> ui/ui.c: In function ‘show_footer’:
> ui/ui.c:44:32: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>    44 |         mvprintw(LINES - 1, 0, footer);
>       |                                ^~~~~~
> ui/ui.c: In function ‘print_assigned_objects_string’:
> ui/ui.c:333:36: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>   333 |         mvprintw(*line_offset, 36, assigned_to);
>       |                                    ^~~~~~~~~~~
> ui/ui.c: In function ‘settings’:
> ui/ui.c:568:24: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>   568 |         mvprintw(2, 3, info);
>       |                        ^~~~
> ui/ui.c: In function ‘display_tree_node_irqs’:
> ui/ui.c:666:25: warning: format ‘%lu’ expects argument of type ‘long unsigned 
> int’, but argument 3 has type ‘int’ [-Wformat=]
>   666 |         printw("%sIRQ %lu, IRQs since last rebalance %lu\n",
>       |                       ~~^
>       |                         |
>       |                         long unsigned int
>       |                       %u
>   667 |                         indent, irq->vector, irq->diff);
>       |                                 ~~~~~~~~~~~
>       |                                    |
>       |                                    int
> ui/ui.c: In function ‘display_tree_node’:
> ui/ui.c:713:16: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>   713 |         printw(copy_to);
>       |                ^~~~~~~
> /bin/bash ./libtool  --tag=CC   --mode=link gcc  -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o irqbalance activate.o 
> bitmap.o classify.o cputree.o irqbalance.o irqlist.o numa.o placement.o 
> procinterrupts.o -lcap-ng -lglib-2.0 -lsystemd -lsystemd -lm -lnuma  
> -lncursesw -ltinfo
> libtool: link: gcc -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o irqbalance 
> activate.o bitmap.o classify.o cputree.o irqbalance.o irqlist.o numa.o 
> placement.o procinterrupts.o  -lcap-ng -lglib-2.0 -lsystemd -lm -lnuma 
> -lncursesw -ltinfo
> cc1: some warnings being treated as errors
> make[3]: *** [Makefile:583: ui/ui.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/irqbalance_1.7.0-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