D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/golang-github-gin-gonic-1.8.2-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.t9UlN9 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1tJdBd + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build + rm -rf gin-1.8.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gin-1.8.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gin-1.8.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/vendor + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build/bin ]] + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build/bin install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build/bin' + export GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build:/usr/share/gocode + GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build:/usr/share/gocode + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build/src/github.com/gin-gonic/gin ]] ++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build/src/github.com/gin-gonic/gin + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build/src/github.com/gin-gonic install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build/src' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build/src/github.com' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build/src/github.com/gin-gonic' + ln -fs /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2 /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build/src/github.com/gin-gonic/gin + cd /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build/src/github.com/gin-gonic/gin + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0njXDg + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build + cd gin-1.8.2 + GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/gin-gonic/gin --template 'golang({{.}})\n' --with-tests --skip-self + 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.ydxPj4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build + mkdir /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/BUILDROOT + cd gin-1.8.2 + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build/src/github.com/gin-gonic/gin + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/gin-gonic/gin -b /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build -o golang-github-gin-gonic-devel.file-list -O /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2 -V 1.8.2-1.mga10 -p /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Installing: github.com/gin-gonic/gin + IFS= +++ realpath -e --relative-base=. examples AUTHORS.md BENCHMARKS.md CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md +++ sort -u ++ listfiles_include='AUTHORS.md BENCHMARKS.md CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md examples' ++ echo 'AUTHORS.md BENCHMARKS.md CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md examples' + godocs='AUTHORS.md BENCHMARKS.md CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md examples' + [[ -n AUTHORS.md BENCHMARKS.md CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md examples ]] + IFS= + read -r f + echo %doc '"AUTHORS.md"' + IFS= + read -r f + echo %doc '"BENCHMARKS.md"' + IFS= + read -r f + echo %doc '"CHANGELOG.md"' + IFS= + read -r f + echo %doc '"CODE_OF_CONDUCT.md"' + 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 + /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 Reading /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/SPECPARTS/rpm-debuginfo.specpart sh: line 4: [: -j8: integer expression expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.J7lktC + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build + cd gin-1.8.2 + '[' 1 -eq 1 ']' + rm context_1.17_test.go + GO_LDFLAGS=' -X github.com/gin-gonic/gin/version=1.8.2' + 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/gin-gonic/gin -b /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build -V 1.8.2-1.mga10 -p /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' -d render Testing in: /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_build/src PATH: /home/pterjan/rpmbuild/BUILD/golang-github-gin-gonic-1.8.2-build/gin-1.8.2/_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-gin-gonic-1.8.2-build/gin-1.8.2/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/gin-gonic/gin/version=1.8.2 -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/gin-gonic/gin github.com/gin-gonic/gin 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 asm: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/asm: resource temporarily unavailable go: error obtaining buildID for go tool asm: fork/exec /usr/lib/golang/pkg/tool/linux_amd64/asm: resource temporarily unavailable internal/byteorder: open /tmp/go-build2614321809/b014/importcfg: no such file or directory internal/itoa: open /tmp/go-build2614321809/b044/importcfg: no such file or directory internal/asan: open /tmp/go-build2614321809/b043/importcfg: no such file or directory go: unlinkat /tmp/go-build2614321809: directory not empty container/list: open /tmp/go-build2614321809/b100/importcfg: no such file or directory error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.J7lktC (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.J7lktC (%check) I: [iurt_root_command] ERROR: chroot