Mock Version: 3.5
Mock Version: 3.5
Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/iotop.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-185427-12776/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffe2e25c60>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: loongarch64
Building for target loongarch64
Wrote: /builddir/build/SRPMS/iotop-0.6-6.ocs23.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/iotop.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-185427-12776/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffe2e25c60>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: loongarch64
Building for target loongarch64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UTlJNL
+ 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.A6B45A
+ 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'
/builddir/build/BUILD/iotop-0.6/setup.py:3: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.core import setup, Extension
running build
running build_py
creating build
creating build/lib.linux-loongarch64-3.11
creating build/lib.linux-loongarch64-3.11/iotop
copying iotop/genetlink.py -> build/lib.linux-loongarch64-3.11/iotop
copying iotop/ioprio.py -> build/lib.linux-loongarch64-3.11/iotop
copying iotop/__init__.py -> build/lib.linux-loongarch64-3.11/iotop
copying iotop/vmstat.py -> build/lib.linux-loongarch64-3.11/iotop
copying iotop/netlink.py -> build/lib.linux-loongarch64-3.11/iotop
copying iotop/version.py -> build/lib.linux-loongarch64-3.11/iotop
copying iotop/ui.py -> build/lib.linux-loongarch64-3.11/iotop
copying iotop/data.py -> build/lib.linux-loongarch64-3.11/iotop
running build_ext
building 'iotop._ioprio' extension
creating build/temp.linux-loongarch64-3.11
creating build/temp.linux-loongarch64-3.11/iotop
gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 -fPIC -I/usr/include/python3.11 -c iotop/_ioprio.c -o build/temp.linux-loongarch64-3.11/iotop/_ioprio.o
gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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 build/temp.linux-loongarch64-3.11/iotop/_ioprio.o -L/usr/lib64 -o build/lib.linux-loongarch64-3.11/iotop/_ioprio.cpython-311-loongarch64-linux-gnu.so
running build_scripts
creating build/scripts-3.11
copying and adjusting sbin/iotop -> build/scripts-3.11
changing mode of build/scripts-3.11/iotop from 644 to 755
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HlfKu5
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64
++ dirname /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64
+ 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-6.ocs23.loongarch64
/builddir/build/BUILD/iotop-0.6/setup.py:3: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.core import setup, Extension
running install
running install_lib
creating /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr
creating /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64
creating /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11
creating /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages
creating /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop
copying build/lib.linux-loongarch64-3.11/iotop/genetlink.py -> /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop
copying build/lib.linux-loongarch64-3.11/iotop/ioprio.py -> /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop
copying build/lib.linux-loongarch64-3.11/iotop/__init__.py -> /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop
copying build/lib.linux-loongarch64-3.11/iotop/vmstat.py -> /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop
copying build/lib.linux-loongarch64-3.11/iotop/netlink.py -> /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop
copying build/lib.linux-loongarch64-3.11/iotop/version.py -> /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop
copying build/lib.linux-loongarch64-3.11/iotop/ui.py -> /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop
copying build/lib.linux-loongarch64-3.11/iotop/data.py -> /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop
copying build/lib.linux-loongarch64-3.11/iotop/_ioprio.cpython-311-loongarch64-linux-gnu.so -> /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop
byte-compiling /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop/genetlink.py to genetlink.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop/ioprio.py to ioprio.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop/__init__.py to __init__.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop/vmstat.py to vmstat.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop/netlink.py to netlink.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop/version.py to version.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop/ui.py to ui.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop/data.py to data.cpython-311.pyc
writing byte-compilation script '/tmp/tmpdspgb5ts.py'
/usr/bin/python3 -Wignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning /tmp/tmpdspgb5ts.py
removing /tmp/tmpdspgb5ts.py
running install_scripts
creating /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/sbin
copying build/scripts-3.11/iotop -> /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/sbin
changing mode of /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/sbin/iotop to 755
running install_data
creating /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/share
creating /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/share/man
creating /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/share/man/man8
copying iotop.8 -> /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/share/man/man8
running install_egg_info
Writing /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop-0.6-py3.11.egg-info
+ rm -rfv /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/bin/__pycache__
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.6-6.ocs23 --unique-debug-suffix -0.6-6.ocs23.loongarch64 --unique-debug-src-base iotop-0.6-6.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/iotop-0.6
extracting debug info from /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib64/python3.11/site-packages/iotop/_ioprio.cpython-311-loongarch64-linux-gnu.so
3 blocks
+ /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-6.ocs23.loongarch64/usr/lib64/python3.11 using python3.11
Bytecompiling .py files below /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/lib/debug/usr/lib64/python3.11 using python3.11
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Processing files: iotop-0.6-6.ocs23.loongarch64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.32fnSw
+ umask 022
+ cd /builddir/build/BUILD
+ cd iotop-0.6
+ DOCDIR=/builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/share/doc/iotop
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/share/doc/iotop
+ cp -pr NEWS /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/share/doc/iotop
+ cp -pr THANKS /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/share/doc/iotop
+ cp -pr README /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/share/doc/iotop
+ cp -pr ChangeLog /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/share/doc/iotop
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.dFkb6k
+ umask 022
+ cd /builddir/build/BUILD
+ cd iotop-0.6
+ LICENSEDIR=/builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/share/licenses/iotop
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/share/licenses/iotop
+ cp -pr COPYING /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64/usr/share/licenses/iotop
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: iotop = 0.6-6.ocs23 iotop(loongarch-64) = 0.6-6.ocs23 python3.11dist(iotop) = 0.6 python3dist(iotop) = 0.6
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/python3 python(abi) = 3.11 rtld(GNU_HASH)
Processing files: iotop-debugsource-0.6-6.ocs23.loongarch64
Provides: iotop-debugsource = 0.6-6.ocs23 iotop-debugsource(loongarch-64) = 0.6-6.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: iotop-debuginfo-0.6-6.ocs23.loongarch64
Provides: debuginfo(build-id) = 1afc356eeaf0fbce4f49a2791cc5aba95e4deada iotop-debuginfo = 0.6-6.ocs23 iotop-debuginfo(loongarch-64) = 0.6-6.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: iotop-debugsource(loongarch-64) = 0.6-6.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/iotop-0.6-6.ocs23.loongarch64
Wrote: /builddir/build/RPMS/iotop-debuginfo-0.6-6.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/iotop-debugsource-0.6-6.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/iotop-0.6-6.ocs23.loongarch64.rpm
Child return code was: 0