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 x86_64 --nodeps /builddir/build/SPECS/python-markupsafe.spec'], chrootPath='/var/lib/mock/dist-an23-build-309091-67129/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-markupsafe.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658275200 Wrote: /builddir/build/SRPMS/python-markupsafe-0.23-19.0.1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-markupsafe.spec'], chrootPath='/var/lib/mock/dist-an23-build-309091-67129/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-markupsafe.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nk5w7d + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf MarkupSafe-0.23 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/MarkupSafe-0.23.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd MarkupSafe-0.23 + /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.X9xfLE + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 MarkupSafe-0.23 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/markupsafe copying markupsafe/__init__.py -> build/lib.linux-x86_64-cpython-310/markupsafe copying markupsafe/_compat.py -> build/lib.linux-x86_64-cpython-310/markupsafe copying markupsafe/_constants.py -> build/lib.linux-x86_64-cpython-310/markupsafe copying markupsafe/_native.py -> build/lib.linux-x86_64-cpython-310/markupsafe copying markupsafe/tests.py -> build/lib.linux-x86_64-cpython-310/markupsafe running egg_info writing MarkupSafe.egg-info/PKG-INFO writing dependency_links to MarkupSafe.egg-info/dependency_links.txt writing top-level names to MarkupSafe.egg-info/top_level.txt reading manifest file 'MarkupSafe.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'MarkupSafe.egg-info/SOURCES.txt' copying markupsafe/_speedups.c -> build/lib.linux-x86_64-cpython-310/markupsafe running build_ext building 'markupsafe._speedups' extension creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/markupsafe gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.10 -c markupsafe/_speedups.c -o build/temp.linux-x86_64-cpython-310/markupsafe/_speedups.o markupsafe/_speedups.c: In function ‘init_constants’: markupsafe/_speedups.c:33:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 33 | escaped_chars_repl['"'] = UNICHR("""); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from markupsafe/_speedups.c:12: /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:34:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 34 | escaped_chars_repl['\''] = UNICHR("'"); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:35:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 35 | escaped_chars_repl['&'] = UNICHR("&"); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:36:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 36 | escaped_chars_repl['<'] = UNICHR("<"); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:37:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 37 | escaped_chars_repl['>'] = UNICHR(">"); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c: In function ‘escape_unicode’: markupsafe/_speedups.c:59:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 59 | Py_UNICODE *inp = PyUnicode_AS_UNICODE(in); | ^~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:60:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 60 | const Py_UNICODE *inp_end = PyUnicode_AS_UNICODE(in) + PyUnicode_GET_SIZE(in); | ^~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:60:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 60 | const Py_UNICODE *inp_end = PyUnicode_AS_UNICODE(in) + PyUnicode_GET_SIZE(in); | ^~~~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:60:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 60 | const Py_UNICODE *inp_end = PyUnicode_AS_UNICODE(in) + PyUnicode_GET_SIZE(in); | ^~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:60:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 60 | const Py_UNICODE *inp_end = PyUnicode_AS_UNICODE(in) + PyUnicode_GET_SIZE(in); | ^~~~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:80:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations] 80 | out = (PyUnicodeObject*)PyUnicode_FromUnicode(NULL, PyUnicode_GET_SIZE(in) + delta); | ^~~ /usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:80:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 80 | out = (PyUnicodeObject*)PyUnicode_FromUnicode(NULL, PyUnicode_GET_SIZE(in) + delta); | ^~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:80:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 80 | out = (PyUnicodeObject*)PyUnicode_FromUnicode(NULL, PyUnicode_GET_SIZE(in) + delta); | ^~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:80:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 80 | out = (PyUnicodeObject*)PyUnicode_FromUnicode(NULL, PyUnicode_GET_SIZE(in) + delta); | ^~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:84:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 84 | outp = PyUnicode_AS_UNICODE(out); | ^~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:85:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 85 | inp = PyUnicode_AS_UNICODE(in); | ^~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:100:25: warning: ‘Py_UNICODE_COPY’ is deprecated [-Wdeprecated-declarations] 100 | Py_UNICODE_COPY(outp, inp, next_escp-inp); | ^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:54:1: note: declared here 54 | Py_UNICODE_COPY(Py_UNICODE *target, const Py_UNICODE *source, Py_ssize_t length) { | ^~~~~~~~~~~~~~~ markupsafe/_speedups.c:105:17: warning: ‘Py_UNICODE_COPY’ is deprecated [-Wdeprecated-declarations] 105 | Py_UNICODE_COPY(outp, escaped_chars_repl[*next_escp], delta_len); | ^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:54:1: note: declared here 54 | Py_UNICODE_COPY(Py_UNICODE *target, const Py_UNICODE *source, Py_ssize_t length) { | ^~~~~~~~~~~~~~~ markupsafe/_speedups.c:111:17: warning: ‘Py_UNICODE_COPY’ is deprecated [-Wdeprecated-declarations] 111 | Py_UNICODE_COPY(outp, inp, PyUnicode_GET_SIZE(in) - (inp - PyUnicode_AS_UNICODE(in))); | ^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:54:1: note: declared here 54 | Py_UNICODE_COPY(Py_UNICODE *target, const Py_UNICODE *source, Py_ssize_t length) { | ^~~~~~~~~~~~~~~ markupsafe/_speedups.c:111:17: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 111 | Py_UNICODE_COPY(outp, inp, PyUnicode_GET_SIZE(in) - (inp - PyUnicode_AS_UNICODE(in))); | ^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:111:17: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 111 | Py_UNICODE_COPY(outp, inp, PyUnicode_GET_SIZE(in) - (inp - PyUnicode_AS_UNICODE(in))); | ^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:111:17: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 111 | Py_UNICODE_COPY(outp, inp, PyUnicode_GET_SIZE(in) - (inp - PyUnicode_AS_UNICODE(in))); | ^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:111:17: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 111 | Py_UNICODE_COPY(outp, inp, PyUnicode_GET_SIZE(in) - (inp - PyUnicode_AS_UNICODE(in))); | ^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-cpython-310/markupsafe/_speedups.o -L/usr/lib64 -lpython3.10 -o build/lib.linux-x86_64-cpython-310/markupsafe/_speedups.cpython-310-x86_64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KO5KtD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64 ++ dirname /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 MarkupSafe-0.23 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64 running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr creating /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64/python3.10 creating /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64/python3.10/site-packages creating /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64/python3.10/site-packages/markupsafe copying build/lib.linux-x86_64-cpython-310/markupsafe/__init__.py -> /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64/python3.10/site-packages/markupsafe copying build/lib.linux-x86_64-cpython-310/markupsafe/_compat.py -> /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64/python3.10/site-packages/markupsafe copying build/lib.linux-x86_64-cpython-310/markupsafe/_constants.py -> /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64/python3.10/site-packages/markupsafe copying build/lib.linux-x86_64-cpython-310/markupsafe/_native.py -> /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64/python3.10/site-packages/markupsafe copying build/lib.linux-x86_64-cpython-310/markupsafe/tests.py -> /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64/python3.10/site-packages/markupsafe copying build/lib.linux-x86_64-cpython-310/markupsafe/_speedups.c -> /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64/python3.10/site-packages/markupsafe copying build/lib.linux-x86_64-cpython-310/markupsafe/_speedups.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64/python3.10/site-packages/markupsafe byte-compiling /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64/python3.10/site-packages/markupsafe/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64/python3.10/site-packages/markupsafe/_compat.py to _compat.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64/python3.10/site-packages/markupsafe/_constants.py to _constants.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64/python3.10/site-packages/markupsafe/_native.py to _native.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64/python3.10/site-packages/markupsafe/tests.py to tests.cpython-310.pyc writing byte-compilation script '/tmp/tmpog9h0w_2.py' /usr/bin/python3 /tmp/tmpog9h0w_2.py removing /tmp/tmpog9h0w_2.py running install_egg_info running egg_info writing MarkupSafe.egg-info/PKG-INFO writing dependency_links to MarkupSafe.egg-info/dependency_links.txt writing top-level names to MarkupSafe.egg-info/top_level.txt reading manifest file 'MarkupSafe.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'MarkupSafe.egg-info/SOURCES.txt' Copying MarkupSafe.egg-info to /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64/python3.10/site-packages/MarkupSafe-0.23-py3.10.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/bin/__pycache__ + rm /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64//usr/lib64/python3.10/site-packages/markupsafe/_speedups.c + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 0.23-19.0.1.an23 --unique-debug-suffix -0.23-19.0.1.an23.x86_64 --unique-debug-src-base python-markupsafe-0.23-19.0.1.an23.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/MarkupSafe-0.23 extracting debug info from /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64/python3.10/site-packages/markupsafe/_speedups.cpython-310-x86_64-linux-gnu.so Support for debuginfod is not compiled into GDB. original debug info size: 36kB, size after compression: 36kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 12 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib64/python3.10 using python3.10 Bytecompiling .py files below /builddir/build/BUILDROOT/python-markupsafe-0.23-19.0.1.an23.x86_64/usr/lib/debug/usr/lib64/python3.10 using python3.10 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.IWv3BU + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 MarkupSafe-0.23 + /usr/bin/python3 setup.py test running test running egg_info WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. writing MarkupSafe.egg-info/PKG-INFO writing dependency_links to MarkupSafe.egg-info/dependency_links.txt writing top-level names to MarkupSafe.egg-info/top_level.txt reading manifest file 'MarkupSafe.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'MarkupSafe.egg-info/SOURCES.txt' running build_ext building 'markupsafe._speedups' extension gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.10 -c markupsafe/_speedups.c -o build/temp.linux-x86_64-cpython-310/markupsafe/_speedups.o markupsafe/_speedups.c: In function ‘init_constants’: markupsafe/_speedups.c:33:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 33 | escaped_chars_repl['"'] = UNICHR("""); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from markupsafe/_speedups.c:12: /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:34:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 34 | escaped_chars_repl['\''] = UNICHR("'"); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:35:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 35 | escaped_chars_repl['&'] = UNICHR("&"); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:36:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 36 | escaped_chars_repl['<'] = UNICHR("<"); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:37:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 37 | escaped_chars_repl['>'] = UNICHR(">"); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c: In function ‘escape_unicode’: markupsafe/_speedups.c:59:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 59 | Py_UNICODE *inp = PyUnicode_AS_UNICODE(in); | ^~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:60:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 60 | const Py_UNICODE *inp_end = PyUnicode_AS_UNICODE(in) + PyUnicode_GET_SIZE(in); | ^~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:60:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 60 | const Py_UNICODE *inp_end = PyUnicode_AS_UNICODE(in) + PyUnicode_GET_SIZE(in); | ^~~~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:60:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 60 | const Py_UNICODE *inp_end = PyUnicode_AS_UNICODE(in) + PyUnicode_GET_SIZE(in); | ^~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:60:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 60 | const Py_UNICODE *inp_end = PyUnicode_AS_UNICODE(in) + PyUnicode_GET_SIZE(in); | ^~~~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:80:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations] 80 | out = (PyUnicodeObject*)PyUnicode_FromUnicode(NULL, PyUnicode_GET_SIZE(in) + delta); | ^~~ /usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:80:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 80 | out = (PyUnicodeObject*)PyUnicode_FromUnicode(NULL, PyUnicode_GET_SIZE(in) + delta); | ^~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:80:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 80 | out = (PyUnicodeObject*)PyUnicode_FromUnicode(NULL, PyUnicode_GET_SIZE(in) + delta); | ^~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:80:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 80 | out = (PyUnicodeObject*)PyUnicode_FromUnicode(NULL, PyUnicode_GET_SIZE(in) + delta); | ^~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:84:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 84 | outp = PyUnicode_AS_UNICODE(out); | ^~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:85:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 85 | inp = PyUnicode_AS_UNICODE(in); | ^~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:100:25: warning: ‘Py_UNICODE_COPY’ is deprecated [-Wdeprecated-declarations] 100 | Py_UNICODE_COPY(outp, inp, next_escp-inp); | ^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:54:1: note: declared here 54 | Py_UNICODE_COPY(Py_UNICODE *target, const Py_UNICODE *source, Py_ssize_t length) { | ^~~~~~~~~~~~~~~ markupsafe/_speedups.c:105:17: warning: ‘Py_UNICODE_COPY’ is deprecated [-Wdeprecated-declarations] 105 | Py_UNICODE_COPY(outp, escaped_chars_repl[*next_escp], delta_len); | ^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:54:1: note: declared here 54 | Py_UNICODE_COPY(Py_UNICODE *target, const Py_UNICODE *source, Py_ssize_t length) { | ^~~~~~~~~~~~~~~ markupsafe/_speedups.c:111:17: warning: ‘Py_UNICODE_COPY’ is deprecated [-Wdeprecated-declarations] 111 | Py_UNICODE_COPY(outp, inp, PyUnicode_GET_SIZE(in) - (inp - PyUnicode_AS_UNICODE(in))); | ^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:54:1: note: declared here 54 | Py_UNICODE_COPY(Py_UNICODE *target, const Py_UNICODE *source, Py_ssize_t length) { | ^~~~~~~~~~~~~~~ markupsafe/_speedups.c:111:17: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 111 | Py_UNICODE_COPY(outp, inp, PyUnicode_GET_SIZE(in) - (inp - PyUnicode_AS_UNICODE(in))); | ^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:111:17: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 111 | Py_UNICODE_COPY(outp, inp, PyUnicode_GET_SIZE(in) - (inp - PyUnicode_AS_UNICODE(in))); | ^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:111:17: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 111 | Py_UNICODE_COPY(outp, inp, PyUnicode_GET_SIZE(in) - (inp - PyUnicode_AS_UNICODE(in))); | ^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ markupsafe/_speedups.c:111:17: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 111 | Py_UNICODE_COPY(outp, inp, PyUnicode_GET_SIZE(in) - (inp - PyUnicode_AS_UNICODE(in))); | ^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-cpython-310/markupsafe/_speedups.o -L/usr/lib64 -lpython3.10 -o /builddir/build/BUILD/MarkupSafe-0.23/markupsafe/_speedups.cpython-310-x86_64-linux-gnu.so markupsafe (unittest.loader._FailedTest) ... ERROR ====================================================================== ERROR: markupsafe (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: markupsafe Traceback (most recent call last): File "/usr/lib64/python3.10/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) File "/builddir/build/BUILD/MarkupSafe-0.23/markupsafe/__init__.py", line 13, in from collections import Mapping ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib64/python3.10/collections/__init__.py) ---------------------------------------------------------------------- Ran 1 test in 0.000s FAILED (errors=1) Test failed: error: Test failed: error: Bad exit status from /var/tmp/rpm-tmp.IWv3BU (%check) Bad exit status from /var/tmp/rpm-tmp.IWv3BU (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-markupsafe.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, 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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-markupsafe.spec