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/pyelftools.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-221840-16804/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=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/pyelftools.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/pyelftools-0.31-1.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/pyelftools.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-221840-16804/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=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/pyelftools.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VvlwsW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyelftools-0.31 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pyelftools-0.31.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pyelftools-0.31 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm test/external_tools/llvm-dwarfdump + rm test/external_tools/readelf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2ky29F + 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 pyelftools-0.31 + 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' /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running build running build_py creating build creating build/lib creating build/lib/elftools copying elftools/__init__.py -> build/lib/elftools creating build/lib/elftools/elf copying elftools/elf/__init__.py -> build/lib/elftools/elf copying elftools/elf/constants.py -> build/lib/elftools/elf copying elftools/elf/descriptions.py -> build/lib/elftools/elf copying elftools/elf/dynamic.py -> build/lib/elftools/elf copying elftools/elf/elffile.py -> build/lib/elftools/elf copying elftools/elf/enums.py -> build/lib/elftools/elf copying elftools/elf/gnuversions.py -> build/lib/elftools/elf copying elftools/elf/hash.py -> build/lib/elftools/elf copying elftools/elf/notes.py -> build/lib/elftools/elf copying elftools/elf/relocation.py -> build/lib/elftools/elf copying elftools/elf/sections.py -> build/lib/elftools/elf copying elftools/elf/segments.py -> build/lib/elftools/elf copying elftools/elf/structs.py -> build/lib/elftools/elf creating build/lib/elftools/common copying elftools/common/__init__.py -> build/lib/elftools/common copying elftools/common/construct_utils.py -> build/lib/elftools/common copying elftools/common/exceptions.py -> build/lib/elftools/common copying elftools/common/utils.py -> build/lib/elftools/common creating build/lib/elftools/dwarf copying elftools/dwarf/__init__.py -> build/lib/elftools/dwarf copying elftools/dwarf/abbrevtable.py -> build/lib/elftools/dwarf copying elftools/dwarf/aranges.py -> build/lib/elftools/dwarf copying elftools/dwarf/callframe.py -> build/lib/elftools/dwarf copying elftools/dwarf/compileunit.py -> build/lib/elftools/dwarf copying elftools/dwarf/constants.py -> build/lib/elftools/dwarf copying elftools/dwarf/datatype_cpp.py -> build/lib/elftools/dwarf copying elftools/dwarf/descriptions.py -> build/lib/elftools/dwarf copying elftools/dwarf/die.py -> build/lib/elftools/dwarf copying elftools/dwarf/dwarf_expr.py -> build/lib/elftools/dwarf copying elftools/dwarf/dwarf_util.py -> build/lib/elftools/dwarf copying elftools/dwarf/dwarfinfo.py -> build/lib/elftools/dwarf copying elftools/dwarf/enums.py -> build/lib/elftools/dwarf copying elftools/dwarf/lineprogram.py -> build/lib/elftools/dwarf copying elftools/dwarf/locationlists.py -> build/lib/elftools/dwarf copying elftools/dwarf/namelut.py -> build/lib/elftools/dwarf copying elftools/dwarf/ranges.py -> build/lib/elftools/dwarf copying elftools/dwarf/structs.py -> build/lib/elftools/dwarf creating build/lib/elftools/ehabi copying elftools/ehabi/__init__.py -> build/lib/elftools/ehabi copying elftools/ehabi/constants.py -> build/lib/elftools/ehabi copying elftools/ehabi/decoder.py -> build/lib/elftools/ehabi copying elftools/ehabi/ehabiinfo.py -> build/lib/elftools/ehabi copying elftools/ehabi/structs.py -> build/lib/elftools/ehabi creating build/lib/elftools/construct copying elftools/construct/__init__.py -> build/lib/elftools/construct copying elftools/construct/adapters.py -> build/lib/elftools/construct copying elftools/construct/core.py -> build/lib/elftools/construct copying elftools/construct/debug.py -> build/lib/elftools/construct copying elftools/construct/macros.py -> build/lib/elftools/construct creating build/lib/elftools/construct/lib copying elftools/construct/lib/__init__.py -> build/lib/elftools/construct/lib copying elftools/construct/lib/binary.py -> build/lib/elftools/construct/lib copying elftools/construct/lib/bitstream.py -> build/lib/elftools/construct/lib copying elftools/construct/lib/container.py -> build/lib/elftools/construct/lib copying elftools/construct/lib/hex.py -> build/lib/elftools/construct/lib copying elftools/construct/lib/py3compat.py -> build/lib/elftools/construct/lib copying elftools/py.typed -> build/lib/elftools running build_scripts creating build/scripts-3.11 copying and adjusting scripts/readelf.py -> build/scripts-3.11 changing mode of build/scripts-3.11/readelf.py from 644 to 755 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VN4G9d + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64 + cd pyelftools-0.31 + 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/pyelftools-0.31-1.ocs23.loongarch64 /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr creating /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib creating /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11 creating /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools copying build/lib/elftools/__init__.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools creating /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf copying build/lib/elftools/elf/__init__.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf copying build/lib/elftools/elf/constants.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf copying build/lib/elftools/elf/descriptions.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf copying build/lib/elftools/elf/dynamic.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf copying build/lib/elftools/elf/elffile.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf copying build/lib/elftools/elf/enums.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf copying build/lib/elftools/elf/gnuversions.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf copying build/lib/elftools/elf/hash.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf copying build/lib/elftools/elf/notes.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf copying build/lib/elftools/elf/relocation.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf copying build/lib/elftools/elf/sections.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf copying build/lib/elftools/elf/segments.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf copying build/lib/elftools/elf/structs.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf creating /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/common copying build/lib/elftools/common/__init__.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/common copying build/lib/elftools/common/construct_utils.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/common copying build/lib/elftools/common/exceptions.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/common copying build/lib/elftools/common/utils.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/common creating /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf copying build/lib/elftools/dwarf/__init__.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf copying build/lib/elftools/dwarf/abbrevtable.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf copying build/lib/elftools/dwarf/aranges.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf copying build/lib/elftools/dwarf/callframe.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf copying build/lib/elftools/dwarf/compileunit.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf copying build/lib/elftools/dwarf/constants.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf copying build/lib/elftools/dwarf/datatype_cpp.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf copying build/lib/elftools/dwarf/descriptions.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf copying build/lib/elftools/dwarf/die.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf copying build/lib/elftools/dwarf/dwarf_expr.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf copying build/lib/elftools/dwarf/dwarf_util.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf copying build/lib/elftools/dwarf/dwarfinfo.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf copying build/lib/elftools/dwarf/enums.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf copying build/lib/elftools/dwarf/lineprogram.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf copying build/lib/elftools/dwarf/locationlists.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf copying build/lib/elftools/dwarf/namelut.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf copying build/lib/elftools/dwarf/ranges.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf copying build/lib/elftools/dwarf/structs.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf creating /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/ehabi copying build/lib/elftools/ehabi/__init__.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/ehabi copying build/lib/elftools/ehabi/constants.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/ehabi copying build/lib/elftools/ehabi/decoder.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/ehabi copying build/lib/elftools/ehabi/ehabiinfo.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/ehabi copying build/lib/elftools/ehabi/structs.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/ehabi creating /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct copying build/lib/elftools/construct/__init__.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct copying build/lib/elftools/construct/adapters.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct copying build/lib/elftools/construct/core.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct copying build/lib/elftools/construct/debug.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct copying build/lib/elftools/construct/macros.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct creating /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct/lib copying build/lib/elftools/construct/lib/__init__.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct/lib copying build/lib/elftools/construct/lib/binary.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct/lib copying build/lib/elftools/construct/lib/bitstream.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct/lib copying build/lib/elftools/construct/lib/container.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct/lib copying build/lib/elftools/construct/lib/hex.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct/lib copying build/lib/elftools/construct/lib/py3compat.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct/lib copying build/lib/elftools/py.typed -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf/constants.py to constants.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf/descriptions.py to descriptions.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf/dynamic.py to dynamic.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf/elffile.py to elffile.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf/enums.py to enums.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf/gnuversions.py to gnuversions.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf/hash.py to hash.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf/notes.py to notes.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf/relocation.py to relocation.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf/sections.py to sections.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf/segments.py to segments.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/elf/structs.py to structs.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/common/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/common/construct_utils.py to construct_utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/common/exceptions.py to exceptions.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/common/utils.py to utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf/abbrevtable.py to abbrevtable.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf/aranges.py to aranges.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf/callframe.py to callframe.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf/compileunit.py to compileunit.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf/constants.py to constants.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf/datatype_cpp.py to datatype_cpp.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf/descriptions.py to descriptions.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf/die.py to die.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf/dwarf_expr.py to dwarf_expr.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf/dwarf_util.py to dwarf_util.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf/dwarfinfo.py to dwarfinfo.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf/enums.py to enums.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf/lineprogram.py to lineprogram.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf/locationlists.py to locationlists.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf/namelut.py to namelut.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf/ranges.py to ranges.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/dwarf/structs.py to structs.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/ehabi/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/ehabi/constants.py to constants.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/ehabi/decoder.py to decoder.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/ehabi/ehabiinfo.py to ehabiinfo.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/ehabi/structs.py to structs.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct/adapters.py to adapters.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct/core.py to core.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct/debug.py to debug.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct/macros.py to macros.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct/lib/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct/lib/binary.py to binary.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct/lib/bitstream.py to bitstream.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct/lib/container.py to container.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct/lib/hex.py to hex.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/elftools/construct/lib/py3compat.py to py3compat.cpython-311.pyc writing byte-compilation script '/tmp/tmpwg89icen.py' /usr/bin/python3 /tmp/tmpwg89icen.py removing /tmp/tmpwg89icen.py running install_egg_info running egg_info creating pyelftools.egg-info writing pyelftools.egg-info/PKG-INFO writing dependency_links to pyelftools.egg-info/dependency_links.txt writing top-level names to pyelftools.egg-info/top_level.txt writing manifest file 'pyelftools.egg-info/SOURCES.txt' reading manifest file 'pyelftools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no files found matching 'tox.ini' adding license file 'LICENSE' writing manifest file 'pyelftools.egg-info/SOURCES.txt' Copying pyelftools.egg-info to /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11/site-packages/pyelftools-0.31-py3.11.egg-info running install_scripts creating /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/bin copying build/scripts-3.11/readelf.py -> /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/bin changing mode of /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/bin/readelf.py to 755 + rm -rfv /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/bin/__pycache__ + pushd /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/bin ~/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/bin ~/build/BUILD/pyelftools-0.31 + mv readelf.py pyreadelf-3.11 + ln -s pyreadelf-3.11 pyreadelf-3 + ln -s pyreadelf-3 pyreadelf + popd ~/build/BUILD/pyelftools-0.31 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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/pyelftools-0.31-1.ocs23.loongarch64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.z9yEla + 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 pyelftools-0.31 + /usr/bin/python3 test/run_all_unittests.py ........................................................................................................... ---------------------------------------------------------------------- Ran 107 tests in 3.655s OK + /usr/bin/python3 test/run_examples_test.py Example './examples/dwarf_decode_address.py' Example './examples/dwarf_die_tree.py' Example './examples/dwarf_lineprogram_filenames.py' Example './examples/dwarf_location_info.py' Example './examples/dwarf_pubnames_types.py' Example './examples/dwarf_range_lists.py' Example './examples/elf_low_high_api.py' Example './examples/elf_notes.py' Example './examples/elf_relocations.py' Example './examples/elf_show_debug_sections.py' Example './examples/elfclass_address_size.py' Example './examples/examine_dwarf_info.py' Conclusion: SUCCESS + /usr/bin/python3 test/run_readelf_tests.py Test file 'test/testfiles_for_readelf/aarch64-pac-bti.elf' Test file 'test/testfiles_for_readelf/aarch64-relocs-le.o.elf' Test file 'test/testfiles_for_readelf/angr-eh_frame.elf' Test file 'test/testfiles_for_readelf/core_simple64.elf' Test file 'test/testfiles_for_readelf/cuv5_x86-64_gcc.so.elf' Test file 'test/testfiles_for_readelf/dt_flags.elf' Test file 'test/testfiles_for_readelf/dwarf_gnuops4.so.elf' Test file 'test/testfiles_for_readelf/dwarf_lineprogramv5.elf' Test file 'test/testfiles_for_readelf/dwarf_test_versions_mix.elf' .......................FAIL ....for file test/testfiles_for_readelf/dwarf_test_versions_mix.elf ....for option "--debug-dump=Ranges" ....Output #1 is readelf, Output #2 is pyelftools @@ Number of lines different: 28 vs 25 @@ Output #1 dumped to file: /tmp/out-1-dwarf_test_versions_mix.elf---debug-dump=Ranges-z66vbwo9.stdout @@ Output #2 dumped to file: /tmp/out-2-dwarf_test_versions_mix.elf---debug-dump=Ranges-jyefisz8.stdout Conclusion: FAIL + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-pyelftools-0.31-1.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BRa6DR + umask 022 + cd /builddir/build/BUILD + cd pyelftools-0.31 + DOCDIR=/builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/share/doc/python3-pyelftools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/share/doc/python3-pyelftools + cp -pr CHANGES /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/share/doc/python3-pyelftools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.lVRCan + umask 022 + cd /builddir/build/BUILD + cd pyelftools-0.31 + LICENSEDIR=/builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/share/licenses/python3-pyelftools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/share/licenses/python3-pyelftools + cp -pr LICENSE /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64/usr/share/licenses/python3-pyelftools + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(python3-construct) = 2.6 python-pyelftools = 0.31-1.ocs23 python3-pyelftools = 0.31-1.ocs23 python3.11-pyelftools = 0.31-1.ocs23 python3.11dist(pyelftools) = 0.31 python3dist(pyelftools) = 0.31 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 Obsoletes: python3.11-pyelftools < 0.31-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pyelftools-0.31-1.ocs23.loongarch64 Wrote: /builddir/build/RPMS/python3-pyelftools-0.31-1.ocs23.noarch.rpm Child return code was: 0