mat-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 X11 compiler flags: X11 linker flags: -lX11 GTK compiler flags: -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread GTK linker flags: -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype XNeur Config flags: XNeur Config libs: -lxnconfig -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -ldl -lpcre XNeur flags: XNeur libs: -lxneur -lpcre -lenchant -lgmodule-2.0 -pthread -lglib-2.0 -lpthread -ldl Use GTK+ >= 2.20.0 support + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/gxneur-0.20.0' Making all in src make[2]: Entering directory '/builddir/build/BUILD/gxneur-0.20.0/src' CC gxneur-configuration.o CC gxneur-main.o CC gxneur-callbacks.o CC gxneur-misc.o CC gxneur-tray_widget.o CC gxneur-trayicon.o CC gxneur-xkb.o BUILDSTDERR: tray_widget.c: In function 'gtk_tray_icon_class_init': BUILDSTDERR: tray_widget.c:108:2: error: 'g_type_class_add_private' is deprecated [-Werror=deprecated-declarations] BUILDSTDERR: g_type_class_add_private (class, sizeof (GtkTrayIconPrivate)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/gobject/gobject.h:24, BUILDSTDERR: from /usr/include/glib-2.0/gobject/gbinding.h:29, BUILDSTDERR: from /usr/include/glib-2.0/glib-object.h:23, BUILDSTDERR: from /usr/include/glib-2.0/gio/gioenums.h:28, BUILDSTDERR: from /usr/include/glib-2.0/gio/giotypes.h:28, BUILDSTDERR: from /usr/include/glib-2.0/gio/gio.h:26, BUILDSTDERR: from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, BUILDSTDERR: from /usr/include/gtk-2.0/gdk/gdk.h:32, BUILDSTDERR: from /usr/include/gtk-2.0/gtk/gtkwidget.h:34, BUILDSTDERR: from /usr/include/gtk-2.0/gtk/gtkprivate.h:30, BUILDSTDERR: from tray_widget.c:22: BUILDSTDERR: /usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here BUILDSTDERR: void g_type_class_add_private (gpointer g_class, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cc1: all warnings being treated as errors BUILDSTDERR: make[2]: *** [Makefile:553: gxneur-tray_widget.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/gxneur-0.20.0/src' BUILDSTDERR: make[1]: *** [Makefile:567: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/gxneur-0.20.0' BUILDSTDERR: make: *** [Makefile:433: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.EMuPjh (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.EMuPjh (%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/gxneur.spec