D: [iurt_root_command] chroot sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/golang-github-pkg-sftp-1.13.5-2.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wbfQ29 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf sftp-1.13.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/sftp-1.13.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sftp-1.13.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /home/pterjan/rpmbuild/BUILD/sftp-1.13.5/vendor + [[ ! -e /home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build/bin ]] + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build/bin install: creating directory '/home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build' install: creating directory '/home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build/bin' + export GOPATH=/home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build:/usr/share/gocode + GOPATH=/home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build:/usr/share/gocode + [[ ! -e /home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build/src/github.com/pkg/sftp ]] ++ dirname /home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build/src/github.com/pkg/sftp + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build/src/github.com/pkg install: creating directory '/home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build/src' install: creating directory '/home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build/src/github.com' install: creating directory '/home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build/src/github.com/pkg' + ln -fs /home/pterjan/rpmbuild/BUILD/sftp-1.13.5 /home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build/src/github.com/pkg/sftp + cd /home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build/src/github.com/pkg/sftp + 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.C5ctV5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd sftp-1.13.5 + GOPATH=/home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/pkg/sftp --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cdtibB + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/golang-github-pkg-sftp-1.13.5-2.mga9.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/golang-github-pkg-sftp-1.13.5-2.mga9.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/golang-github-pkg-sftp-1.13.5-2.mga9.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/golang-github-pkg-sftp-1.13.5-2.mga9.x86_64 + cd sftp-1.13.5 + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build/src/github.com/pkg/sftp + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/pkg/sftp -b /home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build/bin -s /home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build -o golang-github-pkg-sftp-devel.file-list -O /home/pterjan/rpmbuild/BUILD/sftp-1.13.5 -V 1.13.5-2.mga9 -p /home/pterjan/rpmbuild/BUILDROOT/golang-github-pkg-sftp-1.13.5-2.mga9.x86_64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/pkg/sftp + IFS= +++ realpath -e --relative-base=. examples CONTRIBUTORS README.md request-readme.md +++ sort -u ++ listfiles_include='CONTRIBUTORS README.md examples request-readme.md' ++ echo 'CONTRIBUTORS README.md examples request-readme.md' + godocs='CONTRIBUTORS README.md examples request-readme.md' + [[ -n CONTRIBUTORS README.md examples request-readme.md ]] + IFS= + read -r f + echo %doc '"CONTRIBUTORS"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + echo %doc '"examples"' + IFS= + read -r f + echo %doc '"request-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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /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.b6B4rS + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd sftp-1.13.5 + '[' 1 -eq 1 ']' + LDFLAGS=' -X github.com/pkg/sftp/version=1.13.5' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags ' + go-rpm-integration check -i github.com/pkg/sftp -b /home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build/bin -s /home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build -V 1.13.5-2.mga9 -p /home/pterjan/rpmbuild/BUILDROOT/golang-github-pkg-sftp-1.13.5-2.mga9.x86_64 -g /usr/share/gocode -r '.*example.*' Testing in: /home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build/src PATH: /home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin GOPATH: /home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/pkg/sftp/version=1.13.5 -extldflags ' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags '" testing: github.com/pkg/sftp github.com/pkg/sftp --- FAIL: TestRequestStatVFS (0.00s) request-server_test.go:761: Error Trace: /home/pterjan/rpmbuild/BUILD/sftp-1.13.5/_build/src/github.com/pkg/sftp/request-server_test.go:761 Error: Not equal: expected: 0x93f62a7 actual : 0x93f62b0 Test: TestRequestStatVFS FAIL exit status 1 FAIL github.com/pkg/sftp 0.195s error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.b6B4rS (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.b6B4rS (%check) I: [iurt_root_command] ERROR: chroot