ddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o alt/boothd-nametag_libsystemd.o `test -f 'alt/nametag_libsystemd.c' || echo './'`alt/nametag_libsystemd.c make[2]: Leaving directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' make[2]: Entering directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -rdynamic -L./ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o boothd boothd-config.o boothd-main.o boothd-raft.o boothd-ticket.o boothd-transport.o boothd-pacemaker.o boothd-handler.o boothd-request.o boothd-attr.o boothd-manual.o boothd-timer.o boothd-auth.o alt/boothd-logging_libqb.o alt/boothd-range2random_glib.o alt/boothd-nametag_libsystemd.o -lm -lglib-2.0 -lz -lqb -ldl -lglib-2.0 -lsystemd -lsystemd -lxml2 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' /usr/bin/ld: boothd-ticket.o: in function `.LANCHOR1': /builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src/pacemaker.h:35: multiple definition of `pcmk_handler'; boothd-main.o:/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src/pacemaker.h:35: first defined here /usr/bin/ld: boothd-pacemaker.o: in function `.LANCHOR4': /builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src/pacemaker.h:35: multiple definition of `pcmk_handler'; boothd-main.o:/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src/pacemaker.h:35: first defined here /usr/bin/ld: boothd-handler.o: in function `.LANCHOR1': /builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src/pacemaker.h:35: multiple definition of `pcmk_handler'; boothd-main.o:/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src/pacemaker.h:35: first defined here /usr/bin/ld: boothd-attr.o: in function `.LANCHOR2': /builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src/pacemaker.h:35: multiple definition of `pcmk_handler'; boothd-main.o:/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src/pacemaker.h:35: first defined here /usr/bin/ld: warning: /lib64/lp64d/../lib64/lp64d/libqb.so contains output sections; did you forget -T? collect2: error: ld returned 1 exit status make[2]: *** [Makefile:500: boothd] Error 1 make[1]: *** [Makefile:387: all] Error 2 make: *** [Makefile:920: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.KBM5r9 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.KBM5r9 (%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/booth.spec