Mock Version: 1.4.21
Mock Version: 1.4.21
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/singularity.spec'], chrootPath='/var/lib/mock/f33-build-147176-43086/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3fd0b4d700>timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/singularity.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
warning: line 74: It's not recommended to have unversioned Obsoletes: Obsoletes: singularity-runtime
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1581984000
Wrote: /builddir/build/SRPMS/singularity-3.5.3-1.1.fc33.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/singularity.spec'], chrootPath='/var/lib/mock/f33-build-147176-43086/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3fd0b4d700>timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/singularity.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
warning: line 74: It's not recommended to have unversioned Obsoletes: Obsoletes: singularity-runtime
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1581984000
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bk3U8D
+ umask 022
+ cd /builddir/build/BUILD
+ export RPM_BUILD_ROOT=/builddir/build/BUILDROOT/singularity-3.5.3-1.1.fc33.riscv64
+ RPM_BUILD_ROOT=/builddir/build/BUILDROOT/singularity-3.5.3-1.1.fc33.riscv64
+ rm -rf singularity-3.5.3
+ mkdir singularity-3.5.3
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KJJ3qC
+ umask 022
+ cd /builddir/build/BUILD
+ cd singularity-3.5.3
+ mkdir -p gopath/src/github.com/sylabs/singularity
+ tar -C gopath/src/github.com/sylabs/ -xf /builddir/build/SOURCES/singularity-3.5.3.tar.gz
+ export GOPATH=/builddir/build/BUILD/singularity-3.5.3/gopath
+ GOPATH=/builddir/build/BUILD/singularity-3.5.3/gopath
+ export PATH=/builddir/build/BUILD/singularity-3.5.3/gopath/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
+ PATH=/builddir/build/BUILD/singularity-3.5.3/gopath/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
+ cd /builddir/build/BUILD/singularity-3.5.3/gopath/src/github.com/sylabs/singularity
+ ./mconfig -V 3.5.3-1.1.fc33 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
Configuring for project `singularity' with languages: C, Golang
=> running pre-basechecks project specific checks ...
=> running base system checks ...
 checking: host C compiler... cc
 checking: host C++ compiler... not found!
 checking: host Go compiler (at least version 1.13)... /usr/bin/go
 checking: host C compiler option -Wall... yes
 checking: host C compiler option -Werror... yes
 checking: host C compiler option -Wfatal-errors... yes
 checking: host C compiler option -Wno-unknown-warning-option... yes
 checking: host C compiler option -Wstrict-prototypes... yes
 checking: host C compiler option -Wpointer-arith... yes
 checking: host C compiler option -Wbad-function-cast... yes
 checking: host C compiler option -Woverlength-strings... yes
 checking: host C compiler option -Wframe-larger-than=2047... yes
 checking: host C compiler option -Wno-sign-compare... yes
 checking: host C compiler option -Wclobbered... yes
 checking: host C compiler option -Wempty-body... yes
 checking: host C compiler option -Wmissing-parameter-type... yes
 checking: host C compiler option -Wtype-limits... yes
 checking: host C compiler option -Wunused-parameter... yes
 checking: host C compiler option -Wunused-but-set-parameter... yes
 checking: host C compiler option -Wno-discarded-qualifiers... yes
 checking: host C compiler option -Wno-incompatible-pointer-types... yes
 checking: host C compiler option -pipe... yes
 checking: host C compiler option -fmessage-length=0... yes
 checking: host C compiler option -fPIC... yes
 checking: host `ar' path... ar
 checking: host `ld' path... ld
 checking: host `ranlib' path... ranlib
 checking: host `objcopy' path... objcopy
 checking: target C compiler... cc
 checking: target C++ compiler...  cannot compile test code!
 checking: target `ar' path... ar
 checking: target `ld' path... ld
 checking: target `ranlib' path... ranlib
 checking: target `objcopy' path... objcopy
 checking: host compiles static binaries... no
 checking: target compiles static binaries... no
 checking: host os type... unix
 checking: host architecture... not found!
 checking: target architecture... not found!
 checking: host architecture word size... not found!
 checking: target architecture word size... not found!
 checking: project version... 3.5.3-1.1.fc33
 checking: project short version... 3.5.3-1.1.fc33
=> running post-basechecks project specific checks ...
 checking: namespace: CLONE_NEWPID... yes
 checking: namespace: CLONE_FS... yes
 checking: namespace: CLONE_NEWNS... yes
 checking: namespace: CLONE_NEWUSER... yes
 checking: namespace: CLONE_NEWIPC... yes
 checking: namespace: CLONE_NEWNET... yes
 checking: namespace: CLONE_NEWUTS... yes
 checking: namespace: CLONE_NEWCGROUP... yes
 checking: feature: NO_NEW_PRIVS... yes
 checking: feature: MS_SLAVE... yes
 checking: feature: MS_REC... yes
 checking: feature: MS_PRIVATE... yes
 checking: user capabilities... yes
 checking: header linux/securebits.h... yes
 checking: header linux/capability.h... yes
 checking: function setns... no
 checking: libssl+headers... yes
 checking: libuuid+headers... yes
 checking: libseccomp+headers... yes
 checking: cryptsetup... yes
=> generating fragments ...
=> building Makefile ...
=> generating singularity.spec ...
=> project singularity setup with :
    - host arch: unknown
    - host wordsize: unknown-bit
    - host C compiler: cc
    - host Go compiler: /usr/bin/go
    - host system: unix
      ---
    - target arch: unknown
    - target wordsize: unknown-bit
    - target C compiler: cc
      ---
    - config profile: release
      ---
    - SUID install: yes
    - Network plugins: yes
      ---
    - verbose: no
      ---
    - cryptsetup: /usr/sbin/cryptsetup
      ---
    - version: 3.5.3-1.1.fc33
=> /builddir/build/BUILD/singularity-3.5.3/gopath/src/github.com/sylabs/singularity/builddir/Makefile ready, try:
   $ cd /builddir/build/BUILD/singularity-3.5.3/gopath/src/github.com/sylabs/singularity/builddir
   $ make
+ cd builddir
+ make old_config=
can't load package: package /builddir/build/BUILD/singularity-3.5.3/gopath/src/github.com/sylabs/singularity/cmd/starter: cannot find package
 GEN /builddir/build/BUILD/singularity-3.5.3/gopath/src/github.com/sylabs/singularity/scripts/go-generate
 GO singularity
    [+] GO_TAGS "containers_image_openpgp sylog imgbuild_engine oci_engine singularity_engine fakeroot_engine apparmor selinux seccomp"
../vendor/github.com/kubernetes-sigs/cri-o/pkg/seccomp/seccomp.go:13:2: build constraints exclude all Go files in /builddir/build/BUILD/singularity-3.5.3/gopath/src/github.com/sylabs/singularity/vendor/github.com/seccomp/libseccomp-golang
../internal/pkg/runtime/engine/engine_linux.go:17:2: build constraints exclude all Go files in /builddir/build/BUILD/singularity-3.5.3/gopath/src/github.com/sylabs/singularity/internal/pkg/runtime/engine/config/starter
make: *** [Makefile:159: singularity] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.KJJ3qC (%build)
RPM build errors:
    line 74: It's not recommended to have unversioned Obsoletes: Obsoletes: singularity-runtime
    Bad exit status from /var/tmp/rpm-tmp.KJJ3qC (%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/singularity.spec