Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/osbuild-composer.spec'], chrootPath='/var/lib/mock/dist-oc8-build-32021-9314/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/osbuild-composer.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/osbuild-composer-62-3.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps --nocheck /builddir/build/SPECS/osbuild-composer.spec'], chrootPath='/var/lib/mock/dist-oc8-build-32021-9314/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps --nocheck /builddir/build/SPECS/osbuild-composer.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BuhvdV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf osbuild-composer-62 + /usr/bin/gzip -dc /builddir/build/SOURCES/osbuild-composer-62.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd osbuild-composer-62 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.loQGZX + umask 022 + cd /builddir/build/BUILD + cd osbuild-composer-62 + export GOFLAGS=-buildmode=pie + GOFLAGS=-buildmode=pie + GO_BUILD_PATH=/builddir/build/BUILD/osbuild-composer-62/_build ++ dirname /builddir/build/BUILD/osbuild-composer-62/_build/src/github.com/osbuild/osbuild-composer + install -m 0755 -vd /builddir/build/BUILD/osbuild-composer-62/_build/src/github.com/osbuild install: creating directory '/builddir/build/BUILD/osbuild-composer-62/_build' install: creating directory '/builddir/build/BUILD/osbuild-composer-62/_build/src' install: creating directory '/builddir/build/BUILD/osbuild-composer-62/_build/src/github.com' install: creating directory '/builddir/build/BUILD/osbuild-composer-62/_build/src/github.com/osbuild' + ln -fs /builddir/build/BUILD/osbuild-composer-62 /builddir/build/BUILD/osbuild-composer-62/_build/src/github.com/osbuild/osbuild-composer + cd /builddir/build/BUILD/osbuild-composer-62/_build/src/github.com/osbuild/osbuild-composer + install -m 0755 -vd _bin install: creating directory '_bin' + export PATH=/builddir/build/BUILD/osbuild-composer-62/_build/src/github.com/osbuild/osbuild-composer/_bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/builddir/build/BUILD/osbuild-composer-62/_build/src/github.com/osbuild/osbuild-composer/_bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + export GOPATH=/builddir/build/BUILD/osbuild-composer-62/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/osbuild-composer-62/_build:/usr/share/gocode + export 'GOFLAGS+= -mod=vendor' + GOFLAGS+=' -mod=vendor' + export 'LDFLAGS= -X '\''github.com/osbuild/osbuild-composer/internal/common.RpmVersion=osbuild-composer-62-3.oc8.aarch64'\''' + LDFLAGS=' -X '\''github.com/osbuild/osbuild-composer/internal/common.RpmVersion=osbuild-composer-62-3.oc8.aarch64'\''' ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + go build -buildmode pie -compiler gc -tags=rpm_crashtraceback -ldflags '-compressdwarf=false -X '\''github.com/osbuild/osbuild-composer/internal/common.RpmVersion=osbuild-composer-62-3.oc8.aarch64'\'' -B 0xfa30c8a4b87eff827fb4984430dc9b1a2284ebc6 -extldflags '\''-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'\''' -a -v -x -o _bin/osbuild-composer github.com/osbuild/osbuild-composer/cmd/osbuild-composer WORK=/tmp/go-build906536350 vendor/github.com/containers/image/v5/pkg/sysregistriesv2/system_registries_v2.go:5:2: cannot find package "." in: /builddir/build/BUILD/osbuild-composer-62/_build/src/github.com/osbuild/osbuild-composer/vendor/io/fs error: Bad exit status from /var/tmp/rpm-tmp.loQGZX (%build) Bad exit status from /var/tmp/rpm-tmp.loQGZX (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, 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 aarch64 --nodeps --nocheck /builddir/build/SPECS/osbuild-composer.spec