Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-jsonlib-python3.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683332805.412655/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-jsonlib-python3.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-jsonlib-python3-1.6.1-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-jsonlib-python3.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683332805.412655/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-jsonlib-python3.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-jsonlib-python3-1.6.1-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-jsonlib-python3.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683332805.412655/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-jsonlib-python3.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cE752L + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jsonlib-python3-1.6.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/jsonlib-python3-1.6.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jsonlib-python3-1.6.1 + /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.1nXHPF + umask 022 + cd /builddir/build/BUILD + cd jsonlib-python3-1.6.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib.linux-x86_64-3.9 copying jsonlib.py -> build/lib.linux-x86_64-3.9 running build_ext building '_jsonlib' extension creating build/temp.linux-x86_64-3.9 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.9 -c _jsonlib.c -o build/temp.linux-x86_64-3.9/_jsonlib.o _jsonlib.c: In function ‘jsonlib_read’: _jsonlib.c:105:2: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 105 | parser.start = PyUnicode_AsUnicode (text); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ _jsonlib.c:106:2: warning: ‘PyUnicode_GetSize’ is deprecated [-Wdeprecated-declarations] 106 | parser.end = parser.start + PyUnicode_GetSize (text); | ^~~~~~ In file included from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/unicodeobject.h:177:43: note: declared here 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize( | ^~~~~~~~~~~~~~~~~ _jsonlib.c: In function ‘parse_string’: _jsonlib.c:318:3: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations] 318 | return PyUnicode_FromUnicode (NULL, 0); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ _jsonlib.c:356:2: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations] 356 | if ((unicode = PyUnicode_FromUnicode (start + 1, ii - 1))) | ^~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ _jsonlib.c: In function ‘parse_string_full’: _jsonlib.c:374:20: warning: variable ‘existing_size’ set but not used [-Wunused-but-set-variable] 374 | size_t new_size, existing_size; | ^~~~~~~~~~~~~ _jsonlib.c:404:5: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations] 404 | unicode = PyUnicode_FromUnicode (buffer, buffer_idx); | ^~~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ _jsonlib.c: In function ‘read_4hex’: _jsonlib.c:458:2: warning: ‘PyLong_FromUnicode’ is deprecated [-Wdeprecated-declarations] 458 | py_long = PyLong_FromUnicode (start, 4, 16); | ^~~~~~~ In file included from /usr/include/python3.9/Python.h:94, from _jsonlib.c:18: /usr/include/python3.9/longobject.h:106:24: note: declared here 106 | PyAPI_FUNC(PyObject *) PyLong_FromUnicode(Py_UNICODE*, Py_ssize_t, int); | ^~~~~~~~~~~~~~~~~~ _jsonlib.c: In function ‘keyword_compare’: _jsonlib.c:558:26: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 558 | if (parser->end - index < len) | ^ _jsonlib.c: In function ‘parse_number’: _jsonlib.c:646:4: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations] 646 | if (!(str = PyUnicode_FromUnicode (parser->index, | ^~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ _jsonlib.c:663:4: warning: ‘PyLong_FromUnicode’ is deprecated [-Wdeprecated-declarations] 663 | object = PyLong_FromUnicode (parser->index, | ^~~~~~ In file included from /usr/include/python3.9/Python.h:94, from _jsonlib.c:18: /usr/include/python3.9/longobject.h:106:24: note: declared here 106 | PyAPI_FUNC(PyObject *) PyLong_FromUnicode(Py_UNICODE*, Py_ssize_t, int); | ^~~~~~~~~~~~~~~~~~ _jsonlib.c: In function ‘serialize_string’: _jsonlib.c:1422:2: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 1422 | chars = PyUnicode_AS_UNICODE (value); | ^~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ _jsonlib.c:1423:2: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 1423 | char_count = PyUnicode_GET_SIZE (value); | ^~~~~~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ _jsonlib.c:1423:2: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 1423 | char_count = PyUnicode_GET_SIZE (value); | ^~~~~~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ _jsonlib.c:1423:2: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 1423 | char_count = PyUnicode_GET_SIZE (value); | ^~~~~~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ _jsonlib.c: In function ‘escape_string_ascii’: _jsonlib.c:1637:2: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 1637 | old_buffer = PyUnicode_AS_UNICODE (value); | ^~~~~~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ _jsonlib.c:1638:2: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 1638 | old_buffer_size = PyUnicode_GET_SIZE (value); | ^~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ _jsonlib.c:1638:2: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 1638 | old_buffer_size = PyUnicode_GET_SIZE (value); | ^~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ _jsonlib.c:1638:2: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 1638 | old_buffer_size = PyUnicode_GET_SIZE (value); | ^~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ _jsonlib.c:1686:2: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations] 1686 | if (!(retval = PyUnicode_FromUnicode (NULL, new_buffer_size))) | ^~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ _jsonlib.c:1690:2: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 1690 | p = PyUnicode_AS_UNICODE (retval); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ _jsonlib.c: In function ‘escape_string_unicode’: _jsonlib.c:1717:2: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 1717 | old_buffer = PyUnicode_AS_UNICODE (value); | ^~~~~~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ _jsonlib.c:1718:2: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 1718 | old_buffer_size = PyUnicode_GET_SIZE (value); | ^~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ _jsonlib.c:1718:2: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 1718 | old_buffer_size = PyUnicode_GET_SIZE (value); | ^~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ _jsonlib.c:1718:2: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 1718 | old_buffer_size = PyUnicode_GET_SIZE (value); | ^~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ _jsonlib.c:1756:2: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations] 1756 | if (!(retval = PyUnicode_FromUnicode (NULL, new_buffer_size))) | ^~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ _jsonlib.c:1760:2: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 1760 | p = PyUnicode_AS_UNICODE (retval); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ _jsonlib.c: In function ‘serializer_append_unicode’: _jsonlib.c:1919:2: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 1919 | Py_UNICODE *text = PyUnicode_AS_UNICODE (obj); | ^~~~~~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ _jsonlib.c:1920:2: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 1920 | Py_ssize_t ii, len_text = PyUnicode_GET_SIZE (obj); | ^~~~~~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ _jsonlib.c:1920:2: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 1920 | Py_ssize_t ii, len_text = PyUnicode_GET_SIZE (obj); | ^~~~~~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ _jsonlib.c:1920:2: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 1920 | Py_ssize_t ii, len_text = PyUnicode_GET_SIZE (obj); | ^~~~~~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ _jsonlib.c: In function ‘buffer_serializer_merge’: _jsonlib.c:2013:3: warning: ‘PyUnicode_Encode’ is deprecated [-Wdeprecated-declarations] 2013 | merged = PyUnicode_Encode (raw_merged, total, s->encoding, | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:773:42: note: declared here 773 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_Encode( | ^~~~~~~~~~~~~~~~ _jsonlib.c:2019:3: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations] 2019 | merged = PyUnicode_FromUnicode (raw_merged, total); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ _jsonlib.c: In function ‘stream_serializer_flush’: _jsonlib.c:2047:3: warning: ‘PyUnicode_Encode’ is deprecated [-Wdeprecated-declarations] 2047 | obj = PyUnicode_Encode (base->buffer, base->buffer_size, | ^~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:773:42: note: declared here 773 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_Encode( | ^~~~~~~~~~~~~~~~ _jsonlib.c:2053:3: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations] 2053 | obj = PyUnicode_FromUnicode(base->buffer, base->buffer_size); | ^~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from _jsonlib.c:18: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ gcc -shared -g -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-x86_64-3.9/_jsonlib.o -L/usr/lib64 -o build/lib.linux-x86_64-3.9/_jsonlib.cpython-39-x86_64-linux-gnu.so + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9ePwXX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64 + cd jsonlib-python3-1.6.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64/usr creating /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64/usr/lib64/python3.9/site-packages copying build/lib.linux-x86_64-3.9/jsonlib.py -> /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64/usr/lib64/python3.9/site-packages copying build/lib.linux-x86_64-3.9/_jsonlib.cpython-39-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64/usr/lib64/python3.9/site-packages byte-compiling /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64/usr/lib64/python3.9/site-packages/jsonlib.py to jsonlib.cpython-39.pyc writing byte-compilation script '/tmp/tmp22egrycq.py' /usr/bin/python3 /tmp/tmp22egrycq.py removing /tmp/tmp22egrycq.py running install_egg_info Writing /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64/usr/lib64/python3.9/site-packages/jsonlib_python3-1.6.1-py3.9.egg-info + install -d -m755 /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64//usr/share/doc/python-jsonlib-python3 + '[' -d doc ']' ~/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64 ~/build/BUILD/jsonlib-python3-1.6.1 + '[' -d docs ']' + '[' -d example ']' + '[' -d examples ']' + pushd /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64 + '[' -d usr/lib ']' + '[' -d usr/lib64 ']' + find usr/lib64 -type f -printf '/%h/%f\n' + '[' -d usr/bin ']' + '[' -d usr/sbin ']' + touch doclist.lst + '[' -d usr/share/man ']' + popd ~/build/BUILD/jsonlib-python3-1.6.1 + mv /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64/filelist.lst . + mv /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 1.6.1-1 --unique-debug-suffix -1.6.1-1.x86_64 --unique-debug-src-base python-jsonlib-python3-1.6.1-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/jsonlib-python3-1.6.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64/usr/lib64/python3.9/site-packages/_jsonlib.cpython-39-x86_64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64/usr/lib64/python3.9/site-packages/_jsonlib.cpython-39-x86_64-linux-gnu.so 86 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64/usr/lib64/python3.9 using /usr/bin/python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64/usr/lib/debug/usr/lib64/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink Processing files: python3-jsonlib-python3-1.6.1-1.noarch error: Directory not found: /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64/usr/lib/python3.9/site-packages/* RPM build errors: Directory not found: /builddir/build/BUILDROOT/python-jsonlib-python3-1.6.1-1.x86_64/usr/lib/python3.9/site-packages/* Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-jsonlib-python3.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 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 --target x86_64 --nodeps /builddir/build/SPECS/python-jsonlib-python3.spec