{ } [-Wnarrowing] BUILDSTDERR: In file included from /usr/include/gtk-3.0/gtk/gtk.h:100, BUILDSTDERR: from source/color_names/../Paths.h:22, BUILDSTDERR: from source/color_names/ColorNames.cpp:21: BUILDSTDERR: /usr/include/gtk-3.0/gtk/gtkfilechooserbutton.h:66:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] BUILDSTDERR: void (*__gtk_reserved1); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/gtk-3.0/gtk/gtkfilechooserbutton.h:67:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] BUILDSTDERR: void (*__gtk_reserved2); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/gtk-3.0/gtk/gtkfilechooserbutton.h:68:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] BUILDSTDERR: void (*__gtk_reserved3); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/gtk-3.0/gtk/gtkfilechooserbutton.h:69:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] BUILDSTDERR: void (*__gtk_reserved4); BUILDSTDERR: ^ BUILDSTDERR: source/tools/PaletteFromImage.cpp: At global scope: BUILDSTDERR: source/tools/PaletteFromImage.cpp:455:15: warning: 'gchar* format_threshold_value_cb(GtkScale*, gdouble)' defined but not used [-Wunused-function] BUILDSTDERR: static gchar* format_threshold_value_cb(GtkScale *scale, gdouble value){ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: scons: *** [build/source/parser/TextFileParser.o] Error 1 BUILDSTDERR: In file included from /usr/include/gtk-3.0/gtk/gtk.h:271, BUILDSTDERR: from source/color_names/../Paths.h:22, BUILDSTDERR: from source/color_names/ColorNames.cpp:21: BUILDSTDERR: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:74:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] BUILDSTDERR: void (*__gtk_reserved1); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:75:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] BUILDSTDERR: void (*__gtk_reserved2); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] BUILDSTDERR: void (*__gtk_reserved3); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] BUILDSTDERR: void (*__gtk_reserved4); BUILDSTDERR: ^ BUILDSTDERR: source/color_names/ColorNames.cpp: In function 'int color_names_load_from_file(ColorNames*, const char*)': BUILDSTDERR: source/color_names/ColorNames.cpp:109:8: warning: unused variable 'a' [-Wunused-variable] BUILDSTDERR: float a = 0, b = 0, c = 0; BUILDSTDERR: ^ BUILDSTDERR: source/color_names/ColorNames.cpp:109:15: warning: unused variable 'b' [-Wunused-variable] BUILDSTDERR: float a = 0, b = 0, c = 0; BUILDSTDERR: ^ BUILDSTDERR: source/color_names/ColorNames.cpp:109:22: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: float a = 0, b = 0, c = 0; BUILDSTDERR: ^ scons: building terminated because of errors. BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.KVY6Gx (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.KVY6Gx (%build) RPM build errors: 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/gpick.spec