D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/golang-github-spf13-cobra-1.6.1-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aDdRNY
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SSpUeU
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build
+ rm -rf cobra-1.6.1
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/cobra-1.6.1.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd cobra-1.6.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ rm -fr /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/vendor
+ [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build/bin ]]
+ install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build/bin
install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build'
install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build/bin'
+ export GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build:/usr/share/gocode
+ GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build:/usr/share/gocode
+ [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build/src/github.com/spf13/cobra ]]
++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build/src/github.com/spf13/cobra
+ install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build/src/github.com/spf13
install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build/src'
install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build/src/github.com'
install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build/src/github.com/spf13'
+ ln -fs /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1 /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build/src/github.com/spf13/cobra
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build/src/github.com/spf13/cobra
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KCoHlF
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build
+ cd cobra-1.6.1
+ GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_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 /home/pterjan/rpmbuild/tmp/rpm-tmp.gE8Ezd
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build
+ mkdir /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/BUILDROOT
+ cd cobra-1.6.1
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build/src/github.com/spf13/cobra
+ IFS=
+ gosupfiles=
+ mapfile -t gosupfilesA
+ go-rpm-integration install -i github.com/spf13/cobra -b /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build -o golang-github-spf13-cobra-devel.file-list -O /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1 -V 1.6.1-1.mga10 -p /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/BUILDROOT -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: CHANGELOG.md: No such file or directory
++ listfiles_include=$'CONDUCT.md\nCONTRIBUTING.md\nREADME.md\nbash_completions.md\ndoc\nfish_completions.md\npowershell_completions.md\nprojects_using_cobra.md\nshell_completions.md\nuser_guide.md\nzsh_completions.md'
++ echo $'CONDUCT.md\nCONTRIBUTING.md\nREADME.md\nbash_completions.md\ndoc\nfish_completions.md\npowershell_completions.md\nprojects_using_cobra.md\nshell_completions.md\nuser_guide.md\nzsh_completions.md'
+ godocs=$'CONDUCT.md\nCONTRIBUTING.md\nREADME.md\nbash_completions.md\ndoc\nfish_completions.md\npowershell_completions.md\nprojects_using_cobra.md\nshell_completions.md\nuser_guide.md\nzsh_completions.md'
+ [[ -n CONDUCT.md
CONTRIBUTING.md
README.md
bash_completions.md
doc
fish_completions.md
powershell_completions.md
projects_using_cobra.md
shell_completions.md
user_guide.md
zsh_completions.md ]]
+ 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 '"bash_completions.md"'
+ IFS=
+ read -r f
+ echo %doc '"doc"'
+ IFS=
+ read -r f
+ echo %doc '"fish_completions.md"'
+ IFS=
+ read -r f
+ echo %doc '"powershell_completions.md"'
+ IFS=
+ read -r f
+ echo %doc '"projects_using_cobra.md"'
+ IFS=
+ read -r f
+ echo %doc '"shell_completions.md"'
+ IFS=
+ read -r f
+ echo %doc '"user_guide.md"'
+ IFS=
+ read -r f
+ echo %doc '"zsh_completions.md"'
+ 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
+ '[' -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/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/SPECPARTS/rpm-debuginfo.specpart
Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.08GRgA
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build
+ cd cobra-1.6.1
+ '[' 1 -eq 1 ']'
+ GO_LDFLAGS=' -X github.com/spf13/cobra/version=1.6.1'
+ GO_TEST_FLAGS='-buildmode pie -compiler gc'
+ GO_TEST_EXT_LD_FLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '
+ go-rpm-integration check -i github.com/spf13/cobra -b /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build -V 1.6.1-1.mga10 -p /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/BUILDROOT -g /usr/share/gocode -r '.*example.*'
Testing    in: /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build/src
         PATH: /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin
       GOPATH: /home/pterjan/rpmbuild/BUILD/golang-github-spf13-cobra-1.6.1-build/cobra-1.6.1/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags " -X github.com/spf13/cobra/version=1.6.1 -extldflags '-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
      testing: github.com/spf13/cobra
github.com/spf13/cobra
go: error obtaining buildID for go tool asm: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/asm: resource temporarily unavailable
go: error obtaining buildID for go tool compile: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/compile: resource temporarily unavailable
internal/goarch: /usr/lib/golang/pkg/tool/linux_amd64/compile: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/compile: resource temporarily unavailable
internal/goos: /usr/lib/golang/pkg/tool/linux_amd64/compile: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/compile: resource temporarily unavailable
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.08GRgA (%check)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.08GRgA (%check)
I: [iurt_root_command] ERROR: chroot