Mock Version: 2.6 Mock Version: 2.6 Mock Version: 2.6 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-394103-62392/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.547c_5k4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.547c_5k4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'aa6607642120479ca583684c9df439e6', '-D', '/var/lib/mock/f33-build-394103-62392/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.547c_5k4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False warning: line 70: It's not recommended to have unversioned Obsoletes: Obsoletes: singularity-runtime warning: bogus date in %changelog: Wed Nov 24 2020 Dave Dykstra - 3.7.0-1 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1606176000 Wrote: /builddir/build/SRPMS/singularity-3.7.0-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-394103-62392/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.547c_5k4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.547c_5k4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bd00dd527e844ceaad045ab9908b36e1', '-D', '/var/lib/mock/f33-build-394103-62392/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.547c_5k4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False warning: line 70: It's not recommended to have unversioned Obsoletes: Obsoletes: singularity-runtime warning: bogus date in %changelog: Wed Nov 24 2020 Dave Dykstra - 3.7.0-1 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1606176000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.raeCNv + umask 022 + cd /builddir/build/BUILD + export RPM_BUILD_ROOT=/builddir/build/BUILDROOT/singularity-3.7.0-1.fc33.riscv64 + RPM_BUILD_ROOT=/builddir/build/BUILDROOT/singularity-3.7.0-1.fc33.riscv64 + '[' -d singularity-3.7.0 ']' + mkdir singularity-3.7.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HXd4ux + umask 022 + cd /builddir/build/BUILD + cd singularity-3.7.0 + mkdir -p gopath/src/github.com/sylabs/singularity + tar -C gopath/src/github.com/sylabs/ -xf /builddir/build/SOURCES/singularity-3.7.0.tar.gz + export GOPATH=/builddir/build/BUILD/singularity-3.7.0/gopath + GOPATH=/builddir/build/BUILD/singularity-3.7.0/gopath + export PATH=/builddir/build/BUILD/singularity-3.7.0/gopath/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/builddir/build/BUILD/singularity-3.7.0/gopath/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + cd /builddir/build/BUILD/singularity-3.7.0/gopath/src/github.com/sylabs/singularity + ./mconfig -V 3.7.0-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.0-1.fc33 checking: project short version... 3.7.0-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.0-1.fc33 => /builddir/build/BUILD/singularity-3.7.0/gopath/src/github.com/sylabs/singularity/builddir/Makefile ready, try: $ cd /builddir/build/BUILD/singularity-3.7.0/gopath/src/github.com/sylabs/singularity/builddir $ make + cd builddir + make old_config= GEN GO DEP /builddir/build/BUILD/singularity-3.7.0/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]:53514->[::1]:53: read: connection refused GEN GO DEP /builddir/build/BUILD/singularity-3.7.0/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]:37233->[::1]:53: read: connection refused GEN /builddir/build/BUILD/singularity-3.7.0/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:169: singularity] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.HXd4ux (%build) line 70: It's not recommended to have unversioned Obsoletes: Obsoletes: singularity-runtime RPM build errors: bogus date in %changelog: Wed Nov 24 2020 Dave Dykstra - 3.7.0-1 Bad exit status from /var/tmp/rpm-tmp.HXd4ux (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 789, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M bd00dd527e844ceaad045ab9908b36e1 -D /var/lib/mock/f33-build-394103-62392/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.547c_5k4:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/singularity.spec