d-11.2/./cmdline/support.h:416: first defined here /usr/bin/ld: cmdline/search.o: in function `.LANCHOR0': /builddir/build/BUILD/snapraid-11.2/cmdline/portable.h:397: multiple definition of `exit_sync_needed'; tommyds/tommy.o:/builddir/build/BUILD/snapraid-11.2/./cmdline/portable.h:397: first defined here /usr/bin/ld: cmdline/search.o: in function `.LANCHOR0': /builddir/build/BUILD/snapraid-11.2/cmdline/portable.h:396: multiple definition of `exit_failure'; tommyds/tommy.o:/builddir/build/BUILD/snapraid-11.2/./cmdline/portable.h:396: first defined here /usr/bin/ld: cmdline/search.o: in function `.LANCHOR0': /builddir/build/BUILD/snapraid-11.2/cmdline/portable.h:395: multiple definition of `exit_success'; tommyds/tommy.o:/builddir/build/BUILD/snapraid-11.2/./cmdline/portable.h:395: first defined here /usr/bin/ld: cmdline/search.o: in function `.LANCHOR0': /builddir/build/BUILD/snapraid-11.2/cmdline/portable.h:390: multiple definition of `stdlog'; tommyds/tommy.o:/builddir/build/BUILD/snapraid-11.2/./cmdline/portable.h:390: first defined here /usr/bin/ld: cmdline/mingw.o:/builddir/build/BUILD/snapraid-11.2/cmdline/portable.h:397: multiple definition of `exit_sync_needed'; tommyds/tommy.o:/builddir/build/BUILD/snapraid-11.2/./cmdline/portable.h:397: first defined here /usr/bin/ld: cmdline/mingw.o:/builddir/build/BUILD/snapraid-11.2/cmdline/portable.h:396: multiple definition of `exit_failure'; tommyds/tommy.o:/builddir/build/BUILD/snapraid-11.2/./cmdline/portable.h:396: first defined here /usr/bin/ld: cmdline/mingw.o:/builddir/build/BUILD/snapraid-11.2/cmdline/portable.h:395: multiple definition of `exit_success'; tommyds/tommy.o:/builddir/build/BUILD/snapraid-11.2/./cmdline/portable.h:395: first defined here /usr/bin/ld: cmdline/mingw.o:/builddir/build/BUILD/snapraid-11.2/cmdline/portable.h:390: multiple definition of `stdlog'; tommyds/tommy.o:/builddir/build/BUILD/snapraid-11.2/./cmdline/portable.h:390: first defined here /usr/bin/ld: cmdline/unix.o:/builddir/build/BUILD/snapraid-11.2/cmdline/support.h:416: multiple definition of `thread_cond_signal_outside'; tommyds/tommy.o:/builddir/build/BUILD/snapraid-11.2/./cmdline/support.h:416: first defined here /usr/bin/ld: cmdline/unix.o: in function `.LANCHOR0': /builddir/build/BUILD/snapraid-11.2/cmdline/portable.h:397: multiple definition of `exit_sync_needed'; tommyds/tommy.o:/builddir/build/BUILD/snapraid-11.2/./cmdline/portable.h:397: first defined here /usr/bin/ld: cmdline/unix.o: in function `.LANCHOR0': /builddir/build/BUILD/snapraid-11.2/cmdline/portable.h:396: multiple definition of `exit_failure'; tommyds/tommy.o:/builddir/build/BUILD/snapraid-11.2/./cmdline/portable.h:396: first defined here /usr/bin/ld: cmdline/unix.o:/builddir/build/BUILD/snapraid-11.2/cmdline/portable.h:395: multiple definition of `exit_success'; tommyds/tommy.o:/builddir/build/BUILD/snapraid-11.2/./cmdline/portable.h:395: first defined here /usr/bin/ld: cmdline/unix.o:/builddir/build/BUILD/snapraid-11.2/cmdline/portable.h:390: multiple definition of `stdlog'; tommyds/tommy.o:/builddir/build/BUILD/snapraid-11.2/./cmdline/portable.h:390: first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:692: snapraid] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/snapraid-11.2' make: *** [Makefile:532: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.lLklgU (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.lLklgU (%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/snapraid.spec