/Protocols/9P/CMakeFiles/9p.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/nfs-ganesha-2.6.2/src' make -f Protocols/9P/CMakeFiles/9p.dir/build.make Protocols/9P/CMakeFiles/9p.dir/build make[2]: Entering directory '/builddir/build/BUILD/nfs-ganesha-2.6.2/src' make[2]: Nothing to be done for 'Protocols/9P/CMakeFiles/9p.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/nfs-ganesha-2.6.2/src' [ 53%] Built target 9p make -f Protocols/NLM/CMakeFiles/sm_notify.ganesha.dir/build.make Protocols/NLM/CMakeFiles/sm_notify.ganesha.dir/depend make[2]: Entering directory '/builddir/build/BUILD/nfs-ganesha-2.6.2/src' cd /builddir/build/BUILD/nfs-ganesha-2.6.2/src && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/nfs-ganesha-2.6.2/src /builddir/build/BUILD/nfs-ganesha-2.6.2/src/Protocols/NLM /builddir/build/BUILD/nfs-ganesha-2.6.2/src /builddir/build/BUILD/nfs-ganesha-2.6.2/src/Protocols/NLM /builddir/build/BUILD/nfs-ganesha-2.6.2/src/Protocols/NLM/CMakeFiles/sm_notify.ganesha.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/nfs-ganesha-2.6.2/src' make -f Protocols/NLM/CMakeFiles/sm_notify.ganesha.dir/build.make Protocols/NLM/CMakeFiles/sm_notify.ganesha.dir/build make[2]: Entering directory '/builddir/build/BUILD/nfs-ganesha-2.6.2/src' [ 53%] Linking C executable sm_notify.ganesha cd /builddir/build/BUILD/nfs-ganesha-2.6.2/src/Protocols/NLM && /usr/bin/cmake -E cmake_link_script CMakeFiles/sm_notify.ganesha.dir/link.txt --verbose=1 /usr/bin/cc -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 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/sm_notify.ganesha.dir/sm_notify.c.o -o sm_notify.ganesha ../NFS/libnfsproto.a ../RQUOTA/librquota.a libnlm.a ../9P/lib9p.a ../XDR/libnfs_mnt_xdr.a -lnfsidmap -ldbus-1 -lcap -lblkid -luuid ../../os/libgos.a -ldl -lkrb5 -lk5crypto -lcom_err -lgssapi_krb5 -lpthread -lrt -lntirpc ../../support/libstring_utils.a BUILDSTDERR: CMakeFiles/sm_notify.ganesha.dir/sm_notify.c.o: In function `main': BUILDSTDERR: /builddir/build/BUILD/nfs-ganesha-2.6.2/src/Protocols/NLM/sm_notify.c:165: undefined reference to `__atomic_fetch_or_2' BUILDSTDERR: CMakeFiles/sm_notify.ganesha.dir/sm_notify.c.o: In function `strcpy': BUILDSTDERR: /usr/include/bits/string_fortified.h:90: undefined reference to `__atomic_fetch_or_2' BUILDSTDERR: /lib64/lp64d/../lib64/lp64d/libntirpc.so: undefined reference to `__atomic_fetch_and_2' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[2]: *** [Protocols/NLM/CMakeFiles/sm_notify.ganesha.dir/build.make:105: Protocols/NLM/sm_notify.ganesha] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/nfs-ganesha-2.6.2/src' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:1038: Protocols/NLM/CMakeFiles/sm_notify.ganesha.dir/all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/nfs-ganesha-2.6.2/src' BUILDSTDERR: make: *** [Makefile:155: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.y81L38 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.y81L38 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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/nfs-ganesha.spec