Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/restic.spec'], chrootPath='/var/lib/mock/centos-stream-9-aarch64-1638837890.569658/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5nhw3n7y:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5nhw3n7y:/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', 'be8d602c3552496da06f5eac4a0d5bb9', '-D', '/var/lib/mock/centos-stream-9-aarch64-1638837890.569658/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5nhw3n7y:/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 aarch64 --nodeps /builddir/build/SPECS/restic.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 Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1638748800 Wrote: /builddir/build/SRPMS/restic-0.12.1-1.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/restic.spec'], chrootPath='/var/lib/mock/centos-stream-9-aarch64-1638837890.569658/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5nhw3n7y:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5nhw3n7y:/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', '40dee444e546468ab88e9c4bb758ef1a', '-D', '/var/lib/mock/centos-stream-9-aarch64-1638837890.569658/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5nhw3n7y:/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 aarch64 --nodeps /builddir/build/SPECS/restic.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 Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1638748800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.baLtcj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf restic-0.12.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/restic-0.12.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd restic-0.12.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pFhwEL + umask 022 + cd /builddir/build/BUILD + cd restic-0.12.1 + go mod vendor go: downloading github.com/spf13/pflag v1.0.5 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c go: downloading github.com/Azure/azure-sdk-for-go v55.6.0+incompatible go: downloading github.com/cenkalti/backoff/v4 v4.1.1 go: downloading github.com/kurin/blazer v0.5.3 go: downloading github.com/restic/chunker v0.4.0 go: downloading gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637 go: downloading github.com/google/go-cmp v0.5.6 go: downloading cloud.google.com/go/storage v1.16.0 go: downloading github.com/pkg/errors v0.9.1 go: downloading golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914 go: downloading google.golang.org/api v0.50.0 go: downloading cloud.google.com/go v0.84.0 go: downloading golang.org/x/net v0.0.0-20210614182718-04defd469f4e go: downloading github.com/minio/minio-go/v7 v7.0.12 go: downloading github.com/ncw/swift v1.0.53 go: downloading github.com/pkg/sftp v1.13.2 go: downloading bazil.org/fuse v0.0.0-20200407214033-5883e5a4b512 go: downloading github.com/minio/sha256-simd v1.0.0 go: downloading github.com/pkg/profile v1.6.0 go: downloading github.com/spf13/cobra v1.2.1 go: downloading golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e go: downloading github.com/elithrar/simple-scrypt v1.3.0 go: downloading github.com/hashicorp/golang-lru v0.5.4 go: downloading github.com/juju/ratelimit v1.0.1 go: downloading github.com/go-ole/go-ole v1.2.5 go: downloading golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c go: downloading github.com/cespare/xxhash/v2 v2.1.1 go: downloading golang.org/x/text v0.3.6 go: downloading github.com/dchest/siphash v1.2.2 go: downloading github.com/pkg/xattr v0.4.3 go: downloading google.golang.org/appengine v1.6.7 go: downloading github.com/googleapis/gax-go/v2 v2.0.5 go: downloading google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84 go: downloading google.golang.org/grpc v1.38.0 go: downloading github.com/dustin/go-humanize v1.0.0 go: downloading github.com/google/uuid v1.1.2 go: downloading github.com/json-iterator/go v1.1.11 go: downloading github.com/minio/md5-simd v1.1.0 go: downloading github.com/sirupsen/logrus v1.8.1 go: downloading github.com/mitchellh/go-homedir v1.1.0 go: downloading gopkg.in/ini.v1 v1.62.0 go: downloading github.com/kr/fs v0.1.0 go: downloading github.com/klauspost/cpuid/v2 v2.0.4 go: downloading github.com/klauspost/cpuid v1.3.1 go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/inconshreveable/mousetrap v1.0.0 go: downloading golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 go: downloading github.com/golang/protobuf v1.5.2 go: downloading github.com/jstemmer/go-junit-report v0.9.1 go: downloading golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 go: downloading golang.org/x/tools v0.1.4 go: downloading go.opencensus.io v0.23.0 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd go: downloading github.com/modern-go/reflect2 v1.0.1 go: downloading github.com/rs/xid v1.2.1 go: downloading github.com/russross/blackfriday/v2 v2.0.1 go: downloading google.golang.org/protobuf v1.26.0 go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0 go: downloading golang.org/x/mod v0.4.2 go: downloading github.com/gofrs/uuid v4.0.0+incompatible go: downloading github.com/Azure/go-autorest/autorest v0.11.19 go: downloading github.com/Azure/go-autorest v14.2.0+incompatible go: downloading github.com/Azure/go-autorest/tracing v0.6.0 go: downloading github.com/Azure/go-autorest/logger v0.2.1 go: downloading github.com/Azure/go-autorest/autorest/adal v0.9.13 go: downloading github.com/Azure/go-autorest/autorest/date v0.3.0 go: downloading github.com/form3tech-oss/jwt-go v3.2.2+incompatible + CGO_ENABLED=0 + go build -buildmode pie -compiler gc -tags=rpm_crashtraceback -ldflags '-X github.com/restic/restic/version=0.12.1 -compressdwarf=false -s -w' -o '%{gobuilddir}/bin/restic' github.com/restic/restic/cmd/restic + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.M7YFjo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64 + cd restic-0.12.1 + mkdir -p /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/share/zsh/site-functions + mkdir -p /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/share/bash-completion/completions + install -p -m 644 doc/man/restic-backup.1 doc/man/restic-cache.1 doc/man/restic-cat.1 doc/man/restic-check.1 doc/man/restic-copy.1 doc/man/restic-diff.1 doc/man/restic-dump.1 doc/man/restic-find.1 doc/man/restic-forget.1 doc/man/restic-generate.1 doc/man/restic-init.1 doc/man/restic-key.1 doc/man/restic-list.1 doc/man/restic-ls.1 doc/man/restic-migrate.1 doc/man/restic-mount.1 doc/man/restic-prune.1 doc/man/restic-rebuild-index.1 doc/man/restic-recover.1 doc/man/restic-restore.1 doc/man/restic-self-update.1 doc/man/restic-snapshots.1 doc/man/restic-stats.1 doc/man/restic-tag.1 doc/man/restic-unlock.1 doc/man/restic-version.1 doc/man/restic.1 /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/share/man/man1/ + install -p -m 644 doc/zsh-completion.zsh /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/share/zsh/site-functions/_restic + install -p -m 644 doc/bash-completion.sh /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/share/bash-completion/completions/restic + install -m 0755 -vd /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/bin install: creating directory '/builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/bin' + install -p -m 755 '%{gobuilddir}/bin/restic' /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/bin + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.FuZGQ7 + umask 022 + cd /builddir/build/BUILD + cd restic-0.12.1 + export RESTIC_TEST_FUSE=0 + RESTIC_TEST_FUSE=0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: restic-0.12.1-1.el9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uRZxqQ + umask 022 + cd /builddir/build/BUILD + cd restic-0.12.1 + DOCDIR=/builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/share/doc/restic + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/share/doc/restic + cp -pr GOVERNANCE.md /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/share/doc/restic + cp -pr CONTRIBUTING.md /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/share/doc/restic + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/share/doc/restic + cp -pr README.md /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/share/doc/restic + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tIBXn2 + umask 022 + cd /builddir/build/BUILD + cd restic-0.12.1 + LICENSEDIR=/builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/share/licenses/restic + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/share/licenses/restic + cp -pr LICENSE /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/share/licenses/restic + RPM_EC=0 ++ jobs -p + exit 0 warning: Missing build-id in /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64/usr/bin/restic Provides: restic = 0.12.1-1.el9 restic(aarch-64) = 0.12.1-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64 Wrote: /builddir/build/RPMS/restic-0.12.1-1.el9.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yASzve + umask 022 + cd /builddir/build/BUILD + cd restic-0.12.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/restic-0.12.1-1.el9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0