ynchronous-unwind-tables -fstack-clash-protection -std=gnu89 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hppwd hppwd.o dstring.o hpcache.o hfsputil.o glob.o dlist.o ../libhfsp/src/.libs/libhfsp.a /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wall -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 -std=gnu89 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hpmkdir hpmkdir.o hpcache.o charset.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/libhfsp.la libtool: link: gcc -O2 -Wall -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 -std=gnu89 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hpfsck hpfsck.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/.libs/libhfsp.a libtool: link: gcc -O2 -Wall -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 -std=gnu89 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hprm hprm.o hpcache.o charset.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/.libs/libhfsp.a /usr/bin/ld: ../libhfsp/src/.libs/libhfsp.a(fscheck.o): in function `.LANCHOR0': /builddir/build/BUILD/hfsplus-1.0.4/libhfsp/src/fscheck.h:108: multiple definition of `fsck_data'; hpfsck.o:/builddir/build/BUILD/hfsplus-1.0.4/src/../libhfsp/src/fscheck.h:108: first defined here /usr/bin/ld: ../libhfsp/src/.libs/libhfsp.a(btreecheck.o): in function `.LANCHOR0': /builddir/build/BUILD/hfsplus-1.0.4/libhfsp/src/fscheck.h:108: multiple definition of `fsck_data'; hpfsck.o:/builddir/build/BUILD/hfsplus-1.0.4/src/../libhfsp/src/fscheck.h:108: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:482: hpfsck] Error 1 make[2]: *** Waiting for unfinished jobs.... libtool: link: gcc -O2 -Wall -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 -std=gnu89 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hpmkdir hpmkdir.o hpcache.o charset.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/.libs/libhfsp.a make[2]: Leaving directory '/builddir/build/BUILD/hfsplus-1.0.4/src' make[1]: Leaving directory '/builddir/build/BUILD/hfsplus-1.0.4' make[1]: *** [Makefile:410: all-recursive] Error 1 make: *** [Makefile:342: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.sVDY7h (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.sVDY7h (%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/hfsplusutils.spec