D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/golang-github-urfave-cli-1.22.5-1.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.levSBn + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf cli-1.22.5 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/cli-1.22.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cli-1.22.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /home/iurt/rpmbuild/BUILD/cli-1.22.5/vendor + [[ ! -e /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/bin ]] + install -m 0755 -vd /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/bin install: creating directory '/home/iurt/rpmbuild/BUILD/cli-1.22.5/_build' install: creating directory '/home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/bin' + export GOPATH=/home/iurt/rpmbuild/BUILD/cli-1.22.5/_build:/usr/share/gocode + GOPATH=/home/iurt/rpmbuild/BUILD/cli-1.22.5/_build:/usr/share/gocode + [[ ! -e /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/src/github.com/urfave/cli ]] ++ dirname /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/src/github.com/urfave/cli + install -m 0755 -vd /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/src/github.com/urfave install: creating directory '/home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/src' install: creating directory '/home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/src/github.com' install: creating directory '/home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/src/github.com/urfave' + ln -fs /home/iurt/rpmbuild/BUILD/cli-1.22.5 /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/src/github.com/urfave/cli + cd /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/src/github.com/urfave/cli + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.A3ahRS + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/golang-github-urfave-cli-1.22.5-1.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/golang-github-urfave-cli-1.22.5-1.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/golang-github-urfave-cli-1.22.5-1.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/golang-github-urfave-cli-1.22.5-1.mga9.aarch64 + cd cli-1.22.5 + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/src/github.com/urfave/cli + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/urfave/cli -b /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/bin -s /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build -o golang-github-urfave-cli-devel.file-list -O /home/iurt/rpmbuild/BUILD/cli-1.22.5 -V 1.22.5-1.mga9 -p /home/iurt/rpmbuild/BUILDROOT/golang-github-urfave-cli-1.22.5-1.mga9.aarch64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/urfave/cli + IFS= +++ realpath -e --relative-base=. docs/CONTRIBUTING.md docs/v1 README.md CODE_OF_CONDUCT.md +++ sort -u ++ listfiles_include='CODE_OF_CONDUCT.md README.md docs/CONTRIBUTING.md docs/v1' ++ echo 'CODE_OF_CONDUCT.md README.md docs/CONTRIBUTING.md docs/v1' + godocs='CODE_OF_CONDUCT.md README.md docs/CONTRIBUTING.md docs/v1' + [[ -n CODE_OF_CONDUCT.md README.md docs/CONTRIBUTING.md docs/v1 ]] + 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/CONTRIBUTING.md"' + IFS= + read -r f + echo %doc '"docs/v1"' + 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 + install -m 0755 -d /home/iurt/rpmbuild/BUILDROOT/golang-github-urfave-cli-1.22.5-1.mga9.aarch64/usr/share/gocode/src/gopkg.in/urfave + ln -rs /home/iurt/rpmbuild/BUILDROOT/golang-github-urfave-cli-1.22.5-1.mga9.aarch64/usr/share/gocode/src/github.com/urfave/cli /home/iurt/rpmbuild/BUILDROOT/golang-github-urfave-cli-1.22.5-1.mga9.aarch64/usr/share/gocode/src/gopkg.in/urfave/cli.v1 + echo /usr/share/gocode/src/gopkg.in/urfave/cli.v1 + echo '%dir "/usr/share/gocode/src/gopkg.in/urfave"' + echo '%dir "/usr/share/gocode/src/gopkg.in"' + install -m 0755 -d /home/iurt/rpmbuild/BUILDROOT/golang-github-urfave-cli-1.22.5-1.mga9.aarch64/usr/share/gocode/src/github.com/codegangsta + ln -rs /home/iurt/rpmbuild/BUILDROOT/golang-github-urfave-cli-1.22.5-1.mga9.aarch64/usr/share/gocode/src/github.com/urfave/cli /home/iurt/rpmbuild/BUILDROOT/golang-github-urfave-cli-1.22.5-1.mga9.aarch64/usr/share/gocode/src/github.com/codegangsta/cli + echo /usr/share/gocode/src/github.com/codegangsta/cli + echo '%dir "/usr/share/gocode/src/github.com/codegangsta"' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.KBodYi + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd cli-1.22.5 + '[' 1 -eq 1 ']' + LDFLAGS=' -X github.com/urfave/cli/version=1.22.5' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags ' + go-rpm-integration check -i github.com/urfave/cli -b /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/bin -s /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build -V 1.22.5-1.mga9 -p /home/iurt/rpmbuild/BUILDROOT/golang-github-urfave-cli-1.22.5-1.mga9.aarch64 -g /usr/share/gocode -r '.*example.*' Testing in: /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/src PATH: /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/bin:/usr/local/bin:/usr/bin:/usr/local/games:/usr/games:/usr/local/sbin:/usr/sbin:/home/iurt/.local/bin:/home/iurt/bin GOPATH: /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/urfave/cli/version=1.22.5 -extldflags ' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags '" testing: github.com/urfave/cli github.com/urfave/cli flag "--foo" begins with - --- FAIL: TestApp_RunAsSubCommandIncorrectUsage (0.00s) panic: flag "--foo" begins with - [recovered] panic: flag "--foo" begins with - goroutine 29 [running]: testing.tRunner.func1.2({0xaaaaba794000, 0x4000191ba0}) /usr/lib/golang/src/testing/testing.go:1209 +0x258 testing.tRunner.func1(0x4000234b60) /usr/lib/golang/src/testing/testing.go:1212 +0x284 panic({0xaaaaba794000, 0x4000191ba0}) /usr/lib/golang/src/runtime/panic.go:1038 +0x21c flag.(*FlagSet).Var(0x400019ade0, {0xaaaaba7cf3a8, 0x4000191b70}, {0xaaaaba621095, 0x5}, {0x0, 0x0}) /usr/lib/golang/src/flag/flag.go:864 +0x480 flag.(*FlagSet).StringVar(...) /usr/lib/golang/src/flag/flag.go:762 flag.(*FlagSet).String(0x400019ade0, {0xaaaaba621095, 0x5}, {0x0, 0x0}, {0x0, 0x0}) /usr/lib/golang/src/flag/flag.go:775 +0xa0 github.com/urfave/cli.StringFlag.ApplyWithError.func1({0xaaaaba621095, 0x5}) /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/src/github.com/urfave/cli/flag_string.go:67 +0xcc github.com/urfave/cli.eachName({0xaaaaba621095, 0x5}, 0x400010f668) /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/src/github.com/urfave/cli/flag.go:130 +0xd4 github.com/urfave/cli.StringFlag.ApplyWithError({{0xaaaaba621095, 0x5}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, 0x0, 0x0, ...}, ...) /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/src/github.com/urfave/cli/flag_string.go:62 +0xbc github.com/urfave/cli.flagSet({0x0, 0x0}, {0x4000191b10, 0x1, 0x1}) /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/src/github.com/urfave/cli/flag.go:115 +0x1a4 github.com/urfave/cli.(*App).newFlagSet(...) /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/src/github.com/urfave/cli/app.go:185 github.com/urfave/cli.(*App).RunAsSubcommand(0x400022efc0, 0x4000231600) /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/src/github.com/urfave/cli/app.go:326 +0x3b0 github.com/urfave/cli.TestApp_RunAsSubCommandIncorrectUsage(0x4000234b60) /home/iurt/rpmbuild/BUILD/cli-1.22.5/_build/src/github.com/urfave/cli/app_test.go:522 +0x2dc testing.tRunner(0x4000234b60, 0xaaaaba7c8de0) /usr/lib/golang/src/testing/testing.go:1259 +0x100 created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1306 +0x328 exit status 2 FAIL github.com/urfave/cli 0.027s error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.KBodYi (%check) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.KBodYi (%check) I: [iurt_root_command] ERROR: chroot