Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-cpuguy83-go-md2man.spec'], chrootPath='/var/lib/mock/module-golang-ecosystem-1.0-8050020220618042738-c7643c7d-build-6884-1090/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 x86_64 --nodeps /builddir/build/SPECS/golang-github-cpuguy83-go-md2man.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-cpuguy83-go-md2man-1.0.7-13.module+oc8.5.0+59+bfd8e573.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-cpuguy83-go-md2man.spec'], chrootPath='/var/lib/mock/module-golang-ecosystem-1.0-8050020220618042738-c7643c7d-build-6884-1090/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 x86_64 --nodeps /builddir/build/SPECS/golang-github-cpuguy83-go-md2man.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zH7xYo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-md2man-1d903dcb749992f3741d744c0f8376b4bd7eb3e1 + /usr/bin/gzip -dc /builddir/build/SOURCES/go-md2man-1d903dc.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-md2man-1d903dcb749992f3741d744c0f8376b4bd7eb3e1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'golang-github-cpuguy83-go-md2man-1.0.7 base' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OPAwPk + umask 022 + cd /builddir/build/BUILD + cd go-md2man-1d903dcb749992f3741d744c0f8376b4bd7eb3e1 + ln -s vendor src + mkdir -p src/github.com/cpuguy83 ++ pwd + ln -s /builddir/build/BUILD/go-md2man-1d903dcb749992f3741d744c0f8376b4bd7eb3e1 src/github.com/cpuguy83/go-md2man ++ pwd + export GOPATH=/builddir/build/BUILD/go-md2man-1d903dcb749992f3741d744c0f8376b4bd7eb3e1 + GOPATH=/builddir/build/BUILD/go-md2man-1d903dcb749992f3741d744c0f8376b4bd7eb3e1 ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + GOPATH=/builddir/build/BUILD/go-md2man-1d903dcb749992f3741d744c0f8376b4bd7eb3e1 + go build -buildmode pie -compiler gc -tags=rpm_crashtraceback -ldflags ' -B 0x0d0732fe4edd24bc86c6a8b15cc26d227822f150 -extldflags '\''-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'\''' -a -v -x -o bin/go-md2man github.com/cpuguy83/go-md2man WORK=/tmp/go-build660362261 no required module provides package github.com/cpuguy83/go-md2man: go.mod file not found in current directory or any parent directory; see 'go help modules' RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.OPAwPk (%build) Bad exit status from /var/tmp/rpm-tmp.OPAwPk (%build) 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 x86_64 --nodeps /builddir/build/SPECS/golang-github-cpuguy83-go-md2man.spec