Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/iotop.spec'], chrootPath='/var/lib/mock/dist-ocs23-riscv-rva23-build-331090-35818/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=432000uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/iotop.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 Wrote: /builddir/build/SRPMS/iotop-0.6-8.ocs23.rva23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/iotop.spec'], chrootPath='/var/lib/mock/dist-ocs23-riscv-rva23-build-331090-35818/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=432000uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/iotop.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DaEYfd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf iotop-0.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/iotop-0.6.gita14256a3.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd iotop-0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GUtno7 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd iotop-0.6 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BPZgs2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64 ++ dirname /builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64 + cd iotop-0.6 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64 /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() + rm -rfv /builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.6-8.ocs23.rva23 --unique-debug-suffix -0.6-8.ocs23.rva23.riscv64 --unique-debug-src-base iotop-0.6-8.ocs23.rva23.riscv64 -S debugsourcefiles.list /builddir/build/BUILD/iotop-0.6 find-debuginfo: starting Extracting debug info from 1 files Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/iotop-0.6-8.ocs23.rva23.riscv64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64/usr/lib/debug/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: iotop-0.6-8.ocs23.rva23.riscv64 error: File not found: /builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64/usr/sbin/iotop Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cowQUm + umask 022 + cd /builddir/build/BUILD + cd iotop-0.6 + DOCDIR=/builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64/usr/share/doc/iotop + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64/usr/share/doc/iotop + cp -pr NEWS /builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64/usr/share/doc/iotop + cp -pr THANKS /builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64/usr/share/doc/iotop + cp -pr README /builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64/usr/share/doc/iotop + cp -pr ChangeLog /builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64/usr/share/doc/iotop + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.GtBUqi + umask 022 + cd /builddir/build/BUILD + cd iotop-0.6 + LICENSEDIR=/builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64/usr/share/licenses/iotop + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64/usr/share/licenses/iotop + cp -pr COPYING /builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64/usr/share/licenses/iotop + RPM_EC=0 ++ jobs -p + exit 0 RPM build errors: File not found: /builddir/build/BUILDROOT/iotop-0.6-8.ocs23.rva23.riscv64/usr/sbin/iotop Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/iotop.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/iotop.spec'