nlib .libs/libinternal.a libtool: link: rm -fr .libs/libinternal.lax libtool: link: ( cd ".libs" && rm -f "libinternal.la" && ln -s "../libinternal.la" "libinternal.la" ) make[6]: Leaving directory '/builddir/build/BUILD/singularity-2.6.0/src/lib/runtime/mounts' make[5]: Leaving directory '/builddir/build/BUILD/singularity-2.6.0/src/lib/runtime/mounts' Making all in ns make[5]: Entering directory '/builddir/build/BUILD/singularity-2.6.0/src/lib/runtime/ns' Making all in mnt make[6]: Entering directory '/builddir/build/BUILD/singularity-2.6.0/src/lib/runtime/ns/mnt' /bin/sh ../../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../src -DSYSCONFDIR=\"/etc\" -DLOCALSTATEDIR=\"/var\" -DLIBEXECDIR=\"/usr/libexec\" -DNS_CLONE_NEWPID -DNS_CLONE_FS -DNS_CLONE_NEWNS -DNS_CLONE_NEWUSER -DNS_CLONE_NEWIPC -DNS_CLONE_NEWNET -DSINGULARITY_MS_SLAVE -Wall -fpie -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_FORTIFY_SOURCE=2 -Wformat -Wformat-security -fstack-protector --param ssp-buffer-size=4 -c -o mnt.lo mnt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../../src -DSYSCONFDIR=\"/etc\" -DLOCALSTATEDIR=\"/var\" -DLIBEXECDIR=\"/usr/libexec\" -DNS_CLONE_NEWPID -DNS_CLONE_FS -DNS_CLONE_NEWNS -DNS_CLONE_NEWUSER -DNS_CLONE_NEWIPC -DNS_CLONE_NEWNET -DSINGULARITY_MS_SLAVE -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 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -fstack-protector --param ssp-buffer-size=4 -c mnt.c -fPIC -DPIC -o .libs/mnt.o BUILDSTDERR: In file included from mnt.c:42: BUILDSTDERR: ../../../../../src/util/setns.h:47:4: error: #error Please determine the syscall number for setns on your architecture BUILDSTDERR: # error Please determine the syscall number for setns on your architecture BUILDSTDERR: ^~~~~ make[6]: Leaving directory '/builddir/build/BUILD/singularity-2.6.0/src/lib/runtime/ns/mnt' BUILDSTDERR: make[6]: *** [Makefile:402: mnt.lo] Error 1 make[5]: Leaving directory '/builddir/build/BUILD/singularity-2.6.0/src/lib/runtime/ns' BUILDSTDERR: make[5]: *** [Makefile:463: all-recursive] Error 1 make[4]: Leaving directory '/builddir/build/BUILD/singularity-2.6.0/src/lib/runtime' BUILDSTDERR: make[4]: *** [Makefile:763: all-recursive] Error 1 BUILDSTDERR: make[3]: *** [Makefile:391: all-recursive] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/singularity-2.6.0/src/lib' make[2]: Leaving directory '/builddir/build/BUILD/singularity-2.6.0/src' BUILDSTDERR: make[2]: *** [Makefile:2616: all-recursive] Error 1 BUILDSTDERR: make[1]: *** [Makefile:650: all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/singularity-2.6.0/src' RPM build errors: BUILDSTDERR: make: *** [Makefile:404: all-recursive] Error 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.BTDv07 (%build) BUILDSTDERR: Macro expanded in comment on line 42: %{version}.tar.gz#/%{name}-%{version}.tar.gz BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.BTDv07 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, 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/singularity.spec