Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/golang-github-intel-goresctrl.spec'], chrootPath='/var/lib/mock/f41-build-849673-164817/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/golang-github-intel-goresctrl.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1643500800 Wrote: /builddir/build/SRPMS/golang-github-intel-goresctrl-0.2.0-12.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-github-intel-goresctrl.spec'], chrootPath='/var/lib/mock/f41-build-849673-164817/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-github-intel-goresctrl.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1643500800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.PB6FdV + umask 022 + cd /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build + test -d /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build + /usr/bin/rm -rf /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8gmOuE + umask 022 + cd /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build + cd /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build + rm -rf goresctrl-0.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/goresctrl-0.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd goresctrl-0.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/vendor + [[ ! -e /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/_build/bin install: creating directory '/builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/_build' install: creating directory '/builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/_build/bin' + export GOPATH=/builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/_build/src/github.com/intel/goresctrl ]] ++ dirname /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/_build/src/github.com/intel/goresctrl + install -m 0755 -vd /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/_build/src/github.com/intel install: creating directory '/builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/_build/src' install: creating directory '/builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/_build/src/github.com' install: creating directory '/builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/_build/src/github.com/intel' + ln -fs /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0 /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/_build/src/github.com/intel/goresctrl + cd /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/_build/src/github.com/intel/goresctrl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.I5b1q8 + umask 022 + cd /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build + '[' /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build + mkdir /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd goresctrl-0.2.0 + cd /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/_build/src/github.com/intel/goresctrl + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/intel/goresctrl -b /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/_build/bin -s /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/_build -o golang-github-intel-goresctrl-devel.file-list -O /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0 -V 0.2.0-12.fc41 -p /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Installing: github.com/intel/goresctrl + IFS= +++ realpath -e --relative-base=. doc README.md +++ sort -u ++ listfiles_include='README.md doc' ++ echo 'README.md doc' + godocs='README.md doc' + [[ -n README.md doc ]] + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + echo %doc '"doc"' + 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 -j4 --strict-build-id -m -i --build-id-seed 0.2.0-12.fc41 --unique-debug-suffix -0.2.0-12.fc41.riscv64 --unique-debug-src-base golang-github-intel-goresctrl-0.2.0-12.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.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 + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/BUILDROOT Scanned 22 directories and 44 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/SPECPARTS/rpm-debuginfo.specpart Processing files: golang-github-intel-goresctrl-devel-0.2.0-12.fc41.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7tP6Cb + umask 022 + cd /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build + cd goresctrl-0.2.0 + DOCDIR=/builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/BUILDROOT/usr/share/doc/golang-github-intel-goresctrl-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/BUILDROOT/usr/share/doc/golang-github-intel-goresctrl-devel + cp -pr /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/README.md /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/BUILDROOT/usr/share/doc/golang-github-intel-goresctrl-devel + cp -pr /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/doc /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/BUILDROOT/usr/share/doc/golang-github-intel-goresctrl-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.l2lI92 + umask 022 + cd /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build + cd goresctrl-0.2.0 + LICENSEDIR=/builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/BUILDROOT/usr/share/licenses/golang-github-intel-goresctrl-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/BUILDROOT/usr/share/licenses/golang-github-intel-goresctrl-devel + cp -pr /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/LICENSE /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/BUILDROOT/usr/share/licenses/golang-github-intel-goresctrl-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/intel/goresctrl/pkg/blockio) = 0.2.0-12.fc41 golang(github.com/intel/goresctrl/pkg/cgroups) = 0.2.0-12.fc41 golang(github.com/intel/goresctrl/pkg/kubernetes) = 0.2.0-12.fc41 golang(github.com/intel/goresctrl/pkg/log) = 0.2.0-12.fc41 golang(github.com/intel/goresctrl/pkg/rdt) = 0.2.0-12.fc41 golang(github.com/intel/goresctrl/pkg/sst) = 0.2.0-12.fc41 golang(github.com/intel/goresctrl/pkg/testutils) = 0.2.0-12.fc41 golang(github.com/intel/goresctrl/pkg/utils) = 0.2.0-12.fc41 golang(github.com/intel/goresctrl/test/data) = 0.2.0-12.fc41 golang-github-intel-goresctrl-devel = 0.2.0-12.fc41 golang-ipath(github.com/intel/goresctrl) = 0.2.0-12.fc41 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/hashicorp/go-multierror) golang(github.com/opencontainers/runtime-spec/specs-go) golang(github.com/prometheus/client_golang/prometheus) golang(golang.org/x/sys/unix) golang(k8s.io/apimachinery/pkg/api/resource) golang(sigs.k8s.io/yaml) Processing files: golang-github-intel-goresctrl-debugsource-0.2.0-12.fc41.riscv64 RPM build errors: error: Empty %files file /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/debugsourcefiles.list Empty %files file /builddir/build/BUILD/golang-github-intel-goresctrl-0.2.0-build/goresctrl-0.2.0/debugsourcefiles.list Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-github-intel-goresctrl.spec