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/epel-8-aarch64-1638837893.240318/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffff9ba29a90>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1r6nad5n:/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.1r6nad5n:/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', '53c7652466b9405088a1719ad300dc69', '-D', '/var/lib/mock/epel-8-aarch64-1638837893.240318/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1r6nad5n:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False
Building target platforms: aarch64
Building for target aarch64
Wrote: /builddir/build/SRPMS/restic-0.12.1-1.el8.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/epel-8-aarch64-1638837893.240318/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffff9ba29a90>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1r6nad5n:/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.1r6nad5n:/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', '0796876d059c44a096d59864413b7d19', '-D', '/var/lib/mock/epel-8-aarch64-1638837893.240318/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1r6nad5n:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.X9mezt
+ 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 .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ujxs3t
+ 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/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 github.com/cenkalti/backoff/v4 v4.1.1
go: downloading github.com/Azure/azure-sdk-for-go v55.6.0+incompatible
go: downloading cloud.google.com/go v0.84.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/storage v1.16.0
go: downloading golang.org/x/net v0.0.0-20210614182718-04defd469f4e
go: downloading bazil.org/fuse v0.0.0-20200407214033-5883e5a4b512
go: downloading github.com/kurin/blazer v0.5.3
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/minio/minio-go/v7 v7.0.12
go: downloading github.com/pkg/sftp v1.13.2
go: downloading github.com/ncw/swift v1.0.53
go: downloading github.com/elithrar/simple-scrypt v1.3.0
go: downloading github.com/juju/ratelimit v1.0.1
go: downloading github.com/hashicorp/golang-lru v0.5.4
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 github.com/dchest/siphash v1.2.2
go: downloading golang.org/x/text v0.3.6
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/klauspost/cpuid v1.3.1
go: downloading github.com/klauspost/cpuid/v2 v2.0.4
go: downloading github.com/inconshreveable/mousetrap v1.0.0
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/json-iterator/go v1.1.11
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading gopkg.in/ini.v1 v1.62.0
go: downloading github.com/dustin/go-humanize v1.0.0
go: downloading github.com/google/uuid v1.1.2
go: downloading github.com/minio/md5-simd v1.1.0
go: downloading github.com/sirupsen/logrus v1.8.1
go: downloading golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
go: downloading github.com/kr/fs v0.1.0
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/russross/blackfriday/v2 v2.0.1
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 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 v14.2.0+incompatible
go: downloading github.com/Azure/go-autorest/autorest v0.11.19
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/form3tech-oss/jwt-go v3.2.2+incompatible
go: downloading github.com/Azure/go-autorest/autorest/date v0.3.0
+ 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
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7l9P0u
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/restic-0.12.1-1.el8.aarch64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/restic-0.12.1-1.el8.aarch64
++ dirname /builddir/build/BUILDROOT/restic-0.12.1-1.el8.aarch64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/restic-0.12.1-1.el8.aarch64
+ cd restic-0.12.1
+ mkdir -p /builddir/build/BUILDROOT/restic-0.12.1-1.el8.aarch64/usr/share/man/man1
+ mkdir -p /builddir/build/BUILDROOT/restic-0.12.1-1.el8.aarch64/usr/share/zsh/site-functions
+ mkdir -p /builddir/build/BUILDROOT/restic-0.12.1-1.el8.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.el8.aarch64/usr/share/man/man1/
+ install -p -m 644 doc/zsh-completion.zsh /builddir/build/BUILDROOT/restic-0.12.1-1.el8.aarch64/usr/share/zsh/site-functions/_restic
+ install -p -m 644 doc/bash-completion.sh /builddir/build/BUILDROOT/restic-0.12.1-1.el8.aarch64/usr/share/bash-completion/completions/restic
+ install -m 0755 -vd /builddir/build/BUILDROOT/restic-0.12.1-1.el8.aarch64/usr/bin
install: creating directory '/builddir/build/BUILDROOT/restic-0.12.1-1.el8.aarch64/usr/bin'
+ install -p -m 755 '%{gobuilddir}/bin/restic' /builddir/build/BUILDROOT/restic-0.12.1-1.el8.aarch64/usr/bin
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
+ /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/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile '' 1
+ /usr/lib/rpm/brp-python-hardlink
+ PYTHON3=/usr/libexec/platform-python
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.XIb5ft
+ umask 022
+ cd /builddir/build/BUILD
Processing files: restic-0.12.1-1.el8.aarch64
+ cd restic-0.12.1
+ export RESTIC_TEST_FUSE=0
+ RESTIC_TEST_FUSE=0
+ exit 0
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yXWamv
+ umask 022
+ cd /builddir/build/BUILD
+ cd restic-0.12.1
+ DOCDIR=/builddir/build/BUILDROOT/restic-0.12.1-1.el8.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.el8.aarch64/usr/share/doc/restic
+ cp -pr GOVERNANCE.md /builddir/build/BUILDROOT/restic-0.12.1-1.el8.aarch64/usr/share/doc/restic
+ cp -pr CONTRIBUTING.md /builddir/build/BUILDROOT/restic-0.12.1-1.el8.aarch64/usr/share/doc/restic
+ cp -pr CHANGELOG.md /builddir/build/BUILDROOT/restic-0.12.1-1.el8.aarch64/usr/share/doc/restic
+ cp -pr README.md /builddir/build/BUILDROOT/restic-0.12.1-1.el8.aarch64/usr/share/doc/restic
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Gg5q3s
+ umask 022
+ cd /builddir/build/BUILD
+ cd restic-0.12.1
+ LICENSEDIR=/builddir/build/BUILDROOT/restic-0.12.1-1.el8.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.el8.aarch64/usr/share/licenses/restic
+ cp -pr LICENSE /builddir/build/BUILDROOT/restic-0.12.1-1.el8.aarch64/usr/share/licenses/restic
+ exit 0
warning: Missing build-id in /builddir/build/BUILDROOT/restic-0.12.1-1.el8.aarch64/usr/bin/restic
Provides: restic = 0.12.1-1.el8 restic(aarch-64) = 0.12.1-1.el8
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.el8.aarch64
Wrote: /builddir/build/RPMS/restic-0.12.1-1.el8.aarch64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tt08Rt
+ umask 022
+ cd /builddir/build/BUILD
+ cd restic-0.12.1
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/restic-0.12.1-1.el8.aarch64
+ exit 0
Child return code was: 0