Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-pkg-errors.spec'], chrootPath='/var/lib/mock/epel9-build-54909993-6530904/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'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-pkg-errors.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 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/golang-github-pkg-errors-0.9.1-10.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-pkg-errors.spec'], chrootPath='/var/lib/mock/epel9-build-54909993-6530904/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'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-pkg-errors.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 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.q7tQVX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf errors-0.9.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/errors-0.9.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd errors-0.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/errors-0.9.1/vendor + [[ ! -e /builddir/build/BUILD/errors-0.9.1/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/errors-0.9.1/_build/bin install: creating directory '/builddir/build/BUILD/errors-0.9.1/_build' install: creating directory '/builddir/build/BUILD/errors-0.9.1/_build/bin' + export GOPATH=/builddir/build/BUILD/errors-0.9.1/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/errors-0.9.1/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/errors-0.9.1/_build/src/github.com/pkg/errors ]] ++ dirname /builddir/build/BUILD/errors-0.9.1/_build/src/github.com/pkg/errors + install -m 0755 -vd /builddir/build/BUILD/errors-0.9.1/_build/src/github.com/pkg install: creating directory '/builddir/build/BUILD/errors-0.9.1/_build/src' install: creating directory '/builddir/build/BUILD/errors-0.9.1/_build/src/github.com' install: creating directory '/builddir/build/BUILD/errors-0.9.1/_build/src/github.com/pkg' + ln -fs /builddir/build/BUILD/errors-0.9.1 /builddir/build/BUILD/errors-0.9.1/_build/src/github.com/pkg/errors + cd /builddir/build/BUILD/errors-0.9.1/_build/src/github.com/pkg/errors + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.yiS9h3 + umask 022 + cd /builddir/build/BUILD + cd errors-0.9.1 + GOPATH=/builddir/build/BUILD/errors-0.9.1/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/pkg/errors --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/golang-github-pkg-errors-0.9.1-10.el9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/golang-github-pkg-errors.spec'], chrootPath='/var/lib/mock/epel9-build-54909993-6530904/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'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/golang-github-pkg-errors.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 setting SOURCE_DATE_EPOCH=1689811200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.rlUfYm + umask 022 + cd /builddir/build/BUILD + cd errors-0.9.1 + GOPATH=/builddir/build/BUILD/errors-0.9.1/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/pkg/errors --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LBheb4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-pkg-errors-0.9.1-10.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-pkg-errors-0.9.1-10.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/golang-github-pkg-errors-0.9.1-10.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-pkg-errors-0.9.1-10.el9.aarch64 + cd errors-0.9.1 + cd /builddir/build/BUILD/errors-0.9.1/_build/src/github.com/pkg/errors + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/pkg/errors -b /builddir/build/BUILD/errors-0.9.1/_build/bin -s /builddir/build/BUILD/errors-0.9.1/_build -o golang-github-pkg-errors-devel.file-list -O /builddir/build/BUILD/errors-0.9.1 -V 0.9.1-10.el9 -p /builddir/build/BUILDROOT/golang-github-pkg-errors-0.9.1-10.el9.aarch64 -g /usr/share/gocode -r '.*example.*' -e .proto -e .s -e .md Installing: github.com/pkg/errors realpath: go.mod: No such file or directory + 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/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.6uOm4h + umask 022 + cd /builddir/build/BUILD + cd errors-0.9.1 + LDFLAGS=' -X github.com/pkg/errors/version=0.9.1' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-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 ' + go-rpm-integration check -i github.com/pkg/errors -b /builddir/build/BUILD/errors-0.9.1/_build/bin -s /builddir/build/BUILD/errors-0.9.1/_build -V 0.9.1-10.el9 -p /builddir/build/BUILDROOT/golang-github-pkg-errors-0.9.1-10.el9.aarch64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/errors-0.9.1/_build/src PATH: /builddir/build/BUILD/errors-0.9.1/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/errors-0.9.1/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/pkg/errors/version=0.9.1 -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 '" testing: github.com/pkg/errors github.com/pkg/errors --- FAIL: TestStackTrace (0.00s) stack_test.go:166: test 5: line 1: fmt.Sprintf("%+v", err): got: "github.com/pkg/errors.TestStackTrace.TestStackTrace.func2.func3\n\t/builddir/build/BUILD/errors-0.9.1/_build/src/github.com/pkg/errors/stack_test.go:145" want: "github.com/pkg/errors.TestStackTrace.func2.1\n\t.+/github.com/pkg/errors/stack_test.go:145" FAIL exit status 1 FAIL github.com/pkg/errors 0.170s error: Bad exit status from /var/tmp/rpm-tmp.6uOm4h (%check) Bad exit status from /var/tmp/rpm-tmp.6uOm4h (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/golang-github-pkg-errors.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, 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: # bash --login -c '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/golang-github-pkg-errors.spec'