D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expected Installing /home/pterjan/rpmbuild/SRPMS/golang-github-shopify-sarama-1.27.2-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wcnYeT sh: line 4: [: -j8: integer expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.okoEPC + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build + rm -rf sarama-1.27.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/sarama-1.27.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sarama-1.27.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build/sarama-1.27.2/vendor + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build/sarama-1.27.2/_build/bin ]] + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build/sarama-1.27.2/_build/bin install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build/sarama-1.27.2/_build' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build/sarama-1.27.2/_build/bin' + export GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build/sarama-1.27.2/_build:/usr/share/gocode + GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build/sarama-1.27.2/_build:/usr/share/gocode + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build/sarama-1.27.2/_build/src/github.com/Shopify/sarama ]] ++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build/sarama-1.27.2/_build/src/github.com/Shopify/sarama + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build/sarama-1.27.2/_build/src/github.com/Shopify install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build/sarama-1.27.2/_build/src' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build/sarama-1.27.2/_build/src/github.com' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build/sarama-1.27.2/_build/src/github.com/Shopify' + ln -fs /home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build/sarama-1.27.2 /home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build/sarama-1.27.2/_build/src/github.com/Shopify/sarama + cd /home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build/sarama-1.27.2/_build/src/github.com/Shopify/sarama + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ep88ET + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build + cd sarama-1.27.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + for cmd in tools/kafka-console-consumer tools/kafka-console-partitionconsumer tools/kafka-console-producer tools/kafka-producer-performance ++ echo golang-github-shopify-sarama-1.27.2-3.mga10- ++ sha1sum ++ cut -d ' ' -f1 ++ basename tools/kafka-console-consumer + GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build/sarama-1.27.2/_build:/usr/share/gocode + GO111MODULE=off + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback ' -a -v -x -ldflags ' -X github.com/Shopify/sarama/version=1.27.2 -B 0xfc85c30b11bdacff6833162b1a2e112aaee8682a -compressdwarf=false -linkmode=external -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 '\''' -o /home/pterjan/rpmbuild/BUILD/golang-github-shopify-sarama-1.27.2-build/sarama-1.27.2/_build/bin/kafka-console-consumer github.com/Shopify/sarama/tools/kafka-console-consumer WORK=/tmp/go-build1800683326 go: error obtaining buildID for go tool compile: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/compile: resource temporarily unavailable go: error obtaining buildID for go tool compile: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/compile: resource temporarily unavailable go: error obtaining buildID for go tool 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.ep88ET (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ep88ET (%build) I: [iurt_root_command] ERROR: chroot