om /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from support.c:35: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -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 -L/usr/lib64 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -L/usr/local/lib -o ggz.ccheckers display.o game.o main.o main_cb.o main_dlg.o prefs_cb.o prefs_dlg.o support.o ./../common/libgtk-games.a -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 -lharfbuzz -lfontconfig -lfreetype -lggzmod -lggz -lm libtool: link: gcc -O2 -g -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ggz.ccheckers display.o game.o main.o main_cb.o main_dlg.o prefs_cb.o prefs_dlg.o support.o -L/usr/lib64 -L/usr/local/lib ./../common/libgtk-games.a -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 -lharfbuzz -lfontconfig -lfreetype -lggzmod -lggz -lm /usr/bin/ld: ./../common/libgtk-games.a(dlg_players.o): in function `.LANCHOR0': /builddir/build/BUILD/ggz-gtk-client-snapshot-0.99.5/games/common/dlg_players.c:52: multiple definition of `ggz'; ./../common/libgtk-games.a(dlg_chat.o):/builddir/build/BUILD/ggz-gtk-client-snapshot-0.99.5/games/common/dlg_chat.c:50: first defined here collect2: error: ld returned 1 exit status make[4]: *** [Makefile:373: ggz.ccheckers] Error 1 make[4]: Leaving directory '/builddir/build/BUILD/ggz-gtk-client-snapshot-0.99.5/games/chinese-checkers' make[3]: Leaving directory '/builddir/build/BUILD/ggz-gtk-client-snapshot-0.99.5/games/chinese-checkers' make[3]: *** [Makefile:424: all-recursive] Error 1 make[2]: *** [Makefile:301: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/ggz-gtk-client-snapshot-0.99.5/games' make[1]: Leaving directory '/builddir/build/BUILD/ggz-gtk-client-snapshot-0.99.5' make[1]: *** [Makefile:374: all-recursive] Error 1 make: *** [Makefile:287: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.JfPYV5 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.JfPYV5 (%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/ggz-gtk-client.spec