; farm/object_tree.o:/builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:30: first defined here /usr/bin/ld: common.o: in function `.LANCHOR2': /builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:32: multiple definition of `sha1_final'; farm/object_tree.o:/builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:32: first defined here /usr/bin/ld: common.o: in function `.LANCHOR2': /builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:31: multiple definition of `sha1_update'; farm/object_tree.o:/builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:31: first defined here /usr/bin/ld: common.o: in function `.LANCHOR2': /builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:30: multiple definition of `sha1_init'; farm/object_tree.o:/builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:30: first defined here /usr/bin/ld: vdi.o: in function `.LANCHOR4': /builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:32: multiple definition of `sha1_final'; farm/object_tree.o:/builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:32: first defined here /usr/bin/ld: vdi.o: in function `.LANCHOR4': /builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:31: multiple definition of `sha1_update'; farm/object_tree.o:/builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:31: first defined here /usr/bin/ld: vdi.o: in function `.LANCHOR4': /builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:30: multiple definition of `sha1_init'; farm/object_tree.o:/builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:30: first defined here /usr/bin/ld: cluster.o: in function `.LANCHOR0': /builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:32: multiple definition of `sha1_final'; farm/object_tree.o:/builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:32: first defined here /usr/bin/ld: cluster.o: in function `.LANCHOR0': /builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:31: multiple definition of `sha1_update'; farm/object_tree.o:/builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:31: first defined here /usr/bin/ld: cluster.o: in function `.LANCHOR0': /builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:30: multiple definition of `sha1_init'; farm/object_tree.o:/builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:30: first defined here /usr/bin/ld: ../lib/libsd.a(sha1.o): in function `.LANCHOR2': /builddir/build/BUILD/sheepdog-1.0.1/lib/../include/sha1.h:32: multiple definition of `sha1_final'; farm/object_tree.o:/builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:32: first defined here /usr/bin/ld: ../lib/libsd.a(sha1.o): in function `.LANCHOR2': /builddir/build/BUILD/sheepdog-1.0.1/lib/../include/sha1.h:31: multiple definition of `sha1_update'; farm/object_tree.o:/builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:31: first defined here /usr/bin/ld: ../lib/libsd.a(sha1.o): in function `.LANCHOR2': /builddir/build/BUILD/sheepdog-1.0.1/lib/../include/sha1.h:30: multiple definition of `sha1_init'; farm/object_tree.o:/builddir/build/BUILD/sheepdog-1.0.1/dog/../include/sha1.h:30: first defined here collect2: error: ld returned 1 exit status make[1]: Leaving directory '/builddir/build/BUILD/sheepdog-1.0.1/dog' make[1]: *** [Makefile:483: dog] Error 1 make: *** [Makefile:495: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.W776do (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.W776do (%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/sheepdog.spec