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-2-2.3.0-1.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.LMAF7f + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf cli-2.3.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/cli-2.3.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cli-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /home/iurt/rpmbuild/BUILD/cli-2.3.0/vendor + [[ ! -e /home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/bin ]] + install -m 0755 -vd /home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/bin install: creating directory '/home/iurt/rpmbuild/BUILD/cli-2.3.0/_build' install: creating directory '/home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/bin' + export GOPATH=/home/iurt/rpmbuild/BUILD/cli-2.3.0/_build:/usr/share/gocode + GOPATH=/home/iurt/rpmbuild/BUILD/cli-2.3.0/_build:/usr/share/gocode + [[ ! -e /home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/src/github.com/urfave/cli/v2 ]] ++ dirname /home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/src/github.com/urfave/cli/v2 + install -m 0755 -vd /home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/src/github.com/urfave/cli install: creating directory '/home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/src' install: creating directory '/home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/src/github.com' install: creating directory '/home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/src/github.com/urfave' install: creating directory '/home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/src/github.com/urfave/cli' + ln -fs /home/iurt/rpmbuild/BUILD/cli-2.3.0 /home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/src/github.com/urfave/cli/v2 + cd /home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/src/github.com/urfave/cli/v2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.fbNvbx + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/golang-github-urfave-cli-2-2.3.0-1.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/golang-github-urfave-cli-2-2.3.0-1.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/golang-github-urfave-cli-2-2.3.0-1.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/golang-github-urfave-cli-2-2.3.0-1.mga9.aarch64 + cd cli-2.3.0 + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/src/github.com/urfave/cli/v2 + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/urfave/cli/v2 -b /home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/bin -s /home/iurt/rpmbuild/BUILD/cli-2.3.0/_build -o golang-github-urfave-cli-2-devel.file-list -O /home/iurt/rpmbuild/BUILD/cli-2.3.0 -V 2.3.0-1.mga9 -p /home/iurt/rpmbuild/BUILDROOT/golang-github-urfave-cli-2-2.3.0-1.mga9.aarch64 -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 + '[' -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.0JEBd7 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd cli-2.3.0 + '[' 1 -eq 1 ']' + LDFLAGS=' -X github.com/urfave/cli/v2/version=2.3.0' + 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/v2 -b /home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/bin -s /home/iurt/rpmbuild/BUILD/cli-2.3.0/_build -V 2.3.0-1.mga9 -p /home/iurt/rpmbuild/BUILDROOT/golang-github-urfave-cli-2-2.3.0-1.mga9.aarch64 -g /usr/share/gocode -r '.*example.*' Testing in: /home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/src PATH: /home/iurt/rpmbuild/BUILD/cli-2.3.0/_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-2.3.0/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/urfave/cli/v2/version=2.3.0 -extldflags ' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags '" testing: github.com/urfave/cli/v2 github.com/urfave/cli/v2 flag "--foo" begins with - --- FAIL: TestApp_RunAsSubCommandIncorrectUsage (0.00s) panic: flag "--foo" begins with - [recovered] panic: flag "--foo" begins with - goroutine 23 [running]: testing.tRunner.func1.2({0xaaaac56250e0, 0x4000105320}) /usr/lib/golang/src/testing/testing.go:1209 +0x258 testing.tRunner.func1(0x40001bc1a0) /usr/lib/golang/src/testing/testing.go:1212 +0x284 panic({0xaaaac56250e0, 0x4000105320}) /usr/lib/golang/src/runtime/panic.go:1038 +0x21c flag.(*FlagSet).Var(0x400010e6c0, {0xaaaac5663f48, 0x40001052f0}, {0x400012c928, 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(0x400010e6c0, {0x400012c928, 0x5}, {0x0, 0x0}, {0x0, 0x0}) /usr/lib/golang/src/flag/flag.go:775 +0xa0 github.com/urfave/cli/v2.(*StringFlag).Apply(0x400013e8c0, 0x400010e6c0) /home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/src/github.com/urfave/cli/v2/flag_string.go:70 +0x1b0 github.com/urfave/cli/v2.flagSet({0xaaaac54a032d, 0x3}, {0x40001469e0, 0x2, 0x2}) /home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/src/github.com/urfave/cli/v2/flag.go:125 +0x158 github.com/urfave/cli/v2.(*App).newFlagSet(...) /home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/src/github.com/urfave/cli/v2/app.go:214 github.com/urfave/cli/v2.(*App).RunAsSubcommand(0x40001bc340, 0x4000112d00) /home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/src/github.com/urfave/cli/v2/app.go:355 +0x26c github.com/urfave/cli/v2.TestApp_RunAsSubCommandIncorrectUsage(0x40001bc1a0) /home/iurt/rpmbuild/BUILD/cli-2.3.0/_build/src/github.com/urfave/cli/v2/app_test.go:489 +0x2d8 testing.tRunner(0x40001bc1a0, 0xaaaac565d4c0) /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/v2 0.009s error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.0JEBd7 (%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.0JEBd7 (%check) I: [iurt_root_command] ERROR: chroot