D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/golang-github-alecthomas-template-0-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XZSEXS + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build + test -d /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2w0k8f + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build + rm -rf template-fb15b899a75114aa79cc930e33c46b577cc664b1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/template-fb15b899a75114aa79cc930e33c46b577cc664b1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd template-fb15b899a75114aa79cc930e33c46b577cc664b1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/vendor + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build/bin ]] + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build/bin install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build/bin' + export GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build:/usr/share/gocode + GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build:/usr/share/gocode + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build/src/github.com/alecthomas/template ]] ++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build/src/github.com/alecthomas/template + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build/src/github.com/alecthomas install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build/src' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build/src/github.com' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build/src/github.com/alecthomas' + ln -fs /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1 /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build/src/github.com/alecthomas/template + cd /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build/src/github.com/alecthomas/template + 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.6C8TiL + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build + mkdir /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/BUILDROOT + cd template-fb15b899a75114aa79cc930e33c46b577cc664b1 + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build/src/github.com/alecthomas/template + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/alecthomas/template -b /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build -o golang-github-alecthomas-template-devel.file-list -O /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1 -V 0-2.mga10 -C fb15b899a75114aa79cc930e33c46b577cc664b1 -p /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Installing: github.com/alecthomas/template + IFS= +++ realpath -e --relative-base=. README.md +++ sort -u ++ listfiles_include=README.md ++ echo README.md + godocs=README.md + [[ -n README.md ]] + IFS= + read -r f + echo %doc '"README.md"' + 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 sh: line 4: [: -j8: integer expression expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7ktbjU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build + cd template-fb15b899a75114aa79cc930e33c46b577cc664b1 + '[' 1 -eq 1 ']' + GO_LDFLAGS=' -X github.com/alecthomas/template/version.commit=fb15b899a75114aa79cc930e33c46b577cc664b1 -X github.com/alecthomas/template/version=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/alecthomas/template -b /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build -V 0-2.mga10 -C fb15b899a75114aa79cc930e33c46b577cc664b1 -p /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Testing in: /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build/src PATH: /home/pterjan/rpmbuild/BUILD/golang-github-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_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-alecthomas-template-0-build/template-fb15b899a75114aa79cc930e33c46b577cc664b1/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/alecthomas/template/version.commit=fb15b899a75114aa79cc930e33c46b577cc664b1 -X github.com/alecthomas/template/version=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/alecthomas/template github.com/alecthomas/template --- FAIL: TestJSEscaping (0.00s) exec_test.go:757: JS escaping [unprintable ﷿] got [unprintable ﷿] want [unprintable \uFDFF] FAIL exit status 1 FAIL github.com/alecthomas/template 0.012s error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.7ktbjU (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.7ktbjU (%check) I: [iurt_root_command] ERROR: chroot