heckbox.c gcc -DHAVE_CONFIG_H -I. -I../../.. -D _FILE_OFFSET_BITS=64 -I../../../src/ -I../../../src/external_tools/ -I../../../src/tasks/ -I../../../src/utilities/ -I../../../src/user_interface/widgets/ -I../../../src/user_interface/ -I../../../src/configuration/ -I../../../src/native_file_system/ -I../../../src/optical_file_systems/ -I../../../src/disc_and_drive/ -I../../../gnulib/lib/ -DNDEBUG -std=gnu99 -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c cdw_dialog.c cdw_dropdown.c: In function 'cdw_dropdown_finalize': cdw_dropdown.c:190:29: warning: unused variable 'e' [-Wunused-variable] 190 | int e = errno; | ^ cdw_dropdown.c:202:21: warning: unused variable 'e' [-Wunused-variable] 202 | int e = errno; | ^ cdw_dropdown.c:216:21: warning: unused variable 'e' [-Wunused-variable] 216 | int e = errno; | ^ cdw_dropdown.c: In function 'cdw_dropdown_display_current_item_reverse': cdw_dropdown.c:665:9: error: format not a string literal and no format arguments [-Werror=format-security] 665 | mvwprintw(dropdown->parent, dropdown->begin_y, dropdown->begin_x + 1, dropdown->items[dropdown->current_item_ind]->label); | ^~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../../.. -D _FILE_OFFSET_BITS=64 -I../../../src/ -I../../../src/external_tools/ -I../../../src/tasks/ -I../../../src/utilities/ -I../../../src/user_interface/widgets/ -I../../../src/user_interface/ -I../../../src/configuration/ -I../../../src/native_file_system/ -I../../../src/optical_file_systems/ -I../../../src/disc_and_drive/ -I../../../gnulib/lib/ -DNDEBUG -std=gnu99 -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c cdw_input_line.c cdw_input_line.c: In function 'cdw_input_line_driver_message': cdw_input_line.c:365:9: error: format not a string literal and no format arguments [-Werror=format-security] 365 | mvwprintw(input_line->win, 1, 0, message); | ^~~~~~~~~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors make[4]: *** [Makefile:325: cdw_input_line.o] Error 1 make[4]: Leaving directory '/builddir/build/BUILD/cdw-0.7.1/src/user_interface/widgets' make[4]: *** Waiting for unfinished jobs.... make[4]: *** [Makefile:325: cdw_dropdown.o] Error 1 make[3]: *** [Makefile:619: all-recursive] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/cdw-0.7.1/src/user_interface' make[2]: *** [Makefile:529: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/cdw-0.7.1/src' make[1]: *** [Makefile:280: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/cdw-0.7.1' make: *** [Makefile:220: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.OkiHIH (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.OkiHIH (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cdw.spec