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-567887-65935/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: line 70: It's not recommended to have unversioned Obsoletes: Obsoletes: singularity-runtime Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1615420800 Wrote: /builddir/build/SRPMS/singularity-3.7.2-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-567887-65935/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: line 70: It's not recommended to have unversioned Obsoletes: Obsoletes: singularity-runtime Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1615420800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8I9RMc + umask 022 + cd /builddir/build/BUILD + export RPM_BUILD_ROOT=/builddir/build/BUILDROOT/singularity-3.7.2-1.fc33.riscv64 + RPM_BUILD_ROOT=/builddir/build/BUILDROOT/singularity-3.7.2-1.fc33.riscv64 + '[' -d singularity-3.7.2 ']' + mkdir singularity-3.7.2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NQoQEa + umask 022 + cd /builddir/build/BUILD + cd singularity-3.7.2 + mkdir -p gopath/src/github.com/sylabs/singularity + tar -C gopath/src/github.com/sylabs/ -xf /builddir/build/SOURCES/singularity-3.7.2.tar.gz + export GOPATH=/builddir/build/BUILD/singularity-3.7.2/gopath + GOPATH=/builddir/build/BUILD/singularity-3.7.2/gopath + export PATH=/builddir/build/BUILD/singularity-3.7.2/gopath/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/builddir/build/BUILD/singularity-3.7.2/gopath/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + cd /builddir/build/BUILD/singularity-3.7.2/gopath/src/github.com/sylabs/singularity + ./mconfig -V 3.7.2-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.7.2-1.fc33 checking: project short version... 3.7.2-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: 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.7.2-1.fc33 => /builddir/build/BUILD/singularity-3.7.2/gopath/src/github.com/sylabs/singularity/builddir/Makefile ready, try: $ cd /builddir/build/BUILD/singularity-3.7.2/gopath/src/github.com/sylabs/singularity/builddir $ make + cd builddir + make old_config= GEN GO DEP /builddir/build/BUILD/singularity-3.7.2/gopath/src/github.com/sylabs/singularity/builddir/starter.d go: github.com/Netflix/go-expect@v0.0.0-20190729225929-0e00d9168667: Get "https://proxy.golang.org/github.com/%21netflix/go-expect/@v/v0.0.0-20190729225929-0e00d9168667.mod": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:49973->[::1]:53: read: connection refused GEN GO DEP /builddir/build/BUILD/singularity-3.7.2/gopath/src/github.com/sylabs/singularity/builddir/singularity.d go: github.com/Netflix/go-expect@v0.0.0-20190729225929-0e00d9168667: Get "https://proxy.golang.org/github.com/%21netflix/go-expect/@v/v0.0.0-20190729225929-0e00d9168667.mod": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:38282->[::1]:53: read: connection refused GEN /builddir/build/BUILD/singularity-3.7.2/gopath/src/github.com/sylabs/singularity/scripts/go-generate GO singularity [+] GO_TAGS "containers_image_openpgp sylog oci_engine singularity_engine fakeroot_engine apparmor selinux seccomp" -buildmode=pie not supported on linux/riscv64 make: *** [Makefile:176: singularity] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.NQoQEa (%build) line 70: It's not recommended to have unversioned Obsoletes: Obsoletes: singularity-runtime Bad exit status from /var/tmp/rpm-tmp.NQoQEa (%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