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/python-regex.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-240954-22024/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 0xffe21b9c60>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/python-regex.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/python-regex-2023.6.3-2.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/python-regex.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-240954-22024/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 0xffe21b9c60>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/python-regex.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.2MzSJ6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf regex-2023.6.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/regex-2023.6.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd regex-2023.6.3 + /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.ebmG0P + 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 regex-2023.6.3 + 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' running build running build_py creating build creating build/lib.linux-loongarch64-cpython-311 creating build/lib.linux-loongarch64-cpython-311/regex copying regex_3/__init__.py -> build/lib.linux-loongarch64-cpython-311/regex copying regex_3/regex.py -> build/lib.linux-loongarch64-cpython-311/regex copying regex_3/_regex_core.py -> build/lib.linux-loongarch64-cpython-311/regex copying regex_3/test_regex.py -> build/lib.linux-loongarch64-cpython-311/regex running build_ext building 'regex._regex' extension creating build/temp.linux-loongarch64-cpython-311 creating build/temp.linux-loongarch64-cpython-311/regex_3 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 regex_3/_regex.c -o build/temp.linux-loongarch64-cpython-311/regex_3/_regex.o In file included from /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from regex_3/_regex.c:50: In function ‘PyUnicode_GET_LENGTH’, inlined from ‘unicode_slice’ at regex_3/_regex.c:18589:14, inlined from ‘get_slice’ at regex_3/_regex.c:18617:16, inlined from ‘state_get_group’ at regex_3/_regex.c:20522:12, inlined from ‘pattern_findall’ at regex_3/_regex.c:22286:21: /usr/include/python3.11/cpython/unicodeobject.h:360:35: warning: array subscript ‘struct PyASCIIObject[0]’ is partly outside array bounds of ‘struct PyObject[1]’ [-Warray-bounds] 360 | return _PyASCIIObject_CAST(op)->length; | ^ In file included from /usr/include/python3.11/Python.h:44: /usr/include/python3.11/object.h: In function ‘pattern_findall’: /usr/include/python3.11/object.h:646:22: note: object ‘_Py_NoneStruct’ of size 16 646 | PyAPI_DATA(PyObject) _Py_NoneStruct; /* Don't use this directly */ | ^~~~~~~~~~~~~~ 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 regex_3/_regex_unicode.c -o build/temp.linux-loongarch64-cpython-311/regex_3/_regex_unicode.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-cpython-311/regex_3/_regex.o build/temp.linux-loongarch64-cpython-311/regex_3/_regex_unicode.o -L/usr/lib64 -o build/lib.linux-loongarch64-cpython-311/regex/_regex.cpython-311-loongarch64-linux-gnu.so + rst2html docs/UnicodeProperties.rst + rst2html README.rst + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.N34nBL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64 + cd regex-2023.6.3 + 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/python-regex-2023.6.3-2.ocs23.loongarch64 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/python-regex-2023.6.3-2.ocs23.loongarch64/usr creating /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/lib64 creating /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/lib64/python3.11/site-packages creating /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/lib64/python3.11/site-packages/regex copying build/lib.linux-loongarch64-cpython-311/regex/__init__.py -> /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/lib64/python3.11/site-packages/regex copying build/lib.linux-loongarch64-cpython-311/regex/regex.py -> /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/lib64/python3.11/site-packages/regex copying build/lib.linux-loongarch64-cpython-311/regex/_regex_core.py -> /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/lib64/python3.11/site-packages/regex copying build/lib.linux-loongarch64-cpython-311/regex/test_regex.py -> /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/lib64/python3.11/site-packages/regex copying build/lib.linux-loongarch64-cpython-311/regex/_regex.cpython-311-loongarch64-linux-gnu.so -> /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/lib64/python3.11/site-packages/regex byte-compiling /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/lib64/python3.11/site-packages/regex/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/lib64/python3.11/site-packages/regex/regex.py to regex.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/lib64/python3.11/site-packages/regex/_regex_core.py to _regex_core.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/lib64/python3.11/site-packages/regex/test_regex.py to test_regex.cpython-311.pyc writing byte-compilation script '/tmp/tmp7o1f6tg0.py' /usr/bin/python3 /tmp/tmp7o1f6tg0.py removing /tmp/tmp7o1f6tg0.py running install_egg_info running egg_info writing regex.egg-info/PKG-INFO writing dependency_links to regex.egg-info/dependency_links.txt writing top-level names to regex.egg-info/top_level.txt reading manifest file 'regex.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'regex.egg-info/SOURCES.txt' Copying regex.egg-info to /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/lib64/python3.11/site-packages/regex-2023.6.3-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2023.6.3-2.ocs23 --unique-debug-suffix -2023.6.3-2.ocs23.loongarch64 --unique-debug-src-base python-regex-2023.6.3-2.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/regex-2023.6.3 extracting debug info from /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/lib64/python3.11/site-packages/regex/_regex.cpython-311-loongarch64-linux-gnu.so 5235 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/python-regex-2023.6.3-2.ocs23.loongarch64/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/lib/debug/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: python3-regex-2023.6.3-2.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0wopJH + umask 022 + cd /builddir/build/BUILD + cd regex-2023.6.3 + DOCDIR=/builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/share/doc/python3-regex + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/share/doc/python3-regex + cp -pr README.html /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/share/doc/python3-regex + cp -pr docs/Features.html /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/share/doc/python3-regex + cp -pr docs/UnicodeProperties.html /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64/usr/share/doc/python3-regex + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-regex = 2023.6.3-2.ocs23 python3-regex = 2023.6.3-2.ocs23 python3-regex(loongarch-64) = 2023.6.3-2.ocs23 python3.11-regex = 2023.6.3-2.ocs23 python3.11dist(regex) = 2023.6.3 python3dist(regex) = 2023.6.3 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: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) python(abi) = 3.11 rtld(GNU_HASH) Obsoletes: python3.11-regex < 2023.6.3-2.ocs23 Processing files: python-regex-debugsource-2023.6.3-2.ocs23.loongarch64 Provides: python-regex-debugsource = 2023.6.3-2.ocs23 python-regex-debugsource(loongarch-64) = 2023.6.3-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-regex-debuginfo-2023.6.3-2.ocs23.loongarch64 Provides: debuginfo(build-id) = fc716b9b79785c39180dc28018b812d2839d5a56 python-regex-debuginfo = 2023.6.3-2.ocs23 python3-regex-debuginfo = 2023.6.3-2.ocs23 python3-regex-debuginfo(loongarch-64) = 2023.6.3-2.ocs23 python3.11-regex-debuginfo = 2023.6.3-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-regex-debugsource(loongarch-64) = 2023.6.3-2.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-regex-2023.6.3-2.ocs23.loongarch64 Wrote: /builddir/build/RPMS/python-regex-debugsource-2023.6.3-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/python3-regex-2023.6.3-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/python3-regex-debuginfo-2023.6.3-2.ocs23.loongarch64.rpm Child return code was: 0