Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target aarch64 --nodeps /builddir/build/SPECS/python-thriftpy.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1681784216.887588/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 0xffff8c684050>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target aarch64 --nodeps /builddir/build/SPECS/python-thriftpy.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
/etc/profile.d/system-info.sh: line 55: ps: command not found
Building target platforms: aarch64
Building for target aarch64
Wrote: /builddir/build/SRPMS/python-thriftpy-0.3.9-1.src.rpm
Child return code was: 0
Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target aarch64 --nodeps /builddir/build/SPECS/python-thriftpy.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1681784216.887588/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 0xffffa3de1710>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target aarch64 --nodeps /builddir/build/SPECS/python-thriftpy.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
/etc/profile.d/system-info.sh: line 55: ps: command not found
Building target platforms: aarch64
Building for target aarch64
Wrote: /builddir/build/SRPMS/python-thriftpy-0.3.9-1.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb  --target aarch64 --nodeps /builddir/build/SPECS/python-thriftpy.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1681784216.887588/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 0xffffa3de1710>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb  --target aarch64 --nodeps /builddir/build/SPECS/python-thriftpy.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
/etc/profile.d/system-info.sh: line 55: ps: command not found
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ICwdCz
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf thriftpy-0.3.9
+ /usr/bin/gzip -dc /builddir/build/SOURCES/thriftpy-0.3.9.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd thriftpy-0.3.9
+ /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.eLwHT9
+ umask 022
+ cd /builddir/build/BUILD
+ cd thriftpy-0.3.9
+ 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 -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-aarch64-3.9
creating build/lib.linux-aarch64-3.9/thriftpy
copying thriftpy/server.py -> build/lib.linux-aarch64-3.9/thriftpy
copying thriftpy/tornado.py -> build/lib.linux-aarch64-3.9/thriftpy
copying thriftpy/rpc.py -> build/lib.linux-aarch64-3.9/thriftpy
copying thriftpy/utils.py -> build/lib.linux-aarch64-3.9/thriftpy
copying thriftpy/__init__.py -> build/lib.linux-aarch64-3.9/thriftpy
copying thriftpy/hook.py -> build/lib.linux-aarch64-3.9/thriftpy
copying thriftpy/thrift.py -> build/lib.linux-aarch64-3.9/thriftpy
copying thriftpy/_compat.py -> build/lib.linux-aarch64-3.9/thriftpy
creating build/lib.linux-aarch64-3.9/thriftpy/protocol
copying thriftpy/protocol/exc.py -> build/lib.linux-aarch64-3.9/thriftpy/protocol
copying thriftpy/protocol/__init__.py -> build/lib.linux-aarch64-3.9/thriftpy/protocol
copying thriftpy/protocol/multiplex.py -> build/lib.linux-aarch64-3.9/thriftpy/protocol
copying thriftpy/protocol/compact.py -> build/lib.linux-aarch64-3.9/thriftpy/protocol
copying thriftpy/protocol/binary.py -> build/lib.linux-aarch64-3.9/thriftpy/protocol
copying thriftpy/protocol/json.py -> build/lib.linux-aarch64-3.9/thriftpy/protocol
creating build/lib.linux-aarch64-3.9/thriftpy/parser
copying thriftpy/parser/exc.py -> build/lib.linux-aarch64-3.9/thriftpy/parser
copying thriftpy/parser/lexer.py -> build/lib.linux-aarch64-3.9/thriftpy/parser
copying thriftpy/parser/parser.py -> build/lib.linux-aarch64-3.9/thriftpy/parser
copying thriftpy/parser/__init__.py -> build/lib.linux-aarch64-3.9/thriftpy/parser
creating build/lib.linux-aarch64-3.9/thriftpy/transport
copying thriftpy/transport/_ssl.py -> build/lib.linux-aarch64-3.9/thriftpy/transport
copying thriftpy/transport/sslsocket.py -> build/lib.linux-aarch64-3.9/thriftpy/transport
copying thriftpy/transport/socket.py -> build/lib.linux-aarch64-3.9/thriftpy/transport
copying thriftpy/transport/__init__.py -> build/lib.linux-aarch64-3.9/thriftpy/transport
creating build/lib.linux-aarch64-3.9/thriftpy/contrib
copying thriftpy/contrib/__init__.py -> build/lib.linux-aarch64-3.9/thriftpy/contrib
creating build/lib.linux-aarch64-3.9/thriftpy/transport/buffered
copying thriftpy/transport/buffered/__init__.py -> build/lib.linux-aarch64-3.9/thriftpy/transport/buffered
creating build/lib.linux-aarch64-3.9/thriftpy/transport/framed
copying thriftpy/transport/framed/__init__.py -> build/lib.linux-aarch64-3.9/thriftpy/transport/framed
creating build/lib.linux-aarch64-3.9/thriftpy/transport/memory
copying thriftpy/transport/memory/__init__.py -> build/lib.linux-aarch64-3.9/thriftpy/transport/memory
creating build/lib.linux-aarch64-3.9/thriftpy/contrib/tracking
copying thriftpy/contrib/tracking/tracker.py -> build/lib.linux-aarch64-3.9/thriftpy/contrib/tracking
copying thriftpy/contrib/tracking/__init__.py -> build/lib.linux-aarch64-3.9/thriftpy/contrib/tracking
copying thriftpy/contrib/tracking/tracking.thrift -> build/lib.linux-aarch64-3.9/thriftpy/contrib/tracking
running build_ext
building 'thriftpy.transport.cybase' extension
creating build/temp.linux-aarch64-3.9
creating build/temp.linux-aarch64-3.9/thriftpy
creating build/temp.linux-aarch64-3.9/thriftpy/transport
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 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -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 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.9 -c thriftpy/transport/cybase.c -o build/temp.linux-aarch64-3.9/thriftpy/transport/cybase.o
thriftpy/transport/cybase.c: In function ‘PyInit_cybase’:
thriftpy/transport/cybase.c:2691:52: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
 2691 |   __pyx_type_8thriftpy_9transport_6cybase_TCyBuffer.tp_print = 0;
      |                                                    ^
thriftpy/transport/cybase.c:2701:58: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
 2701 |   __pyx_type_8thriftpy_9transport_6cybase_CyTransportBase.tp_print = 0;
      |                                                          ^
thriftpy/transport/cybase.c: In function ‘__Pyx_ParseOptionalKeywords’:
thriftpy/transport/cybase.c:2826:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
 2826 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
      |                     ^
In file included from /usr/include/python3.9/unicodeobject.h:1026,
                 from /usr/include/python3.9/Python.h:93,
                 from thriftpy/transport/cybase.c:13:
/usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
thriftpy/transport/cybase.c:2826:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
 2826 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
      |                     ^
In file included from /usr/include/python3.9/unicodeobject.h:1026,
                 from /usr/include/python3.9/Python.h:93,
                 from thriftpy/transport/cybase.c:13:
/usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
thriftpy/transport/cybase.c:2826:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
 2826 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
      |                     ^
In file included from /usr/include/python3.9/unicodeobject.h:1026,
                 from /usr/include/python3.9/Python.h:93,
                 from thriftpy/transport/cybase.c:13:
/usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
thriftpy/transport/cybase.c:2826:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
 2826 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
      |                     ^
In file included from /usr/include/python3.9/unicodeobject.h:1026,
                 from /usr/include/python3.9/Python.h:93,
                 from thriftpy/transport/cybase.c:13:
/usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
thriftpy/transport/cybase.c:2826:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
 2826 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
      |                     ^
In file included from /usr/include/python3.9/unicodeobject.h:1026,
                 from /usr/include/python3.9/Python.h:93,
                 from thriftpy/transport/cybase.c:13:
/usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
thriftpy/transport/cybase.c:2826:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
 2826 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
      |                     ^
In file included from /usr/include/python3.9/unicodeobject.h:1026,
                 from /usr/include/python3.9/Python.h:93,
                 from thriftpy/transport/cybase.c:13:
/usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
thriftpy/transport/cybase.c:2842:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
 2842 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
      |                         ^
In file included from /usr/include/python3.9/unicodeobject.h:1026,
                 from /usr/include/python3.9/Python.h:93,
                 from thriftpy/transport/cybase.c:13:
/usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
thriftpy/transport/cybase.c:2842:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
 2842 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
      |                         ^
In file included from /usr/include/python3.9/unicodeobject.h:1026,
                 from /usr/include/python3.9/Python.h:93,
                 from thriftpy/transport/cybase.c:13:
/usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
thriftpy/transport/cybase.c:2842:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
 2842 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
      |                         ^
In file included from /usr/include/python3.9/unicodeobject.h:1026,
                 from /usr/include/python3.9/Python.h:93,
                 from thriftpy/transport/cybase.c:13:
/usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
thriftpy/transport/cybase.c:2842:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
 2842 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
      |                         ^
In file included from /usr/include/python3.9/unicodeobject.h:1026,
                 from /usr/include/python3.9/Python.h:93,
                 from thriftpy/transport/cybase.c:13:
/usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
thriftpy/transport/cybase.c:2842:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
 2842 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
      |                         ^
In file included from /usr/include/python3.9/unicodeobject.h:1026,
                 from /usr/include/python3.9/Python.h:93,
                 from thriftpy/transport/cybase.c:13:
/usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
thriftpy/transport/cybase.c:2842:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
 2842 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
      |                         ^
In file included from /usr/include/python3.9/unicodeobject.h:1026,
                 from /usr/include/python3.9/Python.h:93,
                 from thriftpy/transport/cybase.c:13:
/usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
thriftpy/transport/cybase.c: In function ‘__Pyx__GetException’:
thriftpy/transport/cybase.c:3127:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
 3127 |     tmp_type = tstate->exc_type;
      |                        ^~~~~~~~
      |                        curexc_type
thriftpy/transport/cybase.c:3128:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
 3128 |     tmp_value = tstate->exc_value;
      |                         ^~~~~~~~~
      |                         curexc_value
thriftpy/transport/cybase.c:3129:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
 3129 |     tmp_tb = tstate->exc_traceback;
      |                      ^~~~~~~~~~~~~
      |                      curexc_traceback
thriftpy/transport/cybase.c:3130:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
 3130 |     tstate->exc_type = local_type;
      |             ^~~~~~~~
      |             curexc_type
thriftpy/transport/cybase.c:3131:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
 3131 |     tstate->exc_value = local_value;
      |             ^~~~~~~~~
      |             curexc_value
thriftpy/transport/cybase.c:3132:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
 3132 |     tstate->exc_traceback = local_tb;
      |             ^~~~~~~~~~~~~
      |             curexc_traceback
thriftpy/transport/cybase.c: In function ‘__Pyx__ExceptionSwap’:
thriftpy/transport/cybase.c:3154:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
 3154 |     tmp_type = tstate->exc_type;
      |                        ^~~~~~~~
      |                        curexc_type
thriftpy/transport/cybase.c:3155:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
 3155 |     tmp_value = tstate->exc_value;
      |                         ^~~~~~~~~
      |                         curexc_value
thriftpy/transport/cybase.c:3156:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
 3156 |     tmp_tb = tstate->exc_traceback;
      |                      ^~~~~~~~~~~~~
      |                      curexc_traceback
thriftpy/transport/cybase.c:3157:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
 3157 |     tstate->exc_type = *type;
      |             ^~~~~~~~
      |             curexc_type
thriftpy/transport/cybase.c:3158:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
 3158 |     tstate->exc_value = *value;
      |             ^~~~~~~~~
      |             curexc_value
thriftpy/transport/cybase.c:3159:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
 3159 |     tstate->exc_traceback = *tb;
      |             ^~~~~~~~~~~~~
      |             curexc_traceback
thriftpy/transport/cybase.c: In function ‘__Pyx__ExceptionSave’:
thriftpy/transport/cybase.c:3178:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
 3178 |     *type = tstate->exc_type;
      |                     ^~~~~~~~
      |                     curexc_type
thriftpy/transport/cybase.c:3179:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
 3179 |     *value = tstate->exc_value;
      |                      ^~~~~~~~~
      |                      curexc_value
thriftpy/transport/cybase.c:3180:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
 3180 |     *tb = tstate->exc_traceback;
      |                   ^~~~~~~~~~~~~
      |                   curexc_traceback
thriftpy/transport/cybase.c: In function ‘__Pyx__ExceptionReset’:
thriftpy/transport/cybase.c:3187:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
 3187 |     tmp_type = tstate->exc_type;
      |                        ^~~~~~~~
      |                        curexc_type
thriftpy/transport/cybase.c:3188:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
 3188 |     tmp_value = tstate->exc_value;
      |                         ^~~~~~~~~
      |                         curexc_value
thriftpy/transport/cybase.c:3189:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
 3189 |     tmp_tb = tstate->exc_traceback;
      |                      ^~~~~~~~~~~~~
      |                      curexc_traceback
thriftpy/transport/cybase.c:3190:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
 3190 |     tstate->exc_type = type;
      |             ^~~~~~~~
      |             curexc_type
thriftpy/transport/cybase.c:3191:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
 3191 |     tstate->exc_value = value;
      |             ^~~~~~~~~
      |             curexc_value
thriftpy/transport/cybase.c:3192:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
 3192 |     tstate->exc_traceback = tb;
      |             ^~~~~~~~~~~~~
      |             curexc_traceback
error: command '/usr/bin/gcc' failed with exit code 1
error: Bad exit status from /var/tmp/rpm-tmp.eLwHT9 (%build)
    Bad exit status from /var/tmp/rpm-tmp.eLwHT9 (%build)
RPM build errors:
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb  --target aarch64 --nodeps /builddir/build/SPECS/python-thriftpy.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 aarch64 --nodeps /builddir/build/SPECS/python-thriftpy.spec