mon-0.6.4/ras-record.h:28: multiple definition of `ras'; rasdaemon.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: first defined here /usr/bin/ld: mce-intel-tulsa.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: multiple definition of `ras'; rasdaemon.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: first defined here /usr/bin/ld: mce-intel-sb.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: multiple definition of `ras'; rasdaemon.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: first defined here /usr/bin/ld: mce-intel-ivb.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: multiple definition of `ras'; rasdaemon.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: first defined here /usr/bin/ld: mce-intel-haswell.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: multiple definition of `ras'; rasdaemon.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: first defined here /usr/bin/ld: mce-intel-knl.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: multiple definition of `ras'; rasdaemon.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: first defined here /usr/bin/ld: mce-intel-broadwell-de.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: multiple definition of `ras'; rasdaemon.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: first defined here /usr/bin/ld: mce-intel-broadwell-epex.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: multiple definition of `ras'; rasdaemon.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: first defined here /usr/bin/ld: mce-intel-skylake-xeon.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: multiple definition of `ras'; rasdaemon.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: first defined here /usr/bin/ld: mce-amd-k8.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: multiple definition of `ras'; rasdaemon.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: first defined here /usr/bin/ld: mce-amd-smca.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: multiple definition of `ras'; rasdaemon.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: first defined here /usr/bin/ld: ras-extlog-handler.o: in function `.LANCHOR0': /builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: multiple definition of `ras'; rasdaemon.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: first defined here /usr/bin/ld: ras-devlink-handler.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: multiple definition of `ras'; rasdaemon.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: first defined here /usr/bin/ld: ras-diskerror-handler.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: multiple definition of `ras'; rasdaemon.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: first defined here /usr/bin/ld: ras-report.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: multiple definition of `ras'; rasdaemon.o:/builddir/build/BUILD/rasdaemon-0.6.4/ras-record.h:28: first defined here collect2: error: ld returned 1 exit status make[2]: Leaving directory '/builddir/build/BUILD/rasdaemon-0.6.4' make[2]: *** [Makefile:621: rasdaemon] Error 1 make[1]: *** [Makefile:724: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/rasdaemon-0.6.4' make: *** [Makefile:515: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.2V9Pab (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.2V9Pab (%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/rasdaemon.spec