Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-pyamf.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683347383.061986/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-pyamf.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-PyAMF-0.8.0-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-pyamf.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683347383.061986/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-pyamf.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-PyAMF-0.8.0-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-pyamf.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683347383.061986/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-pyamf.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.2QakmZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PyAMF-0.8.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/PyAMF-0.8.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd PyAMF-0.8.0 + /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.rAlTlz + umask 022 + cd /builddir/build/BUILD + cd PyAMF-0.8.0 + 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 creating build/lib.linux-x86_64-3.9/pyamf copying pyamf/versions.py -> build/lib.linux-x86_64-3.9/pyamf copying pyamf/xml.py -> build/lib.linux-x86_64-3.9/pyamf copying pyamf/codec.py -> build/lib.linux-x86_64-3.9/pyamf copying pyamf/sol.py -> build/lib.linux-x86_64-3.9/pyamf copying pyamf/__init__.py -> build/lib.linux-x86_64-3.9/pyamf copying pyamf/amf0.py -> build/lib.linux-x86_64-3.9/pyamf copying pyamf/_version.py -> build/lib.linux-x86_64-3.9/pyamf copying pyamf/alias.py -> build/lib.linux-x86_64-3.9/pyamf copying pyamf/python.py -> build/lib.linux-x86_64-3.9/pyamf copying pyamf/amf3.py -> build/lib.linux-x86_64-3.9/pyamf creating build/lib.linux-x86_64-3.9/cpyamf copying cpyamf/__init__.py -> build/lib.linux-x86_64-3.9/cpyamf creating build/lib.linux-x86_64-3.9/pyamf/tests copying pyamf/tests/test_basic.py -> build/lib.linux-x86_64-3.9/pyamf/tests copying pyamf/tests/test_amf0.py -> build/lib.linux-x86_64-3.9/pyamf/tests copying pyamf/tests/test_flex.py -> build/lib.linux-x86_64-3.9/pyamf/tests copying pyamf/tests/test_remoting.py -> build/lib.linux-x86_64-3.9/pyamf/tests copying pyamf/tests/__init__.py -> build/lib.linux-x86_64-3.9/pyamf/tests copying pyamf/tests/test_util.py -> build/lib.linux-x86_64-3.9/pyamf/tests copying pyamf/tests/util.py -> build/lib.linux-x86_64-3.9/pyamf/tests copying pyamf/tests/test_alias.py -> build/lib.linux-x86_64-3.9/pyamf/tests copying pyamf/tests/test_sol.py -> build/lib.linux-x86_64-3.9/pyamf/tests copying pyamf/tests/test_amf3.py -> build/lib.linux-x86_64-3.9/pyamf/tests copying pyamf/tests/test_imports.py -> build/lib.linux-x86_64-3.9/pyamf/tests copying pyamf/tests/test_adapters.py -> build/lib.linux-x86_64-3.9/pyamf/tests copying pyamf/tests/test_gateway.py -> build/lib.linux-x86_64-3.9/pyamf/tests copying pyamf/tests/test_codec.py -> build/lib.linux-x86_64-3.9/pyamf/tests copying pyamf/tests/test_xml.py -> build/lib.linux-x86_64-3.9/pyamf/tests copying pyamf/tests/test_adapters_util.py -> build/lib.linux-x86_64-3.9/pyamf/tests copying pyamf/tests/test_versions.py -> build/lib.linux-x86_64-3.9/pyamf/tests copying pyamf/tests/test_flex_messaging.py -> build/lib.linux-x86_64-3.9/pyamf/tests creating build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/gae_base.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/_decimal.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/__init__.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/_google_appengine_api_datastore_types.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/_sqlalchemy_orm.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/util.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/models.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/_django_db_models_query.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/_elixir.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/_google_appengine_ext_blobstore.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/_weakref.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/_sqlalchemy_orm_collections.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/_django_db_models_base.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/_sets.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/_django_contrib_auth_models.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/_collections.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/_django_utils_translation.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/_google_appengine_ext_db.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/_array.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/_google_appengine_ext_ndb.py -> build/lib.linux-x86_64-3.9/pyamf/adapters copying pyamf/adapters/_django_db_models_fields.py -> build/lib.linux-x86_64-3.9/pyamf/adapters creating build/lib.linux-x86_64-3.9/pyamf/flex copying pyamf/flex/messaging.py -> build/lib.linux-x86_64-3.9/pyamf/flex copying pyamf/flex/__init__.py -> build/lib.linux-x86_64-3.9/pyamf/flex copying pyamf/flex/data.py -> build/lib.linux-x86_64-3.9/pyamf/flex creating build/lib.linux-x86_64-3.9/pyamf/util copying pyamf/util/__init__.py -> build/lib.linux-x86_64-3.9/pyamf/util copying pyamf/util/imports.py -> build/lib.linux-x86_64-3.9/pyamf/util copying pyamf/util/pure.py -> build/lib.linux-x86_64-3.9/pyamf/util creating build/lib.linux-x86_64-3.9/pyamf/remoting copying pyamf/remoting/__init__.py -> build/lib.linux-x86_64-3.9/pyamf/remoting copying pyamf/remoting/amf0.py -> build/lib.linux-x86_64-3.9/pyamf/remoting copying pyamf/remoting/amf3.py -> build/lib.linux-x86_64-3.9/pyamf/remoting creating build/lib.linux-x86_64-3.9/pyamf/tests/gateway copying pyamf/tests/gateway/test_django.py -> build/lib.linux-x86_64-3.9/pyamf/tests/gateway copying pyamf/tests/gateway/test_wsgi.py -> build/lib.linux-x86_64-3.9/pyamf/tests/gateway copying pyamf/tests/gateway/__init__.py -> build/lib.linux-x86_64-3.9/pyamf/tests/gateway copying pyamf/tests/gateway/test_twisted.py -> build/lib.linux-x86_64-3.9/pyamf/tests/gateway copying pyamf/tests/gateway/test_google.py -> build/lib.linux-x86_64-3.9/pyamf/tests/gateway creating build/lib.linux-x86_64-3.9/pyamf/tests/modules copying pyamf/tests/modules/__init__.py -> build/lib.linux-x86_64-3.9/pyamf/tests/modules copying pyamf/tests/modules/test_sets.py -> build/lib.linux-x86_64-3.9/pyamf/tests/modules copying pyamf/tests/modules/test_decimal.py -> build/lib.linux-x86_64-3.9/pyamf/tests/modules creating build/lib.linux-x86_64-3.9/pyamf/tests/remoting copying pyamf/tests/remoting/test_client.py -> build/lib.linux-x86_64-3.9/pyamf/tests/remoting copying pyamf/tests/remoting/test_amf0.py -> build/lib.linux-x86_64-3.9/pyamf/tests/remoting copying pyamf/tests/remoting/__init__.py -> build/lib.linux-x86_64-3.9/pyamf/tests/remoting copying pyamf/tests/remoting/test_remoteobject.py -> build/lib.linux-x86_64-3.9/pyamf/tests/remoting creating build/lib.linux-x86_64-3.9/pyamf/adapters/tests copying pyamf/adapters/tests/test_elixir.py -> build/lib.linux-x86_64-3.9/pyamf/adapters/tests copying pyamf/adapters/tests/test_django.py -> build/lib.linux-x86_64-3.9/pyamf/adapters/tests copying pyamf/adapters/tests/__init__.py -> build/lib.linux-x86_64-3.9/pyamf/adapters/tests copying pyamf/adapters/tests/test_collections.py -> build/lib.linux-x86_64-3.9/pyamf/adapters/tests copying pyamf/adapters/tests/test_weakref.py -> build/lib.linux-x86_64-3.9/pyamf/adapters/tests copying pyamf/adapters/tests/test_sqlalchemy.py -> build/lib.linux-x86_64-3.9/pyamf/adapters/tests copying pyamf/adapters/tests/test_array.py -> build/lib.linux-x86_64-3.9/pyamf/adapters/tests creating build/lib.linux-x86_64-3.9/pyamf/adapters/tests/django_app copying pyamf/adapters/tests/django_app/__init__.py -> build/lib.linux-x86_64-3.9/pyamf/adapters/tests/django_app copying pyamf/adapters/tests/django_app/settings.py -> build/lib.linux-x86_64-3.9/pyamf/adapters/tests/django_app creating build/lib.linux-x86_64-3.9/pyamf/adapters/tests/google copying pyamf/adapters/tests/google/test_ndb.py -> build/lib.linux-x86_64-3.9/pyamf/adapters/tests/google copying pyamf/adapters/tests/google/test_blobstore.py -> build/lib.linux-x86_64-3.9/pyamf/adapters/tests/google copying pyamf/adapters/tests/google/__init__.py -> build/lib.linux-x86_64-3.9/pyamf/adapters/tests/google copying pyamf/adapters/tests/google/test_datastore_types.py -> build/lib.linux-x86_64-3.9/pyamf/adapters/tests/google copying pyamf/adapters/tests/google/_ndb_models.py -> build/lib.linux-x86_64-3.9/pyamf/adapters/tests/google copying pyamf/adapters/tests/google/test_xdb.py -> build/lib.linux-x86_64-3.9/pyamf/adapters/tests/google copying pyamf/adapters/tests/google/_xdb_models.py -> build/lib.linux-x86_64-3.9/pyamf/adapters/tests/google creating build/lib.linux-x86_64-3.9/pyamf/adapters/tests/django_app/adapters copying pyamf/adapters/tests/django_app/adapters/__init__.py -> build/lib.linux-x86_64-3.9/pyamf/adapters/tests/django_app/adapters copying pyamf/adapters/tests/django_app/adapters/models.py -> build/lib.linux-x86_64-3.9/pyamf/adapters/tests/django_app/adapters creating build/lib.linux-x86_64-3.9/pyamf/remoting/gateway copying pyamf/remoting/gateway/google.py -> build/lib.linux-x86_64-3.9/pyamf/remoting/gateway copying pyamf/remoting/gateway/__init__.py -> build/lib.linux-x86_64-3.9/pyamf/remoting/gateway copying pyamf/remoting/gateway/django.py -> build/lib.linux-x86_64-3.9/pyamf/remoting/gateway copying pyamf/remoting/gateway/wsgi.py -> build/lib.linux-x86_64-3.9/pyamf/remoting/gateway copying pyamf/remoting/gateway/twisted.py -> build/lib.linux-x86_64-3.9/pyamf/remoting/gateway creating build/lib.linux-x86_64-3.9/pyamf/remoting/client copying pyamf/remoting/client/__init__.py -> build/lib.linux-x86_64-3.9/pyamf/remoting/client copying cpyamf/amf3.pxd -> build/lib.linux-x86_64-3.9/cpyamf copying cpyamf/util.pxd -> build/lib.linux-x86_64-3.9/cpyamf copying cpyamf/amf0.pxd -> build/lib.linux-x86_64-3.9/cpyamf copying cpyamf/codec.pxd -> build/lib.linux-x86_64-3.9/cpyamf running build_ext building 'cpyamf.util' extension creating build/temp.linux-x86_64-3.9 creating build/temp.linux-x86_64-3.9/cpyamf 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 cpyamf/util.c -o build/temp.linux-x86_64-3.9/cpyamf/util.o cpyamf/util.c: In function ‘__pyx_f_6cpyamf_4util_19cBufferedByteStream_getvalue’: cpyamf/util.c:3833:15: warning: implicit declaration of function ‘PyString_FromStringAndSize’; did you mean ‘PyBytes_FromStringAndSize’? [-Wimplicit-function-declaration] 3833 | __pyx_t_1 = PyString_FromStringAndSize(__pyx_v_self->buffer, __pyx_v_self->length); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 368; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | PyBytes_FromStringAndSize cpyamf/util.c:3833:13: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 3833 | __pyx_t_1 = PyString_FromStringAndSize(__pyx_v_self->buffer, __pyx_v_self->length); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 368; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | ^ cpyamf/util.c: In function ‘__pyx_f_6cpyamf_4util_19cBufferedByteStream_write_utf8_string’: cpyamf/util.c:8437:15: warning: implicit declaration of function ‘PyString_AsStringAndSize’; did you mean ‘PyBytes_AsStringAndSize’? [-Wimplicit-function-declaration] 8437 | __pyx_t_6 = PyString_AsStringAndSize(__pyx_v_encoded_string, (&__pyx_v_buf), (&__pyx_v_l)); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 749; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | ^~~~~~~~~~~~~~~~~~~~~~~~ | PyBytes_AsStringAndSize cpyamf/util.c: In function ‘__pyx_pf_6cpyamf_4util_18BufferedByteStream_6endian___set__’: cpyamf/util.c:10690:15: warning: implicit declaration of function ‘PyString_AsString’ [-Wimplicit-function-declaration] 10690 | __pyx_t_4 = PyString_AsString(__pyx_v_value); if (unlikely(__pyx_t_4 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 946; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | ^~~~~~~~~~~~~~~~~ cpyamf/util.c:10690:13: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 10690 | __pyx_t_4 = PyString_AsString(__pyx_v_value); if (unlikely(__pyx_t_4 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 946; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | ^ cpyamf/util.c: In function ‘__pyx_pf_6cpyamf_4util_18BufferedByteStream_6endian_2__get__’: cpyamf/util.c:10751:13: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 10751 | __pyx_t_1 = PyString_FromStringAndSize((&__pyx_v_self->__pyx_base.endian), 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 949; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | ^ cpyamf/util.c: In function ‘__pyx_pf_6cpyamf_4util_18BufferedByteStream_2read’: cpyamf/util.c:10941:13: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 10941 | __pyx_t_1 = PyString_FromStringAndSize(__pyx_v_buf, __pyx_v_s); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 970; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | ^ cpyamf/util.c: In function ‘__pyx_pf_6cpyamf_4util_18BufferedByteStream_10peek’: cpyamf/util.c:11324:13: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 11324 | __pyx_t_3 = PyString_FromStringAndSize(__pyx_v_buf, __pyx_v_size); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1009; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | ^ cpyamf/util.c: In function ‘PyInit_util’: cpyamf/util.c:13509:47: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 13509 | __pyx_type_6cpyamf_4util_cBufferedByteStream.tp_print = 0; | ^ cpyamf/util.c:13517:46: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 13517 | __pyx_type_6cpyamf_4util_BufferedByteStream.tp_print = 0; | ^ cpyamf/util.c: In function ‘__Pyx_ExceptionSave’: cpyamf/util.c:13777:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 13777 | *type = tstate->exc_type; | ^~~~~~~~ | curexc_type cpyamf/util.c:13778:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 13778 | *value = tstate->exc_value; | ^~~~~~~~~ | curexc_value cpyamf/util.c:13779:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 13779 | *tb = tstate->exc_traceback; | ^~~~~~~~~~~~~ | curexc_traceback cpyamf/util.c: In function ‘__Pyx_ExceptionReset’: cpyamf/util.c:13791:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 13791 | tmp_type = tstate->exc_type; | ^~~~~~~~ | curexc_type cpyamf/util.c:13792:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 13792 | tmp_value = tstate->exc_value; | ^~~~~~~~~ | curexc_value cpyamf/util.c:13793:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 13793 | tmp_tb = tstate->exc_traceback; | ^~~~~~~~~~~~~ | curexc_traceback cpyamf/util.c:13794:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 13794 | tstate->exc_type = type; | ^~~~~~~~ | curexc_type cpyamf/util.c:13795:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 13795 | tstate->exc_value = value; | ^~~~~~~~~ | curexc_value cpyamf/util.c:13796:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 13796 | tstate->exc_traceback = tb; | ^~~~~~~~~~~~~ | curexc_traceback cpyamf/util.c: In function ‘__Pyx_GetException’: cpyamf/util.c:13839:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 13839 | tmp_type = tstate->exc_type; | ^~~~~~~~ | curexc_type cpyamf/util.c:13840:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 13840 | tmp_value = tstate->exc_value; | ^~~~~~~~~ | curexc_value cpyamf/util.c:13841:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 13841 | tmp_tb = tstate->exc_traceback; | ^~~~~~~~~~~~~ | curexc_traceback cpyamf/util.c:13842:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 13842 | tstate->exc_type = local_type; | ^~~~~~~~ | curexc_type cpyamf/util.c:13843:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 13843 | tstate->exc_value = local_value; | ^~~~~~~~~ | curexc_value cpyamf/util.c:13844:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 13844 | tstate->exc_traceback = local_tb; | ^~~~~~~~~~~~~ | curexc_traceback cpyamf/util.c: In function ‘__Pyx_ParseOptionalKeywords’: cpyamf/util.c:14258:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 14258 | (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 cpyamf/util.c:16: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cpyamf/util.c:14258:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 14258 | (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 cpyamf/util.c:16: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ cpyamf/util.c:14258:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 14258 | (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 cpyamf/util.c:16: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cpyamf/util.c:14258:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 14258 | (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 cpyamf/util.c:16: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cpyamf/util.c:14258:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 14258 | (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 cpyamf/util.c:16: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ cpyamf/util.c:14258:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 14258 | (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 cpyamf/util.c:16: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cpyamf/util.c:14274:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 14274 | (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 cpyamf/util.c:16: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cpyamf/util.c:14274:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 14274 | (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 cpyamf/util.c:16: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ cpyamf/util.c:14274:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 14274 | (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 cpyamf/util.c:16: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cpyamf/util.c:14274:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 14274 | (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 cpyamf/util.c:16: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cpyamf/util.c:14274:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 14274 | (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 cpyamf/util.c:16: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ cpyamf/util.c:14274:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 14274 | (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 cpyamf/util.c:16: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cpyamf/util.c: In function ‘__Pyx_ExceptionSwap’: cpyamf/util.c:14315:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 14315 | tmp_type = tstate->exc_type; | ^~~~~~~~ | curexc_type cpyamf/util.c:14316:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 14316 | tmp_value = tstate->exc_value; | ^~~~~~~~~ | curexc_value cpyamf/util.c:14317:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 14317 | tmp_tb = tstate->exc_traceback; | ^~~~~~~~~~~~~ | curexc_traceback cpyamf/util.c:14318:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 14318 | tstate->exc_type = *type; | ^~~~~~~~ | curexc_type cpyamf/util.c:14319:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 14319 | tstate->exc_value = *value; | ^~~~~~~~~ | curexc_value cpyamf/util.c:14320:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 14320 | 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.rAlTlz (%build) Bad exit status from /var/tmp/rpm-tmp.rAlTlz (%build) RPM build errors: 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-pyamf.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-pyamf.spec