Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-spf13-cobra.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-268356-25711/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=981gid=135user='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-spf13-cobra.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 Wrote: /builddir/build/SRPMS/golang-github-spf13-cobra-1.8.0-1.ocs23.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-spf13-cobra.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-268356-25711/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=981gid=135user='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-spf13-cobra.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rLQnQt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cobra-1.8.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cobra-1.8.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cobra-1.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/cobra-1.8.0/vendor + [[ ! -e /builddir/build/BUILD/cobra-1.8.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/cobra-1.8.0/_build/bin install: creating directory '/builddir/build/BUILD/cobra-1.8.0/_build' install: creating directory '/builddir/build/BUILD/cobra-1.8.0/_build/bin' + export GOPATH=/builddir/build/BUILD/cobra-1.8.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/cobra-1.8.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/cobra-1.8.0/_build/src/github.com/spf13/cobra ]] ++ dirname /builddir/build/BUILD/cobra-1.8.0/_build/src/github.com/spf13/cobra + install -m 0755 -vd /builddir/build/BUILD/cobra-1.8.0/_build/src/github.com/spf13 install: creating directory '/builddir/build/BUILD/cobra-1.8.0/_build/src' install: creating directory '/builddir/build/BUILD/cobra-1.8.0/_build/src/github.com' install: creating directory '/builddir/build/BUILD/cobra-1.8.0/_build/src/github.com/spf13' + ln -fs /builddir/build/BUILD/cobra-1.8.0 /builddir/build/BUILD/cobra-1.8.0/_build/src/github.com/spf13/cobra + cd /builddir/build/BUILD/cobra-1.8.0/_build/src/github.com/spf13/cobra + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.EbqgU3 + umask 022 + cd /builddir/build/BUILD + cd cobra-1.8.0 + GOPATH=/builddir/build/BUILD/cobra-1.8.0/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/spf13/cobra --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/golang-github-spf13-cobra-1.8.0-1.ocs23.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 -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-spf13-cobra.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-268356-25711/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=981gid=135user='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-spf13-cobra.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3nFc7j + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cobra-1.8.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cobra-1.8.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cobra-1.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/cobra-1.8.0/vendor + [[ ! -e /builddir/build/BUILD/cobra-1.8.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/cobra-1.8.0/_build/bin install: creating directory '/builddir/build/BUILD/cobra-1.8.0/_build' install: creating directory '/builddir/build/BUILD/cobra-1.8.0/_build/bin' + export GOPATH=/builddir/build/BUILD/cobra-1.8.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/cobra-1.8.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/cobra-1.8.0/_build/src/github.com/spf13/cobra ]] ++ dirname /builddir/build/BUILD/cobra-1.8.0/_build/src/github.com/spf13/cobra + install -m 0755 -vd /builddir/build/BUILD/cobra-1.8.0/_build/src/github.com/spf13 install: creating directory '/builddir/build/BUILD/cobra-1.8.0/_build/src' install: creating directory '/builddir/build/BUILD/cobra-1.8.0/_build/src/github.com' install: creating directory '/builddir/build/BUILD/cobra-1.8.0/_build/src/github.com/spf13' + ln -fs /builddir/build/BUILD/cobra-1.8.0 /builddir/build/BUILD/cobra-1.8.0/_build/src/github.com/spf13/cobra + cd /builddir/build/BUILD/cobra-1.8.0/_build/src/github.com/spf13/cobra + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.A9uYqm + umask 022 + cd /builddir/build/BUILD + cd cobra-1.8.0 + GOPATH=/builddir/build/BUILD/cobra-1.8.0/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/spf13/cobra --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/golang-github-spf13-cobra-1.8.0-1.ocs23.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 --nodeps /builddir/build/SPECS/golang-github-spf13-cobra.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-268356-25711/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-spf13-cobra.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 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.KVPGsm + umask 022 + cd /builddir/build/BUILD + cd cobra-1.8.0 + GOPATH=/builddir/build/BUILD/cobra-1.8.0/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/spf13/cobra --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.a6tSjg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-spf13-cobra-1.8.0-1.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-spf13-cobra-1.8.0-1.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/golang-github-spf13-cobra-1.8.0-1.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-spf13-cobra-1.8.0-1.ocs23.aarch64 + cd cobra-1.8.0 + cd /builddir/build/BUILD/cobra-1.8.0/_build/src/github.com/spf13/cobra + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/spf13/cobra -b /builddir/build/BUILD/cobra-1.8.0/_build/bin -s /builddir/build/BUILD/cobra-1.8.0/_build -o golang-github-spf13-cobra-devel.file-list -O /builddir/build/BUILD/cobra-1.8.0 -V 1.8.0-1.ocs23 -p /builddir/build/BUILDROOT/golang-github-spf13-cobra-1.8.0-1.ocs23.aarch64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/spf13/cobra + IFS= +++ realpath -e --relative-base=. doc powershell_completions.md bash_completions.md CONTRIBUTING.md CHANGELOG.md shell_completions.md projects_using_cobra.md fish_completions.md user_guide.md CONDUCT.md README.md zsh_completions.md +++ sort -u realpath: powershell_completions.md: No such file or directory realpath: bash_completions.md: No such file or directory realpath: CHANGELOG.md: No such file or directory realpath: shell_completions.md: No such file or directory realpath: projects_using_cobra.md: No such file or directory realpath: fish_completions.md: No such file or directory realpath: user_guide.md: No such file or directory realpath: zsh_completions.md: No such file or directory ++ listfiles_include='CONDUCT.md CONTRIBUTING.md README.md doc' ++ echo 'CONDUCT.md CONTRIBUTING.md README.md doc' + godocs='CONDUCT.md CONTRIBUTING.md README.md doc' + [[ -n CONDUCT.md CONTRIBUTING.md README.md doc ]] + IFS= + read -r f + echo %doc '"CONDUCT.md"' + IFS= + read -r f + echo %doc '"CONTRIBUTING.md"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + echo %doc '"doc"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE.txt +++ sort -u ++ listfiles_include=LICENSE.txt ++ echo LICENSE.txt + golicenses=LICENSE.txt + [[ -n LICENSE.txt ]] + IFS= + read -r f + echo %license '"LICENSE.txt"' + IFS= + read -r f + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/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/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ifKvfr + umask 022 + cd /builddir/build/BUILD + cd cobra-1.8.0 + for test in "TestFailGenFishCompletionFile" ++ grep -rl TestFailGenFishCompletionFile + awk -i inplace '/^func.*TestFailGenFishCompletionFile\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' fish_completions_test.go + GO_LDFLAGS=' -X github.com/spf13/cobra/version=1.8.0' + 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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 ' + go-rpm-integration check -i github.com/spf13/cobra -b /builddir/build/BUILD/cobra-1.8.0/_build/bin -s /builddir/build/BUILD/cobra-1.8.0/_build -V 1.8.0-1.ocs23 -p /builddir/build/BUILDROOT/golang-github-spf13-cobra-1.8.0-1.ocs23.aarch64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/cobra-1.8.0/_build/src PATH: /builddir/build/BUILD/cobra-1.8.0/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/cobra-1.8.0/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/spf13/cobra/version=1.8.0 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 '" testing: github.com/spf13/cobra github.com/spf13/cobra [Debug] [Error] Error while parsing flags from args [--localroot value]: unknown flag: --localroot Error: if any flags in the group [a b c] are set they must all be set; missing [b c] Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: at least one of the flags in the group [a b] is required Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: if any flags in the group [a b c] are set none of the others can be; [a b] were all set Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: if any flags in the group [a b c] are set they must all be set; missing [a b] Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: at least one of the flags in the group [a b] is required Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: if any flags in the group [a b c] are set none of the others can be; [a c] were all set Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: if any flags in the group [a b] are set they must all be set; missing [b] Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: at least one of the flags in the group [a b] is required Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: if any flags in the group [a b] are set none of the others can be; [a b] were all set Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: if any flags in the group [a e] are set they must all be set; missing [e] Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: at least one of the flags in the group [a b] is required Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: if any flags in the group [f g] are set none of the others can be; [f g] were all set Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: at least one of the flags in the group [e subonly] is required Usage: testcmd subcmd [flags] Flags: -h, --help help for subcmd --subonly string Global Flags: --e string --f string --g string Error: if any flags in the group [e subonly] are set none of the others can be; [e subonly] were all set Usage: testcmd subcmd [flags] Flags: -h, --help help for subcmd --subonly string Global Flags: --e string --f string --g string PASS ok github.com/spf13/cobra 0.069s github.com/spf13/cobra [Debug] [Error] Error while parsing flags from args [--localroot value]: unknown flag: --localroot Error: if any flags in the group [a b c] are set they must all be set; missing [b c] Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: at least one of the flags in the group [a b] is required Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: if any flags in the group [a b c] are set none of the others can be; [a b] were all set Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: if any flags in the group [a b c] are set they must all be set; missing [a b] Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: at least one of the flags in the group [a b] is required Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: if any flags in the group [a b c] are set none of the others can be; [a c] were all set Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: if any flags in the group [a b] are set they must all be set; missing [b] Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: at least one of the flags in the group [a b] is required Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: if any flags in the group [a b] are set none of the others can be; [a b] were all set Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: if any flags in the group [a e] are set they must all be set; missing [e] Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: at least one of the flags in the group [a b] is required Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: if any flags in the group [f g] are set none of the others can be; [f g] were all set Usage: testcmd [flags] testcmd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command subcmd Flags: --a string --b string --c string --d string --e string --f string --g string -h, --help help for testcmd Use "testcmd [command] --help" for more information about a command. Error: at least one of the flags in the group [e subonly] is required Usage: testcmd subcmd [flags] Flags: -h, --help help for subcmd --subonly string Global Flags: --e string --f string --g string Error: if any flags in the group [e subonly] are set none of the others can be; [e subonly] were all set Usage: testcmd subcmd [flags] Flags: -h, --help help for subcmd --subonly string Global Flags: --e string --f string --g string PASS ok github.com/spf13/cobra 0.062s github.com/spf13/cobra/doc PASS ok github.com/spf13/cobra/doc 0.009s github.com/spf13/cobra/doc PASS ok github.com/spf13/cobra/doc 0.009s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-github-spf13-cobra-devel-1.8.0-1.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bryVf6 + umask 022 + cd /builddir/build/BUILD + cd cobra-1.8.0 + DOCDIR=/builddir/build/BUILDROOT/golang-github-spf13-cobra-1.8.0-1.ocs23.aarch64/usr/share/doc/golang-github-spf13-cobra-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-spf13-cobra-1.8.0-1.ocs23.aarch64/usr/share/doc/golang-github-spf13-cobra-devel + cp -pr CONDUCT.md /builddir/build/BUILDROOT/golang-github-spf13-cobra-1.8.0-1.ocs23.aarch64/usr/share/doc/golang-github-spf13-cobra-devel + cp -pr CONTRIBUTING.md /builddir/build/BUILDROOT/golang-github-spf13-cobra-1.8.0-1.ocs23.aarch64/usr/share/doc/golang-github-spf13-cobra-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-spf13-cobra-1.8.0-1.ocs23.aarch64/usr/share/doc/golang-github-spf13-cobra-devel + cp -pr doc /builddir/build/BUILDROOT/golang-github-spf13-cobra-1.8.0-1.ocs23.aarch64/usr/share/doc/golang-github-spf13-cobra-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9OsOu2 + umask 022 + cd /builddir/build/BUILD + cd cobra-1.8.0 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-spf13-cobra-1.8.0-1.ocs23.aarch64/usr/share/licenses/golang-github-spf13-cobra-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-spf13-cobra-1.8.0-1.ocs23.aarch64/usr/share/licenses/golang-github-spf13-cobra-devel + cp -pr LICENSE.txt /builddir/build/BUILDROOT/golang-github-spf13-cobra-1.8.0-1.ocs23.aarch64/usr/share/licenses/golang-github-spf13-cobra-devel + RPM_EC=0 ++ jobs -p + exit 0 grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: golang(github.com/spf13/cobra) = 1.8.0-1.ocs23 golang(github.com/spf13/cobra/doc) = 1.8.0-1.ocs23 golang-github-spf13-cobra-devel = 1.8.0-1.ocs23 golang-ipath(github.com/spf13/cobra) = 1.8.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem golang(github.com/cpuguy83/go-md2man/v2/md2man) golang(github.com/spf13/pflag) golang(gopkg.in/yaml.v3) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-spf13-cobra-1.8.0-1.ocs23.aarch64 Wrote: /builddir/build/SRPMS/golang-github-spf13-cobra-1.8.0-1.ocs23.src.rpm Wrote: /builddir/build/RPMS/golang-github-spf13-cobra-devel-1.8.0-1.ocs23.noarch.rpm Child return code was: 0