(args->params, "show_preview", true), gs->getColorList(), &preview_color_list), 0, 1, table_m_y, table_m_y+1 , GtkAttachOptions(GTK_FILL | GTK_EXPAND), GtkAttachOptions(GTK_FILL | GTK_EXPAND), 5, 5); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/gtk-3.0/gtk/gtk.h:280, BUILDSTDERR: from source/tools/PaletteFromImage.h:22, BUILDSTDERR: from source/tools/PaletteFromImage.cpp:19: BUILDSTDERR: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here BUILDSTDERR: void gtk_table_attach (GtkTable *table, BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: source/tools/PaletteFromImage.cpp:587:312: warning: 'void gtk_table_attach(GtkTable*, GtkWidget*, guint, guint, guint, guint, GtkAttachOptions, GtkAttachOptions, guint, guint)' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] BUILDSTDERR: gtk_table_attach(GTK_TABLE(table_m), args->preview_expander = palette_list_preview_new(gs, true, dynv_get_bool_wd(args->params, "show_preview", true), gs->getColorList(), &preview_color_list), 0, 1, table_m_y, table_m_y+1 , GtkAttachOptions(GTK_FILL | GTK_EXPAND), GtkAttachOptions(GTK_FILL | GTK_EXPAND), 5, 5); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/gtk-3.0/gtk/gtk.h:280, BUILDSTDERR: from source/tools/PaletteFromImage.h:22, BUILDSTDERR: from source/tools/PaletteFromImage.cpp:19: BUILDSTDERR: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here BUILDSTDERR: void gtk_table_attach (GtkTable *table, 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: 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.IaEnmK (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.IaEnmK (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, 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