Mock Version: 5.2 Mock Version: 5.2 Mock Version: 5.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-urfave-cli-2.spec'], chrootPath='/var/lib/mock/f40-build-2654803-66907/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=864000uid=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-urfave-cli-2.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1711756800 Wrote: /builddir/build/SRPMS/golang-github-urfave-cli-2-2.14.1-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-urfave-cli-2.spec'], chrootPath='/var/lib/mock/f40-build-2654803-66907/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=864000uid=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-urfave-cli-2.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1711756800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ufkci1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cli-2.14.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cli-2.14.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cli-2.14.1 + rm -rf /builddir/build/BUILD/cli-2.14.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/cli-2.14.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/cli-2.14.1/vendor + [[ ! -e /builddir/build/BUILD/cli-2.14.1/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/cli-2.14.1/_build/bin install: creating directory '/builddir/build/BUILD/cli-2.14.1/_build' install: creating directory '/builddir/build/BUILD/cli-2.14.1/_build/bin' + export GOPATH=/builddir/build/BUILD/cli-2.14.1/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/cli-2.14.1/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/cli-2.14.1/_build/src/github.com/urfave/cli/v2 ]] ++ dirname /builddir/build/BUILD/cli-2.14.1/_build/src/github.com/urfave/cli/v2 + install -m 0755 -vd /builddir/build/BUILD/cli-2.14.1/_build/src/github.com/urfave/cli install: creating directory '/builddir/build/BUILD/cli-2.14.1/_build/src' install: creating directory '/builddir/build/BUILD/cli-2.14.1/_build/src/github.com' install: creating directory '/builddir/build/BUILD/cli-2.14.1/_build/src/github.com/urfave' install: creating directory '/builddir/build/BUILD/cli-2.14.1/_build/src/github.com/urfave/cli' + ln -fs /builddir/build/BUILD/cli-2.14.1 /builddir/build/BUILD/cli-2.14.1/_build/src/github.com/urfave/cli/v2 + cd /builddir/build/BUILD/cli-2.14.1/_build/src/github.com/urfave/cli/v2 + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-tests-Fix-int-overflow-on-i686.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FupTX2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-urfave-cli-2-2.14.1-1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-urfave-cli-2-2.14.1-1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-github-urfave-cli-2-2.14.1-1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-urfave-cli-2-2.14.1-1.fc40.riscv64 + cd cli-2.14.1 + cd /builddir/build/BUILD/cli-2.14.1/_build/src/github.com/urfave/cli/v2 + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/urfave/cli/v2 -b /builddir/build/BUILD/cli-2.14.1/_build/bin -s /builddir/build/BUILD/cli-2.14.1/_build -o golang-github-urfave-cli-2-devel.file-list -O /builddir/build/BUILD/cli-2.14.1 -V 2.14.1-1.fc40 -p /builddir/build/BUILDROOT/golang-github-urfave-cli-2-2.14.1-1.fc40.riscv64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/urfave/cli/v2 + IFS= +++ realpath -e --relative-base=. docs/v2 CODE_OF_CONDUCT.md README.md +++ sort -u ++ listfiles_include='CODE_OF_CONDUCT.md README.md docs/v2' ++ echo 'CODE_OF_CONDUCT.md README.md docs/v2' + godocs='CODE_OF_CONDUCT.md README.md docs/v2' + [[ -n CODE_OF_CONDUCT.md README.md docs/v2 ]] + IFS= + read -r f + echo %doc '"CODE_OF_CONDUCT.md"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + echo %doc '"docs/v2"' + 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 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.hIeHLc + umask 022 + cd /builddir/build/BUILD + cd cli-2.14.1 + LDFLAGS=' -X github.com/urfave/cli/v2/version=2.14.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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + go-rpm-integration check -i github.com/urfave/cli/v2 -b /builddir/build/BUILD/cli-2.14.1/_build/bin -s /builddir/build/BUILD/cli-2.14.1/_build -V 2.14.1-1.fc40 -p /builddir/build/BUILDROOT/golang-github-urfave-cli-2-2.14.1-1.fc40.riscv64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/cli-2.14.1/_build/src PATH: /builddir/build/BUILD/cli-2.14.1/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/cli-2.14.1/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/urfave/cli/v2/version=2.14.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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '" testing: github.com/urfave/cli/v2 github.com/urfave/cli/v2 NAME: v2.test foobar USAGE: v2.test foobar [command options] [arguments...] OPTIONS: --help, -h show help (default: false) NAME: v2.test batbaz USAGE: v2.test batbaz [command options] [arguments...] OPTIONS: --help, -h show help (default: false) NAME: v2.test batbaz USAGE: v2.test batbaz [command options] [arguments...] OPTIONS: --help, -h show help (default: false) NAME: v2.test foobar USAGE: v2.test foobar [command options] [arguments...] OPTIONS: --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --help, -h show help (default: false) NAME: v2.test foobar - A new cli application USAGE: v2.test foobar command [command options] [arguments...] COMMANDS: jimbob, j carly help, h Shows a list of commands or help for one command OPTIONS: --help, -h show help (default: false) NAME: v2.test foobar carly USAGE: v2.test foobar carly [command options] [arguments...] OPTIONS: --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --help, -h show help (default: false) NAME: v2.test foobar - A new cli application USAGE: v2.test foobar command [command options] [arguments...] COMMANDS: jimbob, j carly help, h Shows a list of commands or help for one command OPTIONS: --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --help, -h show help (default: false) NAME: v2.test foobar USAGE: v2.test foobar [command options] [arguments...] OPTIONS: --help, -h show help (default: false) NAME: v2.test foobar USAGE: v2.test foobar [command options] [arguments...] OPTIONS: --help, -h show help (default: false) NAME: v2.test batbaz USAGE: v2.test batbaz [command options] [arguments...] OPTIONS: --help, -h show help (default: false) NAME: v2.test batbaz USAGE: v2.test batbaz [command options] [arguments...] OPTIONS: --help, -h show help (default: false) NAME: v2.test foobar USAGE: v2.test foobar [command options] [arguments...] OPTIONS: --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --carly value, -c value --jimbob, -j (default: true) --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --carly value, -c value --jimbob, -j (default: true) --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --carly value, -c value --jimbob, -j (default: true) --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --carly value, -c value --jimbob, -j (default: true) --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --carly value, -c value --jimbob, -j (default: true) --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --carly value, -c value --jimbob, -j (default: true) --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --carly value, -c value --jimbob, -j (default: true) --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --carly value, -c value --jimbob, -j (default: true) --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test command [command options] [arguments...] COMMANDS: foobar, f batbaz, b help, h Shows a list of commands or help for one command OPTIONS: --carly value, -c value --jimbob, -j (default: true) --help, -h show help (default: false) NAME: v2.test - A new cli application USAGE: v2.test [global options] command [command options] [arguments...] COMMANDS: sub help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --help, -h show help (default: false) --opt value --- FAIL: TestToMan (0.00s) fish_test.go:143: Expected .nh .TH greet 8 .SH NAME .PP greet - Some app .SH SYNOPSIS .PP greet .PP .RS .nf [--another-flag|-b] [--flag|--fl|-f]=[value] [--socket|-s]=[value] .fi .RE .SH DESCRIPTION .PP Description of the application. .PP \fBUsage\fP: .PP .RS .nf app [first_arg] [second_arg] .fi .RE .SH GLOBAL OPTIONS .PP \fB--another-flag, -b\fP: another usage text .PP \fB--flag, --fl, -f\fP="": .PP \fB--socket, -s\fP="": some 'usage' text (default: value) .SH COMMANDS .SH config, c .PP another usage test .PP \fB--another-flag, -b\fP: another usage text .PP \fB--flag, --fl, -f\fP="": .SS sub-config, s, ss .PP another usage test .PP \fB--sub-command-flag, -s\fP: some usage text .PP \fB--sub-flag, --sub-fl, -s\fP="": .SH info, i, in .PP retrieve generic information .SH some-command .SH usage, u .PP standard usage text .PP .RS .nf Usage for the usage text - formatted: Based on the specified ConfigMap and summon secrets.yml - list: Inspect the environment for a specific process running on a Pod - for_effect: Compare 'namespace' environment with 'local' ``` func() { ... } ``` Should be a part of the same code block .fi .RE .PP \fB--another-flag, -b\fP: another usage text .PP \fB--flag, --fl, -f\fP="": .SS sub-usage, su .PP standard usage text .PP .RS .PP Single line of UsageText .RE .PP \fB--sub-command-flag, -s\fP: some usage text (type string) - Got .nh .TH greet 8 .SH NAME .PP greet - Some app .SH SYNOPSIS .PP greet .EX [--another-flag|-b] [--flag|--fl|-f]=[value] [--socket|-s]=[value] .EE .SH DESCRIPTION .PP Description of the application. .PP \fBUsage\fP: .EX app [first_arg] [second_arg] .EE .SH GLOBAL OPTIONS .PP \fB--another-flag, -b\fP: another usage text .PP \fB--flag, --fl, -f\fP="": .PP \fB--socket, -s\fP="": some 'usage' text (default: value) .SH COMMANDS .SH config, c .PP another usage test .PP \fB--another-flag, -b\fP: another usage text .PP \fB--flag, --fl, -f\fP="": .SS sub-config, s, ss .PP another usage test .PP \fB--sub-command-flag, -s\fP: some usage text .PP \fB--sub-flag, --sub-fl, -s\fP="": .SH info, i, in .PP retrieve generic information .SH some-command .SH usage, u .PP standard usage text .EX Usage for the usage text - formatted: Based on the specified ConfigMap and summon secrets.yml - list: Inspect the environment for a specific process running on a Pod - for_effect: Compare 'namespace' environment with 'local' ``` func() { ... } ``` Should be a part of the same code block .EE .PP \fB--another-flag, -b\fP: another usage text .PP \fB--flag, --fl, -f\fP="": .SS sub-usage, su .PP standard usage text .PP .RS .PP Single line of UsageText .RE .PP \fB--sub-command-flag, -s\fP: some usage text (type string) --- FAIL: TestToManWithSection (0.00s) fish_test.go:143: Expected .nh .TH greet 8 .SH NAME .PP greet - Some app .SH SYNOPSIS .PP greet .PP .RS .nf [--another-flag|-b] [--flag|--fl|-f]=[value] [--socket|-s]=[value] .fi .RE .SH DESCRIPTION .PP Description of the application. .PP \fBUsage\fP: .PP .RS .nf app [first_arg] [second_arg] .fi .RE .SH GLOBAL OPTIONS .PP \fB--another-flag, -b\fP: another usage text .PP \fB--flag, --fl, -f\fP="": .PP \fB--socket, -s\fP="": some 'usage' text (default: value) .SH COMMANDS .SH config, c .PP another usage test .PP \fB--another-flag, -b\fP: another usage text .PP \fB--flag, --fl, -f\fP="": .SS sub-config, s, ss .PP another usage test .PP \fB--sub-command-flag, -s\fP: some usage text .PP \fB--sub-flag, --sub-fl, -s\fP="": .SH info, i, in .PP retrieve generic information .SH some-command .SH usage, u .PP standard usage text .PP .RS .nf Usage for the usage text - formatted: Based on the specified ConfigMap and summon secrets.yml - list: Inspect the environment for a specific process running on a Pod - for_effect: Compare 'namespace' environment with 'local' ``` func() { ... } ``` Should be a part of the same code block .fi .RE .PP \fB--another-flag, -b\fP: another usage text .PP \fB--flag, --fl, -f\fP="": .SS sub-usage, su .PP standard usage text .PP .RS .PP Single line of UsageText .RE .PP \fB--sub-command-flag, -s\fP: some usage text (type string) - Got .nh .TH greet 8 .SH NAME .PP greet - Some app .SH SYNOPSIS .PP greet .EX [--another-flag|-b] [--flag|--fl|-f]=[value] [--socket|-s]=[value] .EE .SH DESCRIPTION .PP Description of the application. .PP \fBUsage\fP: .EX app [first_arg] [second_arg] .EE .SH GLOBAL OPTIONS .PP \fB--another-flag, -b\fP: another usage text .PP \fB--flag, --fl, -f\fP="": .PP \fB--socket, -s\fP="": some 'usage' text (default: value) .SH COMMANDS .SH config, c .PP another usage test .PP \fB--another-flag, -b\fP: another usage text .PP \fB--flag, --fl, -f\fP="": .SS sub-config, s, ss .PP another usage test .PP \fB--sub-command-flag, -s\fP: some usage text .PP \fB--sub-flag, --sub-fl, -s\fP="": .SH info, i, in .PP retrieve generic information .SH some-command .SH usage, u .PP standard usage text .EX Usage for the usage text - formatted: Based on the specified ConfigMap and summon secrets.yml - list: Inspect the environment for a specific process running on a Pod - for_effect: Compare 'namespace' environment with 'local' ``` func() { ... } ``` Should be a part of the same code block .EE .PP \fB--another-flag, -b\fP: another usage text .PP \fB--flag, --fl, -f\fP="": .SS sub-usage, su .PP standard usage text .PP .RS .PP Single line of UsageText .RE .PP \fB--sub-command-flag, -s\fP: some usage text (type string) FAIL exit status 1 FAIL github.com/urfave/cli/v2 0.350s RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.hIeHLc (%check) Bad exit status from /var/tmp/rpm-tmp.hIeHLc (%check) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-urfave-cli-2.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 597, 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 -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-urfave-cli-2.spec'