Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gdigi.spec'], chrootPath='/var/lib/mock/f33-build-159464-43409/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gdigi.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/gdigi-0.4.0-20140216gitcada964d.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gdigi.spec'], chrootPath='/var/lib/mock/f33-build-159464-43409/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gdigi.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Yj8RTM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gdigi-0.4.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/gdigi-0.4.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gdigi-0.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (gdigi-0.4.0-git.patch):' Patch #0 (gdigi-0.4.0-git.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile patching file effects.c patching file gdigi.c patching file gdigi.desktop patching file gdigi.h + mkdir -p /builddir/build/BUILD/gdigi-0.4.0/images + install -m 644 /builddir/build/SOURCES/gdigi.png /builddir/build/SOURCES/icon.png /builddir/build/BUILD/gdigi-0.4.0/images/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZDE6AP + umask 022 + cd /builddir/build/BUILD + cd gdigi-0.4.0 + make -j4 gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/libxml2 -Wall -g -ansi -std=c99 -M -MF .preset_xml.m -MG preset_xml.c gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/libxml2 -Wall -g -ansi -std=c99 -M -MF .gtkknob.m -MG gtkknob.c gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/libxml2 -Wall -g -ansi -std=c99 -M -MF .preset.m -MG preset.c gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/libxml2 -Wall -g -ansi -std=c99 -M -MF .effects.m -MG effects.c gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/libxml2 -Wall -g -ansi -std=c99 -M -MF .gui.m -MG gui.c gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/libxml2 -Wall -g -ansi -std=c99 -M -MF .gdigi.m -MG gdigi.c gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/libxml2 -Wall -g -ansi -std=c99 -c gdigi.c gdk-pixbuf-csource --raw --name=gdigi_icon images/icon.png > images/gdigi_icon.h gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/libxml2 -Wall -g -ansi -std=c99 -c effects.c gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/libxml2 -Wall -g -ansi -std=c99 -c preset.c gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/libxml2 -Wall -g -ansi -std=c99 -c gtkknob.c gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/libxml2 -Wall -g -ansi -std=c99 -c preset_xml.c gdigi.c: In function 'push_message': gdigi.c:441:13: warning: 'gdk_threads_enter' is deprecated [-Wdeprecated-declarations] 441 | GDK_THREADS_ENTER(); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:61, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gdigi.c:18: /usr/include/gtk-3.0/gdk/gdkthreads.h:46:10: note: declared here 46 | void gdk_threads_enter (void); | ^~~~~~~~~~~~~~~~~ gdigi.c:443:13: warning: 'gdk_threads_leave' is deprecated [-Wdeprecated-declarations] 443 | GDK_THREADS_LEAVE(); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:61, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gdigi.c:18: /usr/include/gtk-3.0/gdk/gdkthreads.h:48:10: note: declared here 48 | void gdk_threads_leave (void); | ^~~~~~~~~~~~~~~~~ gdigi.c:457:21: warning: 'gdk_threads_enter' is deprecated [-Wdeprecated-declarations] 457 | GDK_THREADS_ENTER(); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:61, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gdigi.c:18: /usr/include/gtk-3.0/gdk/gdkthreads.h:46:10: note: declared here 46 | void gdk_threads_enter (void); | ^~~~~~~~~~~~~~~~~ gdigi.c:459:21: warning: 'gdk_threads_leave' is deprecated [-Wdeprecated-declarations] 459 | GDK_THREADS_LEAVE(); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:61, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gdigi.c:18: /usr/include/gtk-3.0/gdk/gdkthreads.h:48:10: note: declared here 48 | void gdk_threads_leave (void); | ^~~~~~~~~~~~~~~~~ gdigi.c:523:17: warning: 'gdk_threads_enter' is deprecated [-Wdeprecated-declarations] 523 | GDK_THREADS_ENTER(); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:61, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gdigi.c:18: /usr/include/gtk-3.0/gdk/gdkthreads.h:46:10: note: declared here 46 | void gdk_threads_enter (void); | ^~~~~~~~~~~~~~~~~ gdigi.c:525:17: warning: 'gdk_threads_leave' is deprecated [-Wdeprecated-declarations] 525 | GDK_THREADS_LEAVE(); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:61, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gdigi.c:18: /usr/include/gtk-3.0/gdk/gdkthreads.h:48:10: note: declared here 48 | void gdk_threads_leave (void); | ^~~~~~~~~~~~~~~~~ gdigi.c:552:13: warning: 'gdk_threads_enter' is deprecated [-Wdeprecated-declarations] 552 | GDK_THREADS_ENTER(); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:61, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gdigi.c:18: /usr/include/gtk-3.0/gdk/gdkthreads.h:46:10: note: declared here 46 | void gdk_threads_enter (void); | ^~~~~~~~~~~~~~~~~ gdigi.c:558:13: warning: 'gdk_threads_leave' is deprecated [-Wdeprecated-declarations] 558 | GDK_THREADS_LEAVE(); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:61, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gdigi.c:18: /usr/include/gtk-3.0/gdk/gdkthreads.h:48:10: note: declared here 48 | void gdk_threads_leave (void); | ^~~~~~~~~~~~~~~~~ gdigi.c: In function 'main': gdigi.c:1483:5: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] 1483 | g_thread_init(NULL); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gdigi.c:18: /usr/include/glib-2.0/glib/deprecated/gthread.h:261:10: note: declared here 261 | void g_thread_init (gpointer vtable); | ^~~~~~~~~~~~~ gdigi.c:1484:5: warning: 'gdk_threads_init' is deprecated [-Wdeprecated-declarations] 1484 | gdk_threads_init(); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:61, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gdigi.c:18: /usr/include/gtk-3.0/gdk/gdkthreads.h:44:10: note: declared here 44 | void gdk_threads_init (void); | ^~~~~~~~~~~~~~~~ gdigi.c:1529:9: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] 1529 | message_queue_mutex = g_mutex_new(); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gdigi.c:18: /usr/include/glib-2.0/glib/deprecated/gthread.h:273:17: note: declared here 273 | GMutex * g_mutex_new (void); | ^~~~~~~~~~~ gdigi.c:1530:9: warning: 'g_cond_new' is deprecated [-Wdeprecated-declarations] 1530 | message_queue_cond = g_cond_new(); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gdigi.c:18: /usr/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here 277 | GCond * g_cond_new (void); | ^~~~~~~~~~ gdigi.c:1531:9: warning: 'g_thread_create' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 1531 | read_thread = g_thread_create((GThreadFunc)read_data_thread, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gdigi.c:18: /usr/include/glib-2.0/glib/deprecated/gthread.h:100:10: note: declared here 100 | GThread *g_thread_create (GThreadFunc func, | ^~~~~~~~~~~~~~~ gdigi.c:1566:9: warning: 'g_mutex_free' is deprecated [-Wdeprecated-declarations] 1566 | g_mutex_free(message_queue_mutex); | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gdigi.c:18: /usr/include/glib-2.0/glib/deprecated/gthread.h:275:17: note: declared here 275 | void g_mutex_free (GMutex *mutex); | ^~~~~~~~~~~~ At top level: gdigi.c:1386:13: warning: 'request_device_configuration' defined but not used [-Wunused-function] 1386 | static void request_device_configuration() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gdigi.c:1305:17: warning: 'restore_backup_file' defined but not used [-Wunused-function] 1305 | static gboolean restore_backup_file(const gchar *filename, GError **error) | ^~~~~~~~~~~~~~~~~~~ gdigi.c:1222:17: warning: 'create_backup_file' defined but not used [-Wunused-function] 1222 | static gboolean create_backup_file(GFile *file, GError **error) | ^~~~~~~~~~~~~~~~~~ effects.c: In function 'modifier_group_free': effects.c:4649:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4649 | if (modifier_group->group[x].settings) | ^~ effects.c:4652:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4652 | effect_settings_free(modifier_group->group[x].settings); | ^~~~~~~~~~~~~~~~~~~~ gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/libxml2 -Wall -g -ansi -std=c99 -c gui.c gtkknob.c: In function 'gtk_knob_motion_notify': gtkknob.c:651:13: warning: 'gdk_display_get_device_manager' is deprecated: Use 'gdk_display_get_default_seat' instead [-Wdeprecated-declarations] 651 | GdkDeviceManager *device_manager = gdk_display_get_device_manager(gdk_window_get_display(window)); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gtkknob.c:26: /usr/include/gtk-3.0/gdk/gdkdisplay.h:171:20: note: declared here 171 | GdkDeviceManager * gdk_display_get_device_manager (GdkDisplay *display); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtkknob.c:652:13: warning: 'gdk_device_manager_get_client_pointer' is deprecated [-Wdeprecated-declarations] 652 | GdkDevice *pointer = gdk_device_manager_get_client_pointer(device_manager); | ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkdisplay.h:32, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gtkknob.c:26: /usr/include/gtk-3.0/gdk/gdkdevicemanager.h:44:14: note: declared here 44 | GdkDevice * gdk_device_manager_get_client_pointer (GdkDeviceManager *device_manager); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'show_store_preset_window': gui.c:1087:42: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1087 | GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, | ^~~~~~~~~~~~~~~~ gui.c:1088:42: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1088 | GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, | ^~~~~~~~~~~~ gui.c: In function 'action_open_preset_cb': gui.c:1230:42: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1230 | GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, | ^~~~~~~~~~~~~~~~ gui.c:1231:42: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1231 | GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, | ^~~~~~~~~~~~~~ gui.c: In function 'action_save_preset_cb': gui.c:1370:42: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1370 | GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, | ^~~~~~~~~~~~~~~~ gui.c:1371:42: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1371 | GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, | ^~~~~~~~~~~~~~ gui.c: At top level: gui.c:1429:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1429 | {"Quit", GTK_STOCK_QUIT, "_Quit", "Q", "Quit", G_CALLBACK(action_quit_cb)}, | ^ gui.c:1432:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1432 | {"Load", GTK_STOCK_OPEN, "_Load Preset from File", "O", "Load Preset from File", G_CALLBACK(action_open_preset_cb)}, | ^ gui.c:1433:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1433 | {"Save", GTK_STOCK_SAVE, "_Save Preset to File", "S", "Save Preset to File", G_CALLBACK(action_save_preset_cb)}, | ^ gui.c:1435:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1435 | {"About", GTK_STOCK_ABOUT, "_About", "A", "About", G_CALLBACK(action_show_about_dialog_cb)}, | ^ gui.c: In function 'add_action_data': gui.c:1471:5: warning: 'gtk_ui_manager_get_action' is deprecated [-Wdeprecated-declarations] 1471 | action = gtk_ui_manager_get_action(ui, path); | ^~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:17: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:155:16: note: declared here 155 | GtkAction *gtk_ui_manager_get_action (GtkUIManager *manager, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'add_menubar': gui.c:1489:5: warning: 'gtk_action_group_new' is deprecated [-Wdeprecated-declarations] 1489 | actions = gtk_action_group_new("Actions"); | ^~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:17: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:175:17: note: declared here 175 | GtkActionGroup *gtk_action_group_new (const gchar *name); | ^~~~~~~~~~~~~~~~~~~~ gui.c:1490:5: warning: 'gtk_action_group_add_actions' is deprecated [-Wdeprecated-declarations] 1490 | gtk_action_group_add_actions(actions, entries, n_entries, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:17: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:210:17: note: declared here 210 | void gtk_action_group_add_actions (GtkActionGroup *action_group, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1492:5: warning: 'gtk_ui_manager_new' is deprecated [-Wdeprecated-declarations] 1492 | ui = gtk_ui_manager_new(); | ^~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:17: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:130:16: note: declared here 130 | GtkUIManager *gtk_ui_manager_new (void); | ^~~~~~~~~~~~~~~~~~ gui.c:1493:5: warning: 'gtk_ui_manager_insert_action_group' is deprecated [-Wdeprecated-declarations] 1493 | gtk_ui_manager_insert_action_group(ui, actions, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:17: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:138:16: note: declared here 138 | void gtk_ui_manager_insert_action_group (GtkUIManager *manager, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1495:5: warning: 'gtk_ui_manager_get_accel_group' is deprecated [-Wdeprecated-declarations] 1495 | gtk_window_add_accel_group(GTK_WINDOW(window), gtk_ui_manager_get_accel_group(ui)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:17: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:147:16: note: declared here 147 | GtkAccelGroup *gtk_ui_manager_get_accel_group (GtkUIManager *manager); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1497:5: warning: 'gtk_ui_manager_add_ui_from_string' is deprecated [-Wdeprecated-declarations] 1497 | if (!gtk_ui_manager_add_ui_from_string(ui, menu_info, -1, &error)) { | ^~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:17: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:158:16: note: declared here 158 | guint gtk_ui_manager_add_ui_from_string (GtkUIManager *manager, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1503:24: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations] 1503 | gtk_ui_manager_get_widget(ui, "/MenuBar"), | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:17: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:149:16: note: declared here 149 | GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'gui_create': gui.c:1549:5: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 1549 | icon = gdk_pixbuf_new_from_inline(-1, gdigi_icon, FALSE, NULL); | ^~~~ In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/include/gtk-3.0/gdk/gdkpixbuf.h:33, from /usr/include/gtk-3.0/gdk/gdkcairo.h:29, from /usr/include/gtk-3.0/gdk/gdk.h:33, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:17: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:362:12: note: declared here 362 | GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'unsupported_device_dialog': gui.c:1638:42: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1638 | GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, | ^~~~~~~~~~~~~~~~ gui.c:1639:42: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1639 | GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, | ^~~~~~~~~~~~ gui.c: In function 'select_device_dialog': gui.c:1691:42: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1691 | GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, | ^~~~~~~~~~~~~~~~ gui.c:1692:42: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1692 | GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, | ^~~~~~~~~~~~ gcc -Wl,--as-needed -o gdigi gdigi.o gui.o effects.o preset.o gtkknob.o preset_xml.o -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lasound -lxml2 -lexpat -lm /usr/bin/ld: gui.o:/builddir/build/BUILD/gdigi-0.4.0/gdigi.h:45: multiple definition of `product_id'; gdigi.o:/builddir/build/BUILD/gdigi-0.4.0/gdigi.h:45: first defined here /usr/bin/ld: gui.o:/builddir/build/BUILD/gdigi-0.4.0/gdigi.h:1123: multiple definition of `ChannelBankIndex'; gdigi.o:/builddir/build/BUILD/gdigi-0.4.0/gdigi.h:1123: first defined here /usr/bin/ld: effects.o:/builddir/build/BUILD/gdigi-0.4.0/gdigi.h:45: multiple definition of `product_id'; gdigi.o:/builddir/build/BUILD/gdigi-0.4.0/gdigi.h:45: first defined here /usr/bin/ld: effects.o:/builddir/build/BUILD/gdigi-0.4.0/gdigi.h:1123: multiple definition of `ChannelBankIndex'; gdigi.o:/builddir/build/BUILD/gdigi-0.4.0/gdigi.h:1123: first defined here /usr/bin/ld: preset.o:/builddir/build/BUILD/gdigi-0.4.0/gdigi.h:45: multiple definition of `product_id'; gdigi.o:/builddir/build/BUILD/gdigi-0.4.0/gdigi.h:45: first defined here /usr/bin/ld: preset.o:/builddir/build/BUILD/gdigi-0.4.0/gdigi.h:1123: multiple definition of `ChannelBankIndex'; gdigi.o:/builddir/build/BUILD/gdigi-0.4.0/gdigi.h:1123: first defined here /usr/bin/ld: preset_xml.o:/builddir/build/BUILD/gdigi-0.4.0/gdigi.h:45: multiple definition of `product_id'; gdigi.o:/builddir/build/BUILD/gdigi-0.4.0/gdigi.h:45: first defined here /usr/bin/ld: preset_xml.o:/builddir/build/BUILD/gdigi-0.4.0/gdigi.h:1123: multiple definition of `ChannelBankIndex'; gdigi.o:/builddir/build/BUILD/gdigi-0.4.0/gdigi.h:1123: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:20: gdigi] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.ZDE6AP (%build) Bad exit status from /var/tmp/rpm-tmp.ZDE6AP (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/gdigi.spec