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-contrib-opencensus-exporter-ocagent-0.7.1-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.V7mgYS + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build + test -d /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-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.sFynTg + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build + rm -rf opencensus-go-exporter-ocagent-0.7.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/opencensus-go-exporter-ocagent-0.7.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd opencensus-go-exporter-ocagent-0.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/vendor + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build/bin ]] + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build/bin install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build/bin' + export GOPATH=/home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build:/usr/share/gocode + GOPATH=/home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build:/usr/share/gocode + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build/src/contrib.go.opencensus.io/exporter/ocagent ]] ++ dirname /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build/src/contrib.go.opencensus.io/exporter/ocagent + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build/src/contrib.go.opencensus.io/exporter install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build/src' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build/src/contrib.go.opencensus.io' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build/src/contrib.go.opencensus.io/exporter' + ln -fs /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1 /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build/src/contrib.go.opencensus.io/exporter/ocagent + cd /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build/src/contrib.go.opencensus.io/exporter/ocagent ++ find . -iname '*.go' -type f + sed -i 's|github.com/census-instrumentation/opencensus-proto|github.com/census-instrumentation/opencensus-proto-0.2|' ./ocagent.go ./connection.go ./example_test.go ./example/main.go ./load_test.go ./options.go ./span_config.go ./transform_stats_to_metrics_test.go ./span_config_test.go ./mock_agent_test.go ./resource_detector_test.go ./viewdata_to_metrics_test.go ./transform_spans_test.go ./ocagent_test.go ./transform_stats_to_metrics.go ./nodeinfo.go ./common.go ./version.go ./transform_spans.go + 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.GPDb0h + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build + mkdir /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/BUILDROOT + cd opencensus-go-exporter-ocagent-0.7.1 + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build/src/contrib.go.opencensus.io/exporter/ocagent + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i contrib.go.opencensus.io/exporter/ocagent -b /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build -o golang-contrib-opencensus-exporter-ocagent-devel.file-list -O /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1 -V 0.7.1-3.mga10 -T 0.7.1 -p /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Installing: contrib.go.opencensus.io/exporter/ocagent + IFS= +++ realpath -e --relative-base=. example CONTRIBUTING.md README.md +++ sort -u ++ listfiles_include='CONTRIBUTING.md README.md example' ++ echo 'CONTRIBUTING.md README.md example' + godocs='CONTRIBUTING.md README.md example' + [[ -n CONTRIBUTING.md README.md example ]] + IFS= + read -r f + echo %doc '"CONTRIBUTING.md"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + echo %doc '"example"' + 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.7.1-3.mga10 --unique-debug-suffix -0.7.1-3.mga10.x86_64 --unique-debug-src-base golang-contrib-opencensus-exporter-ocagent-0.7.1-3.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1 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-contrib-opencensus-exporter-ocagent-0.7.1-build/SPECPARTS/rpm-debuginfo.specpart sh: line 4: [: -j8: integer expression expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XDyNO0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build + cd opencensus-go-exporter-ocagent-0.7.1 + '[' 1 -eq 1 ']' + GO_LDFLAGS=' -X contrib.go.opencensus.io/exporter/ocagent/version.tag=0.7.1 -X contrib.go.opencensus.io/exporter/ocagent/version=0.7.1' + 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 contrib.go.opencensus.io/exporter/ocagent -b /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build -V 0.7.1-3.mga10 -T 0.7.1 -p /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Testing in: /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build/src PATH: /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_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-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X contrib.go.opencensus.io/exporter/ocagent/version.tag=0.7.1 -X contrib.go.opencensus.io/exporter/ocagent/version=0.7.1 -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: contrib.go.opencensus.io/exporter/ocagent contrib.go.opencensus.io/exporter/ocagent PASS ok contrib.go.opencensus.io/exporter/ocagent 3.877s contrib.go.opencensus.io/exporter/ocagent PASS ok contrib.go.opencensus.io/exporter/ocagent 3.672s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-contrib-opencensus-exporter-ocagent-devel-0.7.1-3.mga10.noarch sh: line 4: [: -j8: integer expression expected Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bqy6vA + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build + cd opencensus-go-exporter-ocagent-0.7.1 + DOCDIR=/home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/BUILDROOT/usr/share/doc/golang-contrib-opencensus-exporter-ocagent-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/BUILDROOT/usr/share/doc/golang-contrib-opencensus-exporter-ocagent-devel + cp -pr /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/CONTRIBUTING.md /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/BUILDROOT/usr/share/doc/golang-contrib-opencensus-exporter-ocagent-devel + cp -pr /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/README.md /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/BUILDROOT/usr/share/doc/golang-contrib-opencensus-exporter-ocagent-devel + cp -pr /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/example /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/BUILDROOT/usr/share/doc/golang-contrib-opencensus-exporter-ocagent-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.JHquAw + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build + cd opencensus-go-exporter-ocagent-0.7.1 + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/BUILDROOT/usr/share/licenses/golang-contrib-opencensus-exporter-ocagent-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/BUILDROOT/usr/share/licenses/golang-contrib-opencensus-exporter-ocagent-devel + cp -pr /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/LICENSE /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/BUILDROOT/usr/share/licenses/golang-contrib-opencensus-exporter-ocagent-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(contrib.go.opencensus.io/exporter/ocagent) = 0.7.1-3.mga10 golang(contrib.go.opencensus.io/exporter/ocagent)(tag=0.7.1) = 0.7.1-3.mga10 golang-contrib-opencensus-exporter-ocagent-devel = 0.7.1-3.mga10 golang-ipath(contrib.go.opencensus.io/exporter/ocagent) = 0.7.1-3.mga10 golang-ipath(contrib.go.opencensus.io/exporter/ocagent)(tag=0.7.1) = 0.7.1-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem golang(github.com/census-instrumentation/opencensus-proto-0.2/gen-go/agent/common/v1) golang(github.com/census-instrumentation/opencensus-proto-0.2/gen-go/agent/metrics/v1) golang(github.com/census-instrumentation/opencensus-proto-0.2/gen-go/agent/trace/v1) golang(github.com/census-instrumentation/opencensus-proto-0.2/gen-go/metrics/v1) golang(github.com/census-instrumentation/opencensus-proto-0.2/gen-go/resource/v1) golang(github.com/census-instrumentation/opencensus-proto-0.2/gen-go/trace/v1) golang(github.com/golang/protobuf/ptypes/timestamp) golang(go.opencensus.io) golang(go.opencensus.io/plugin/ocgrpc) golang(go.opencensus.io/resource) golang(go.opencensus.io/stats) golang(go.opencensus.io/stats/view) golang(go.opencensus.io/tag) golang(go.opencensus.io/trace) golang(go.opencensus.io/trace/tracestate) golang(google.golang.org/api/support/bundler) golang(google.golang.org/grpc) golang(google.golang.org/grpc/credentials) golang(google.golang.org/grpc/metadata) Processing files: golang-contrib-opencensus-exporter-ocagent-debugsource-0.7.1-3.mga10.x86_64 error: Empty %files file /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/debugsourcefiles.list RPM build errors: Empty %files file /home/pterjan/rpmbuild/BUILD/golang-contrib-opencensus-exporter-ocagent-0.7.1-build/opencensus-go-exporter-ocagent-0.7.1/debugsourcefiles.list I: [iurt_root_command] ERROR: chroot