usr/include/libbonobo-2.0/bonobo/bonobo-types.h:15, from /usr/include/libbonobo-2.0/libbonobo.h:18, from /usr/include/libbonoboui-2.0/libbonoboui.h:14, from /usr/include/libbonoboui-2.0/bonobo.h:14, from morse_stats_i.c:15: /usr/include/glib-2.0/gobject/gparam.h:271:8: note: declared here 271 | struct _GParameter /* auxiliary structure for _setv() variants */ | ^~~~~~~~~~~ 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,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o morse2txt main.o dt_window.o audio.o morse.o utility.o support.o interface.o interface_il.o callbacks.o prop_callbacks.o prop_interface.o preferences.o agc.o dglitch.o fir_win.o audio_oss.o audio_alsa.o morse_stats_cb.o morse_stats_i.o -lgnomeui-2 -lSM -lICE -lglib-2.0 -lglib-2.0 -lglib-2.0 -lglib-2.0 -lbonoboui-2 -lglib-2.0 -lglib-2.0 -lglib-2.0 -lglib-2.0 -lgnome-2 -lpopt -lbonobo-2 -lglib-2.0 -lglib-2.0 -lbonobo-activation -lglib-2.0 -lORBit-2 -lglib-2.0 -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lharfbuzz -lfontconfig -lfreetype -lgdk_pixbuf-2.0 -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lgmodule-2.0 -pthread -lglib-2.0 -lgobject-2.0 -lglib-2.0 -lgsl -lgslcblas -lm /usr/bin/ld: interface.o: in function `.LANCHOR0': /builddir/build/BUILD/morse2txt-1.0.0/src/interface_il.h:73: multiple definition of `main_gui'; main.o:/builddir/build/BUILD/morse2txt-1.0.0/src/interface_il.h:73: first defined here /usr/bin/ld: interface_il.o: in function `.LANCHOR0': /builddir/build/BUILD/morse2txt-1.0.0/src/interface_il.h:73: multiple definition of `main_gui'; main.o:/builddir/build/BUILD/morse2txt-1.0.0/src/interface_il.h:73: first defined here /usr/bin/ld: callbacks.o: in function `.LANCHOR0': /builddir/build/BUILD/morse2txt-1.0.0/src/interface_il.h:73: multiple definition of `main_gui'; main.o:/builddir/build/BUILD/morse2txt-1.0.0/src/interface_il.h:73: first defined here /usr/bin/ld: prop_callbacks.o: in function `.LANCHOR0': /builddir/build/BUILD/morse2txt-1.0.0/src/interface_il.h:73: multiple definition of `main_gui'; main.o:/builddir/build/BUILD/morse2txt-1.0.0/src/interface_il.h:73: first defined here /usr/bin/ld: preferences.o: in function `.LANCHOR0': /builddir/build/BUILD/morse2txt-1.0.0/src/interface_il.h:73: multiple definition of `main_gui'; main.o:/builddir/build/BUILD/morse2txt-1.0.0/src/interface_il.h:73: first defined here /usr/bin/ld: morse_stats_cb.o:/builddir/build/BUILD/morse2txt-1.0.0/src/interface_il.h:73: multiple definition of `main_gui'; main.o:/builddir/build/BUILD/morse2txt-1.0.0/src/interface_il.h:73: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:315: morse2txt] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/morse2txt-1.0.0/src' make[1]: *** [Makefile:355: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/morse2txt-1.0.0' make: *** [Makefile:256: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.xR3oUb (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.xR3oUb (%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/morse2txt.spec