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-xrash-smetrics-0-0.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BVmvoO + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build + test -d /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-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.BwWW9l + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build + rm -rf smetrics-039620a656736e6ad994090895784a7af15e0b80 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/smetrics-039620a656736e6ad994090895784a7af15e0b80.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd smetrics-039620a656736e6ad994090895784a7af15e0b80 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/vendor + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build/bin ]] + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build/bin install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build/bin' + export GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build:/usr/share/gocode + GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build:/usr/share/gocode + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build/src/github.com/xrash/smetrics ]] ++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build/src/github.com/xrash/smetrics + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build/src/github.com/xrash install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build/src' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build/src/github.com' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build/src/github.com/xrash' + ln -fs /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80 /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build/src/github.com/xrash/smetrics + cd /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build/src/github.com/xrash/smetrics + 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.uVP7PN + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build + mkdir /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/BUILDROOT + cd smetrics-039620a656736e6ad994090895784a7af15e0b80 + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build/src/github.com/xrash/smetrics + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/xrash/smetrics -b /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build -o golang-github-xrash-smetrics-devel.file-list -O /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80 -V 0-0.1.mga10 -C 039620a656736e6ad994090895784a7af15e0b80 -p /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Installing: github.com/xrash/smetrics realpath: go.mod: No such file or directory + 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/bin/find-debuginfo -j48 --strict-build-id -m -i --build-id-seed 0-0.1.mga10 --unique-debug-suffix -0-0.1.mga10.x86_64 --unique-debug-src-base golang-github-xrash-smetrics-0-0.1.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-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80 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-xrash-smetrics-0-build/SPECPARTS/rpm-debuginfo.specpart sh: line 4: [: -j8: integer expression expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KvTk6R + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build + cd smetrics-039620a656736e6ad994090895784a7af15e0b80 + '[' 1 -eq 1 ']' + GO_LDFLAGS=' -X github.com/xrash/smetrics/version.commit=039620a656736e6ad994090895784a7af15e0b80 -X github.com/xrash/smetrics/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/xrash/smetrics -b /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build -V 0-0.1.mga10 -C 039620a656736e6ad994090895784a7af15e0b80 -p /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Testing in: /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build/src PATH: /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_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-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/xrash/smetrics/version.commit=039620a656736e6ad994090895784a7af15e0b80 -X github.com/xrash/smetrics/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/xrash/smetrics github.com/xrash/smetrics ? github.com/xrash/smetrics [no test files] github.com/xrash/smetrics/tests PASS ok github.com/xrash/smetrics/tests 0.002s github.com/xrash/smetrics/tests PASS ok github.com/xrash/smetrics/tests 0.003s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-github-xrash-smetrics-devel-0-0.1.mga10.noarch sh: line 4: [: -j8: integer expression expected Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IhELYp + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build + cd smetrics-039620a656736e6ad994090895784a7af15e0b80 + DOCDIR=/home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/BUILDROOT/usr/share/doc/golang-github-xrash-smetrics-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/BUILDROOT/usr/share/doc/golang-github-xrash-smetrics-devel + cp -pr /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/README.md /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/BUILDROOT/usr/share/doc/golang-github-xrash-smetrics-devel + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nj058i + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build + cd smetrics-039620a656736e6ad994090895784a7af15e0b80 + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/BUILDROOT/usr/share/licenses/golang-github-xrash-smetrics-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/BUILDROOT/usr/share/licenses/golang-github-xrash-smetrics-devel + cp -pr /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/LICENSE /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/BUILDROOT/usr/share/licenses/golang-github-xrash-smetrics-devel + RPM_EC=0 ++ jobs -p + exit 0 grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: golang(github.com/xrash/smetrics) = 0-0.1.mga10 golang(github.com/xrash/smetrics)(commit=039620a656736e6ad994090895784a7af15e0b80) = 0-0.1.mga10 golang(github.com/xrash/smetrics/tests) = 0-0.1.mga10 golang(github.com/xrash/smetrics/tests)(commit=039620a656736e6ad994090895784a7af15e0b80) = 0-0.1.mga10 golang-github-xrash-smetrics-devel = 0-0.1.mga10 golang-ipath(github.com/xrash/smetrics) = 0-0.1.mga10 golang-ipath(github.com/xrash/smetrics)(commit=039620a656736e6ad994090895784a7af15e0b80) = 0-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem Processing files: golang-github-xrash-smetrics-debugsource-0-0.1.mga10.x86_64 error: Empty %files file /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/debugsourcefiles.list RPM build errors: Empty %files file /home/pterjan/rpmbuild/BUILD/golang-github-xrash-smetrics-0-build/smetrics-039620a656736e6ad994090895784a7af15e0b80/debugsourcefiles.list I: [iurt_root_command] ERROR: chroot