pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -W -Wall -c ./parity.cc BUILDSTDERR: ./gutil.cc: In function 'void error_message_box(const gtstream&)': BUILDSTDERR: ./gutil.cc:30:30: error: format not a string literal and no format arguments [-Werror=format-security] BUILDSTDERR: bufstr.str().c_str()); BUILDSTDERR: ^ BUILDSTDERR: cc1plus: some warnings being treated as errors BUILDSTDERR: make: *** [Makefile:264: gutil.o] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... BUILDSTDERR: ./parity.cc: In function 'int parity_eval_alpha_beta(search_info&, int)': BUILDSTDERR: ./parity.cc:47:7: warning: variable 'even_move_left' set but not used [-Wunused-but-set-variable] BUILDSTDERR: bool even_move_left = true; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, BUILDSTDERR: from ./gutil.h:24, BUILDSTDERR: from ./load.cc:25: BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] BUILDSTDERR: void (*__gtk_reserved1); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] BUILDSTDERR: void (*__gtk_reserved2); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] BUILDSTDERR: void (*__gtk_reserved3); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] BUILDSTDERR: void (*__gtk_reserved4); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] BUILDSTDERR: void (*__gtk_reserved5); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] BUILDSTDERR: void (*__gtk_reserved6); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] BUILDSTDERR: void (*__gtk_reserved7); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, BUILDSTDERR: from ./gutil.h:24, BUILDSTDERR: from ./load.cc:25: BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] BUILDSTDERR: void (*__gtk_reserved1); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] BUILDSTDERR: void (*__gtk_reserved2); BUILDSTDERR: ^ error: RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.RMT44J (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.RMT44J (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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/grhino.spec