Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/golang-github-libgit2-git2go.spec'], chrootPath='/var/lib/mock/f40-build-55181773-6533262/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sgj632sf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sgj632sf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '2bf3a624666946ada8c76fcf220a9d69', '-D', '/var/lib/mock/f40-build-55181773-6533262/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sgj632sf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target ppc64le --nodeps /builddir/build/SPECS/golang-github-libgit2-git2go.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', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1676851200 Wrote: /builddir/build/SRPMS/golang-github-libgit2-git2go-35.0.0-1.fc40.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/golang-github-libgit2-git2go.spec'], chrootPath='/var/lib/mock/f40-build-55181773-6533262/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sgj632sf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sgj632sf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '05d9377dd14f4753837d60476632fb27', '-D', '/var/lib/mock/f40-build-55181773-6533262/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sgj632sf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target ppc64le --nodeps /builddir/build/SPECS/golang-github-libgit2-git2go.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', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1676851200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iKAXZO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf git2go-35.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/git2go-35.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd git2go-35.0.0 + rm -rf /builddir/build/BUILD/git2go-35.0.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/git2go-35.0.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/git2go-35.0.0/vendor + [[ ! -e /builddir/build/BUILD/git2go-35.0.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/git2go-35.0.0/_build/bin install: creating directory '/builddir/build/BUILD/git2go-35.0.0/_build' install: creating directory '/builddir/build/BUILD/git2go-35.0.0/_build/bin' + export GOPATH=/builddir/build/BUILD/git2go-35.0.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/git2go-35.0.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/git2go-35.0.0/_build/src/github.com/libgit2/git2go ]] ++ dirname /builddir/build/BUILD/git2go-35.0.0/_build/src/github.com/libgit2/git2go + install -m 0755 -vd /builddir/build/BUILD/git2go-35.0.0/_build/src/github.com/libgit2 install: creating directory '/builddir/build/BUILD/git2go-35.0.0/_build/src' install: creating directory '/builddir/build/BUILD/git2go-35.0.0/_build/src/github.com' install: creating directory '/builddir/build/BUILD/git2go-35.0.0/_build/src/github.com/libgit2' + ln -fs /builddir/build/BUILD/git2go-35.0.0 /builddir/build/BUILD/git2go-35.0.0/_build/src/github.com/libgit2/git2go + cd /builddir/build/BUILD/git2go-35.0.0/_build/src/github.com/libgit2/git2go Patch #0 (0001-Skip-tests-that-use-the-network.patch): + echo 'Patch #0 (0001-Skip-tests-that-use-the-network.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file clone_test.go patching file remote_test.go + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.t3hyBm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-libgit2-git2go-35.0.0-1.fc40.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-libgit2-git2go-35.0.0-1.fc40.ppc64le ++ dirname /builddir/build/BUILDROOT/golang-github-libgit2-git2go-35.0.0-1.fc40.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-libgit2-git2go-35.0.0-1.fc40.ppc64le + cd git2go-35.0.0 + cd /builddir/build/BUILD/git2go-35.0.0/_build/src/github.com/libgit2/git2go + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/libgit2/git2go -b /builddir/build/BUILD/git2go-35.0.0/_build/bin -s /builddir/build/BUILD/git2go-35.0.0/_build -o golang-github-libgit2-git2go-devel.file-list -O /builddir/build/BUILD/git2go-35.0.0 -V 35.0.0-1.fc40 -p /builddir/build/BUILDROOT/golang-github-libgit2-git2go-35.0.0-1.fc40.ppc64le -g /usr/share/gocode -r '.*example.*' Installing: github.com/libgit2/git2go + IFS= +++ realpath -e --relative-base=. README.md +++ sort -u ++ listfiles_include=README.md ++ echo README.md + godocs=README.md + [[ -n README.md ]] + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE +++ sort -u ++ listfiles_include=LICENSE ++ echo LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.cRwZgE + umask 022 + cd /builddir/build/BUILD + cd git2go-35.0.0 + GO_LDFLAGS=' -X github.com/libgit2/git2go/version=35.0.0' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 ' + go-rpm-integration check -i github.com/libgit2/git2go -b /builddir/build/BUILD/git2go-35.0.0/_build/bin -s /builddir/build/BUILD/git2go-35.0.0/_build -V 35.0.0-1.fc40 -p /builddir/build/BUILDROOT/golang-github-libgit2-git2go-35.0.0-1.fc40.ppc64le -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/git2go-35.0.0/_build/src PATH: /builddir/build/BUILD/git2go-35.0.0/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/git2go-35.0.0/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/libgit2/git2go/version=35.0.0 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 '" testing: github.com/libgit2/git2go github.com/libgit2/git2go --- FAIL: TestRemoteSSH (0.11s) remote_test.go:330: failed to handshake: , crypto/rsa: message too long for RSA key size index_test.go:281: Fail at /builddir/build/BUILD/git2go-35.0.0/_build/src/github.com/libgit2/git2go/remote_test.go:516; failed to start SSH session: Unable to exchange encryption keys commit with zero trailers commit with one trailer Co-authored-by: Alice commit with two trailers Co-authored-by: Alice Signed-off-by: Bob FAIL exit status 1 FAIL github.com/libgit2/git2go 14.093s RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.cRwZgE (%check) %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.cRwZgE (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 05d9377dd14f4753837d60476632fb27 -D /var/lib/mock/f40-build-55181773-6533262/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.sgj632sf:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 --noclean --target ppc64le --nodeps /builddir/build/SPECS/golang-github-libgit2-git2go.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 05d9377dd14f4753837d60476632fb27 -D /var/lib/mock/f40-build-55181773-6533262/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.sgj632sf:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 --noclean --target ppc64le --nodeps /builddir/build/SPECS/golang-github-libgit2-git2go.spec'