D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/golang-github-thoas-funk-0.7.0-5.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TlZKg4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build + test -d /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.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.uhICB4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build + rm -rf go-funk-0.7.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/go-funk-0.7.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd go-funk-0.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/vendor + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build/bin ]] + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build/bin install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build/bin' + export GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build:/usr/share/gocode + GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build:/usr/share/gocode + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build/src/github.com/thoas/go-funk ]] ++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build/src/github.com/thoas/go-funk + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build/src/github.com/thoas install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build/src' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build/src/github.com' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build/src/github.com/thoas' + ln -fs /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0 /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build/src/github.com/thoas/go-funk + cd /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build/src/github.com/thoas/go-funk + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected 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.oE78u9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build + mkdir /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/BUILDROOT + cd go-funk-0.7.0 + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build/src/github.com/thoas/go-funk + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/thoas/go-funk -b /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build -o golang-github-thoas-funk-devel.file-list -O /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0 -V 0.7.0-5.mga10 -p /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Installing: github.com/thoas/go-funk + IFS= +++ sort -u +++ realpath -e --relative-base=. CHANGELOG.md README.rst ++ listfiles_include='CHANGELOG.md README.rst' ++ echo 'CHANGELOG.md README.rst' + godocs='CHANGELOG.md README.rst' + [[ -n CHANGELOG.md README.rst ]] + IFS= + read -r f + echo %doc '"CHANGELOG.md"' + IFS= + read -r f + echo %doc '"README.rst"' + IFS= + read -r f + IFS= +++ sort -u +++ realpath -e --relative-base=. LICENSE ++ listfiles_include=LICENSE ++ echo LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + /usr/bin/find-debuginfo -j48 --strict-build-id -m -i --build-id-seed 0.7.0-5.mga10 --unique-debug-suffix -0.7.0-5.mga10.x86_64 --unique-debug-src-base golang-github-thoas-funk-0.7.0-5.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find-debuginfo: done + /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/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-thoas-funk-0.7.0-build/SPECPARTS/rpm-debuginfo.specpart sh: line 4: [: -j8: integer expression expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.K0RQ2E + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build + cd go-funk-0.7.0 + '[' 1 -eq 1 ']' + GO_LDFLAGS=' -X github.com/thoas/go-funk/version=0.7.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/thoas/go-funk -b /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build -V 0.7.0-5.mga10 -p /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Testing in: /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build/src PATH: /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.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-thoas-funk-0.7.0-build/go-funk-0.7.0/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/thoas/go-funk/version=0.7.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/thoas/go-funk github.com/thoas/go-funk --- FAIL: TestLazyShuffle (0.00s) --- FAIL: TestLazyShuffle/test_case_#1 (0.00s) lazy_builder_test.go:326: Error Trace: /home/pterjan/rpmbuild/BUILD/golang-github-thoas-funk-0.7.0-build/go-funk-0.7.0/_build/src/github.com/thoas/go-funk/lazy_builder_test.go:326 Error: Should not be: []int{4, 0, 2, 3, 1} Test: TestLazyShuffle/test_case_#1 FAIL exit status 1 FAIL github.com/thoas/go-funk 0.037s error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.K0RQ2E (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.K0RQ2E (%check) I: [iurt_root_command] ERROR: chroot