D: [iurt_root_command] chroot
Building target platforms: noarch
Building for target noarch
sh: line 4: [: -j8: integer expression expected
Installing /home/pterjan/rpmbuild/SRPMS/golang-github-streadway-amqp-1.0.0-4.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.V1T7OA
sh: line 4: [: -j8: integer expression expected
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aqlggX
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build
+ rm -rf amqp-1.0.0
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/amqp-1.0.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd amqp-1.0.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ rm -fr /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/vendor
+ [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build/bin ]]
+ install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build/bin
install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build'
install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build/bin'
+ export GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build:/usr/share/gocode
+ GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build:/usr/share/gocode
+ [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build/src/github.com/streadway/amqp ]]
++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build/src/github.com/streadway/amqp
+ install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build/src/github.com/streadway
install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build/src'
install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build/src/github.com'
install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build/src/github.com/streadway'
+ ln -fs /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0 /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build/src/github.com/streadway/amqp
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build/src/github.com/streadway/amqp
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
sh: line 4: [: -j8: integer expression expected
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VHCdLd
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build
+ mkdir /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/BUILDROOT
+ cd amqp-1.0.0
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build/src/github.com/streadway/amqp
+ IFS=
+ gosupfiles=
+ mapfile -t gosupfilesA
+ go-rpm-integration install -i github.com/streadway/amqp -b /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build -o golang-github-streadway-amqp-devel.file-list -O /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0 -V 1.0.0-4.mga10 -p /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*'
Installing: github.com/streadway/amqp
+ IFS=
+++ realpath -e --relative-base=. _examples CONTRIBUTING.md README.md
+++ sort -u
++ listfiles_include='CONTRIBUTING.md
README.md
_examples'
++ echo 'CONTRIBUTING.md
README.md
_examples'
+ godocs='CONTRIBUTING.md
README.md
_examples'
+ [[ -n CONTRIBUTING.md
README.md
_examples ]]
+ IFS=
+ read -r f
+ echo %doc '"CONTRIBUTING.md"'
+ IFS=
+ read -r f
+ echo %doc '"README.md"'
+ IFS=
+ read -r f
+ echo %doc '"_examples"'
+ 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
ARG0: fork: retry: Resource temporarily unavailable
ARG0: fork: retry: Resource temporarily unavailable
+ /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 -j48
+ /usr/lib/rpm/redhat/brp-python-hardlink
sh: line 4: [: -j8: integer expression expected
Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LmI0gD
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build
+ cd amqp-1.0.0
+ '[' 1 -eq 1 ']'
+ for test in "TestTLSHandshake"
++ grep -rl TestTLSHandshake
+ awk -i inplace '/^func.*TestTLSHandshake\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' tls_test.go
+ GO_LDFLAGS=' -X github.com/streadway/amqp/version=1.0.0'
+ 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/streadway/amqp -b /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build -V 1.0.0-4.mga10 -p /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*'
Testing    in: /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_build/src
         PATH: /home/pterjan/rpmbuild/BUILD/golang-github-streadway-amqp-1.0.0-build/amqp-1.0.0/_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-streadway-amqp-1.0.0-build/amqp-1.0.0/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags " -X github.com/streadway/amqp/version=1.0.0 -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/streadway/amqp
github.com/streadway/amqp
sync/atomic: /usr/lib/golang/pkg/tool/linux_amd64/asm: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/asm: resource temporarily unavailable
crypto/subtle: /usr/lib/golang/pkg/tool/linux_amd64/asm: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/asm: resource temporarily unavailable
unicode/utf8: /usr/lib/golang/pkg/tool/linux_amd64/compile: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/compile: resource temporarily unavailable
crypto/internal/boring/sig: /usr/lib/golang/pkg/tool/linux_amd64/compile: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/compile: resource temporarily unavailable
go: error obtaining buildID for go tool vet: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/vet: resource temporarily unavailable
go: error obtaining buildID for go tool vet: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/vet: resource temporarily unavailable
go: error obtaining buildID for go tool vet: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/vet: resource temporarily unavailable
go: error obtaining buildID for go tool vet: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/vet: resource temporarily unavailable
go: error obtaining buildID for go tool vet: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/vet: resource temporarily unavailable
go: error obtaining buildID for go tool vet: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/vet: resource temporarily unavailable
go: error obtaining buildID for go tool vet: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/vet: resource temporarily unavailable
internal/godebugs: open /tmp/go-build2918736151/b016/vet.cfg: no such file or directory
internal/byteorder: open /tmp/go-build2918736151/b014/vet.cfg: no such file or directory
internal/runtime/atomic: open /tmp/go-build2918736151/b020/vet.cfg: no such file or directory
internal/coverage/rtcov: open /tmp/go-build2918736151/b015/vet.cfg: no such file or directory
internal/goos: open /tmp/go-build2918736151/b018/vet.cfg: no such file or directory
internal/goexperiment: open /tmp/go-build2918736151/b017/vet.cfg: no such file or directory
internal/runtime/exithook: open /tmp/go-build2918736151/b021/vet.cfg: no such file or directory
math/bits: open /tmp/go-build2918736151/b038/vet.cfg: no such file or directory
vendor/golang.org/x/crypto/cryptobyte/asn1: open /tmp/go-build2918736151/b117/vet.cfg: no such file or directory
internal/msan: open /tmp/go-build2918736151/b045/vet.cfg: no such file or directory
cmp: open /tmp/go-build2918736151/b036/vet.cfg: no such file or directory
crypto/internal/alias: open /tmp/go-build2918736151/b075/vet.cfg: no such file or directory
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.LmI0gD (%check)

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