Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-xordataexchange-crypt.spec'], chrootPath='/var/lib/mock/f40-build-2646132-66605/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-xordataexchange-crypt.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1711670400 Wrote: /builddir/build/SRPMS/golang-github-xordataexchange-crypt-0.0.2-1.20190412gitb2862e3.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-xordataexchange-crypt.spec'], chrootPath='/var/lib/mock/f40-build-2646132-66605/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-xordataexchange-crypt.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1711584000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.79aLvI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf crypt-b2862e3d0a775f18c7cfe02273500ae307b61218 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd crypt-b2862e3d0a775f18c7cfe02273500ae307b61218 + rm -rf /builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/vendor + [[ ! -e /builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build/bin install: creating directory '/builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build' install: creating directory '/builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build/bin' + export GOPATH=/builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build/src/github.com/xordataexchange/crypt ]] ++ dirname /builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build/src/github.com/xordataexchange/crypt + install -m 0755 -vd /builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build/src/github.com/xordataexchange install: creating directory '/builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build/src' install: creating directory '/builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build/src/github.com' install: creating directory '/builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build/src/github.com/xordataexchange' + ln -fs /builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218 /builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build/src/github.com/xordataexchange/crypt + cd /builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build/src/github.com/xordataexchange/crypt ++ find . -iname '*.go' -type f + sed -i 's|github.com/coreos/etcd/client|go.etcd.io/etcd/client/v2|' ./backend/backend.go ./backend/consul/consul.go ./backend/etcd/etcd.go ./backend/mock/mock.go ./config/config.go ./config/config_test.go ./bin/crypt/cmd.go ./bin/crypt/main.go ./encoding/secconf/secconf.go ./encoding/secconf/keyring_test.go ./encoding/secconf/secconf_test.go + mv bin/crypt/README.md README-crypt.md + mv config/README.md README-config.md + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JS569G + umask 022 + cd /builddir/build/BUILD + cd crypt-b2862e3d0a775f18c7cfe02273500ae307b61218 + for cmd in bin/crypt ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' ++ basename bin/crypt + GOPATH=/builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build:/usr/share/gocode + GO111MODULE=off + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback ' -ldflags ' -X github.com/xordataexchange/crypt/version=0.0.2 -X github.com/xordataexchange/crypt/version.commit=b2862e3d0a775f18c7cfe02273500ae307b61218 -B 0xe8b68b579dfbe358bccdb42bcc9478ae2dd94f55 -compressdwarf=false -linkmode=external -extldflags '\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '\''' -a -v -x -o /builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build/bin/crypt github.com/xordataexchange/crypt/bin/crypt WORK=/tmp/go-build2787303352 /usr/share/gocode/src/go.etcd.io/etcd/client/v2/json.go:21:2: cannot find package "github.com/json-iterator/go" in any of: /usr/lib/golang/src/github.com/json-iterator/go (from $GOROOT) /builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build/src/github.com/json-iterator/go (from $GOPATH) /usr/share/gocode/src/github.com/json-iterator/go /usr/share/gocode/src/go.etcd.io/etcd/client/v2/json.go:22:2: cannot find package "github.com/modern-go/reflect2" in any of: /usr/lib/golang/src/github.com/modern-go/reflect2 (from $GOROOT) /builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build/src/github.com/modern-go/reflect2 (from $GOPATH) /usr/share/gocode/src/github.com/modern-go/reflect2 /usr/share/gocode/src/go.etcd.io/etcd/api/v3/version/version.go:23:2: cannot find package "github.com/coreos/go-semver/semver" in any of: /usr/lib/golang/src/github.com/coreos/go-semver/semver (from $GOROOT) /builddir/build/BUILD/crypt-b2862e3d0a775f18c7cfe02273500ae307b61218/_build/src/github.com/coreos/go-semver/semver (from $GOPATH) /usr/share/gocode/src/github.com/coreos/go-semver/semver error: Bad exit status from /var/tmp/rpm-tmp.JS569G (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.JS569G (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-xordataexchange-crypt.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-xordataexchange-crypt.spec