Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-pyamf.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1683369462.521250/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 aarch64 --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: aarch64 Building for target aarch64 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 aarch64 --nodeps /builddir/build/SPECS/python-pyamf.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1683369462.521250/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 aarch64 --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: aarch64 Building for target aarch64 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 aarch64 --nodeps /builddir/build/SPECS/python-pyamf.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1683369462.521250/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 aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cGuo4h + 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.1i06Fr + 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 -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/cpyamf copying cpyamf/__init__.py -> build/lib.linux-aarch64-3.9/cpyamf creating build/lib.linux-aarch64-3.9/pyamf copying pyamf/sol.py -> build/lib.linux-aarch64-3.9/pyamf copying pyamf/codec.py -> build/lib.linux-aarch64-3.9/pyamf copying pyamf/__init__.py -> build/lib.linux-aarch64-3.9/pyamf copying pyamf/amf3.py -> build/lib.linux-aarch64-3.9/pyamf copying pyamf/xml.py -> build/lib.linux-aarch64-3.9/pyamf copying pyamf/python.py -> build/lib.linux-aarch64-3.9/pyamf copying pyamf/amf0.py -> build/lib.linux-aarch64-3.9/pyamf copying pyamf/_version.py -> build/lib.linux-aarch64-3.9/pyamf copying pyamf/alias.py -> build/lib.linux-aarch64-3.9/pyamf copying pyamf/versions.py -> build/lib.linux-aarch64-3.9/pyamf creating build/lib.linux-aarch64-3.9/pyamf/remoting copying pyamf/remoting/__init__.py -> build/lib.linux-aarch64-3.9/pyamf/remoting copying pyamf/remoting/amf3.py -> build/lib.linux-aarch64-3.9/pyamf/remoting copying pyamf/remoting/amf0.py -> build/lib.linux-aarch64-3.9/pyamf/remoting creating build/lib.linux-aarch64-3.9/pyamf/tests copying pyamf/tests/test_adapters.py -> build/lib.linux-aarch64-3.9/pyamf/tests copying pyamf/tests/test_flex.py -> build/lib.linux-aarch64-3.9/pyamf/tests copying pyamf/tests/test_remoting.py -> build/lib.linux-aarch64-3.9/pyamf/tests copying pyamf/tests/test_amf0.py -> build/lib.linux-aarch64-3.9/pyamf/tests copying pyamf/tests/__init__.py -> build/lib.linux-aarch64-3.9/pyamf/tests copying pyamf/tests/test_imports.py -> build/lib.linux-aarch64-3.9/pyamf/tests copying pyamf/tests/test_versions.py -> build/lib.linux-aarch64-3.9/pyamf/tests copying pyamf/tests/test_xml.py -> build/lib.linux-aarch64-3.9/pyamf/tests copying pyamf/tests/test_amf3.py -> build/lib.linux-aarch64-3.9/pyamf/tests copying pyamf/tests/test_codec.py -> build/lib.linux-aarch64-3.9/pyamf/tests copying pyamf/tests/test_alias.py -> build/lib.linux-aarch64-3.9/pyamf/tests copying pyamf/tests/test_util.py -> build/lib.linux-aarch64-3.9/pyamf/tests copying pyamf/tests/test_flex_messaging.py -> build/lib.linux-aarch64-3.9/pyamf/tests copying pyamf/tests/test_sol.py -> build/lib.linux-aarch64-3.9/pyamf/tests copying pyamf/tests/test_gateway.py -> build/lib.linux-aarch64-3.9/pyamf/tests copying pyamf/tests/test_adapters_util.py -> build/lib.linux-aarch64-3.9/pyamf/tests copying pyamf/tests/test_basic.py -> build/lib.linux-aarch64-3.9/pyamf/tests copying pyamf/tests/util.py -> build/lib.linux-aarch64-3.9/pyamf/tests creating build/lib.linux-aarch64-3.9/pyamf/flex copying pyamf/flex/__init__.py -> build/lib.linux-aarch64-3.9/pyamf/flex copying pyamf/flex/data.py -> build/lib.linux-aarch64-3.9/pyamf/flex copying pyamf/flex/messaging.py -> build/lib.linux-aarch64-3.9/pyamf/flex creating build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/_sqlalchemy_orm.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/_django_utils_translation.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/models.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/_django_db_models_base.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/_array.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/__init__.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/_django_db_models_query.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/_django_contrib_auth_models.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/_elixir.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/_django_db_models_fields.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/_sqlalchemy_orm_collections.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/_google_appengine_api_datastore_types.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/_google_appengine_ext_blobstore.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/_sets.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/_google_appengine_ext_db.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/_collections.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/_google_appengine_ext_ndb.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/_weakref.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/gae_base.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/_decimal.py -> build/lib.linux-aarch64-3.9/pyamf/adapters copying pyamf/adapters/util.py -> build/lib.linux-aarch64-3.9/pyamf/adapters creating build/lib.linux-aarch64-3.9/pyamf/util copying pyamf/util/__init__.py -> build/lib.linux-aarch64-3.9/pyamf/util copying pyamf/util/pure.py -> build/lib.linux-aarch64-3.9/pyamf/util copying pyamf/util/imports.py -> build/lib.linux-aarch64-3.9/pyamf/util creating build/lib.linux-aarch64-3.9/pyamf/remoting/gateway copying pyamf/remoting/gateway/__init__.py -> build/lib.linux-aarch64-3.9/pyamf/remoting/gateway copying pyamf/remoting/gateway/twisted.py -> build/lib.linux-aarch64-3.9/pyamf/remoting/gateway copying pyamf/remoting/gateway/django.py -> build/lib.linux-aarch64-3.9/pyamf/remoting/gateway copying pyamf/remoting/gateway/google.py -> build/lib.linux-aarch64-3.9/pyamf/remoting/gateway copying pyamf/remoting/gateway/wsgi.py -> build/lib.linux-aarch64-3.9/pyamf/remoting/gateway creating build/lib.linux-aarch64-3.9/pyamf/remoting/client copying pyamf/remoting/client/__init__.py -> build/lib.linux-aarch64-3.9/pyamf/remoting/client creating build/lib.linux-aarch64-3.9/pyamf/tests/modules copying pyamf/tests/modules/__init__.py -> build/lib.linux-aarch64-3.9/pyamf/tests/modules copying pyamf/tests/modules/test_decimal.py -> build/lib.linux-aarch64-3.9/pyamf/tests/modules copying pyamf/tests/modules/test_sets.py -> build/lib.linux-aarch64-3.9/pyamf/tests/modules creating build/lib.linux-aarch64-3.9/pyamf/tests/remoting copying pyamf/tests/remoting/test_amf0.py -> build/lib.linux-aarch64-3.9/pyamf/tests/remoting copying pyamf/tests/remoting/__init__.py -> build/lib.linux-aarch64-3.9/pyamf/tests/remoting copying pyamf/tests/remoting/test_client.py -> build/lib.linux-aarch64-3.9/pyamf/tests/remoting copying pyamf/tests/remoting/test_remoteobject.py -> build/lib.linux-aarch64-3.9/pyamf/tests/remoting creating build/lib.linux-aarch64-3.9/pyamf/tests/gateway copying pyamf/tests/gateway/test_google.py -> build/lib.linux-aarch64-3.9/pyamf/tests/gateway copying pyamf/tests/gateway/__init__.py -> build/lib.linux-aarch64-3.9/pyamf/tests/gateway copying pyamf/tests/gateway/test_wsgi.py -> build/lib.linux-aarch64-3.9/pyamf/tests/gateway copying pyamf/tests/gateway/test_django.py -> build/lib.linux-aarch64-3.9/pyamf/tests/gateway copying pyamf/tests/gateway/test_twisted.py -> build/lib.linux-aarch64-3.9/pyamf/tests/gateway creating build/lib.linux-aarch64-3.9/pyamf/adapters/tests copying pyamf/adapters/tests/test_collections.py -> build/lib.linux-aarch64-3.9/pyamf/adapters/tests copying pyamf/adapters/tests/__init__.py -> build/lib.linux-aarch64-3.9/pyamf/adapters/tests copying pyamf/adapters/tests/test_sqlalchemy.py -> build/lib.linux-aarch64-3.9/pyamf/adapters/tests copying pyamf/adapters/tests/test_weakref.py -> build/lib.linux-aarch64-3.9/pyamf/adapters/tests copying pyamf/adapters/tests/test_array.py -> build/lib.linux-aarch64-3.9/pyamf/adapters/tests copying pyamf/adapters/tests/test_elixir.py -> build/lib.linux-aarch64-3.9/pyamf/adapters/tests copying pyamf/adapters/tests/test_django.py -> build/lib.linux-aarch64-3.9/pyamf/adapters/tests creating build/lib.linux-aarch64-3.9/pyamf/adapters/tests/django_app copying pyamf/adapters/tests/django_app/__init__.py -> build/lib.linux-aarch64-3.9/pyamf/adapters/tests/django_app copying pyamf/adapters/tests/django_app/settings.py -> build/lib.linux-aarch64-3.9/pyamf/adapters/tests/django_app creating build/lib.linux-aarch64-3.9/pyamf/adapters/tests/google copying pyamf/adapters/tests/google/test_datastore_types.py -> build/lib.linux-aarch64-3.9/pyamf/adapters/tests/google copying pyamf/adapters/tests/google/__init__.py -> build/lib.linux-aarch64-3.9/pyamf/adapters/tests/google copying pyamf/adapters/tests/google/_ndb_models.py -> build/lib.linux-aarch64-3.9/pyamf/adapters/tests/google copying pyamf/adapters/tests/google/test_ndb.py -> build/lib.linux-aarch64-3.9/pyamf/adapters/tests/google copying pyamf/adapters/tests/google/test_xdb.py -> build/lib.linux-aarch64-3.9/pyamf/adapters/tests/google copying pyamf/adapters/tests/google/test_blobstore.py -> build/lib.linux-aarch64-3.9/pyamf/adapters/tests/google copying pyamf/adapters/tests/google/_xdb_models.py -> build/lib.linux-aarch64-3.9/pyamf/adapters/tests/google creating build/lib.linux-aarch64-3.9/pyamf/adapters/tests/django_app/adapters copying pyamf/adapters/tests/django_app/adapters/models.py -> build/lib.linux-aarch64-3.9/pyamf/adapters/tests/django_app/adapters copying pyamf/adapters/tests/django_app/adapters/__init__.py -> build/lib.linux-aarch64-3.9/pyamf/adapters/tests/django_app/adapters copying cpyamf/amf3.pxd -> build/lib.linux-aarch64-3.9/cpyamf copying cpyamf/amf0.pxd -> build/lib.linux-aarch64-3.9/cpyamf copying cpyamf/util.pxd -> build/lib.linux-aarch64-3.9/cpyamf copying cpyamf/codec.pxd -> build/lib.linux-aarch64-3.9/cpyamf running build_ext building 'cpyamf.amf0' extension creating build/temp.linux-aarch64-3.9 creating build/temp.linux-aarch64-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 -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 cpyamf/amf0.c -o build/temp.linux-aarch64-3.9/cpyamf/amf0.o cpyamf/amf0.c: In function ‘__pyx_f_6cpyamf_4amf0_7Decoder_readLongString’: cpyamf/amf0.c:3854:15: warning: implicit declaration of function ‘PyString_FromStringAndSize’; did you mean ‘PyBytes_FromStringAndSize’? [-Wimplicit-function-declaration] 3854 | __pyx_t_3 = PyString_FromStringAndSize(__pyx_v_b, ((Py_ssize_t)__pyx_v_l)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | PyBytes_FromStringAndSize cpyamf/amf0.c:3854:13: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 3854 | __pyx_t_3 = PyString_FromStringAndSize(__pyx_v_b, ((Py_ssize_t)__pyx_v_l)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | ^ cpyamf/amf0.c: In function ‘__pyx_f_6cpyamf_4amf0_7Encoder_writeBytes’: cpyamf/amf0.c:5910:15: warning: implicit declaration of function ‘PyString_GET_SIZE’; did you mean ‘PyList_GET_SIZE’? [-Wimplicit-function-declaration] 5910 | __pyx_v_l = PyString_GET_SIZE(__pyx_v_s); | ^~~~~~~~~~~~~~~~~ | PyList_GET_SIZE cpyamf/amf0.c:5985:184: warning: implicit declaration of function ‘PyString_AS_STRING’; did you mean ‘PyBytes_AS_STRING’? [-Wimplicit-function-declaration] 5985 | __pyx_t_2 = ((struct __pyx_vtabstruct_6cpyamf_4util_cBufferedByteStream *)__pyx_v_self->__pyx_base.__pyx_base.stream->__pyx_vtab)->write(__pyx_v_self->__pyx_base.__pyx_base.stream, PyString_AS_STRING(__pyx_v_s), __pyx_v_l); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 421; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | ^~~~~~~~~~~~~~~~~~ | PyBytes_AS_STRING cpyamf/amf0.c:5985:184: warning: passing argument 2 of ‘__pyx_v_self->__pyx_base.__pyx_base.stream->__pyx_vtab->write’ makes pointer from integer without a cast [-Wint-conversion] 5985 | __pyx_t_2 = ((struct __pyx_vtabstruct_6cpyamf_4util_cBufferedByteStream *)__pyx_v_self->__pyx_base.__pyx_base.stream->__pyx_vtab)->write(__pyx_v_self->__pyx_base.__pyx_base.stream, PyString_AS_STRING(__pyx_v_s), __pyx_v_l); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 421; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int cpyamf/amf0.c:5985:184: note: expected ‘char *’ but argument is of type ‘int’ cpyamf/amf0.c: In function ‘__pyx_f_6cpyamf_4amf0_7Encoder_serialiseString’: cpyamf/amf0.c:6208:184: warning: passing argument 2 of ‘__pyx_v_self->__pyx_base.__pyx_base.stream->__pyx_vtab->write’ makes pointer from integer without a cast [-Wint-conversion] 6208 | __pyx_t_6 = ((struct __pyx_vtabstruct_6cpyamf_4util_cBufferedByteStream *)__pyx_v_self->__pyx_base.__pyx_base.stream->__pyx_vtab)->write(__pyx_v_self->__pyx_base.__pyx_base.stream, PyString_AS_STRING(__pyx_v_u), __pyx_v_l); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int cpyamf/amf0.c:6208:184: note: expected ‘char *’ but argument is of type ‘int’ cpyamf/amf0.c: In function ‘__pyx_f_6cpyamf_4amf0_7Encoder_writeXML’: cpyamf/amf0.c:6429:184: warning: passing argument 2 of ‘__pyx_v_self->__pyx_base.__pyx_base.stream->__pyx_vtab->write’ makes pointer from integer without a cast [-Wint-conversion] 6429 | __pyx_t_1 = ((struct __pyx_vtabstruct_6cpyamf_4util_cBufferedByteStream *)__pyx_v_self->__pyx_base.__pyx_base.stream->__pyx_vtab)->write(__pyx_v_self->__pyx_base.__pyx_base.stream, PyString_AS_STRING(__pyx_v_data), __pyx_v_l); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 465; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int cpyamf/amf0.c:6429:184: note: expected ‘char *’ but argument is of type ‘int’ cpyamf/amf0.c: In function ‘PyInit_amf0’: cpyamf/amf0.c:8802:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 8802 | __pyx_type_6cpyamf_4amf0_Context.tp_print = 0; | ^ cpyamf/amf0.c:8827:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 8827 | __pyx_type_6cpyamf_4amf0_Decoder.tp_print = 0; | ^ cpyamf/amf0.c:8858:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 8858 | __pyx_type_6cpyamf_4amf0_Encoder.tp_print = 0; | ^ cpyamf/amf0.c: In function ‘__Pyx_ExceptionSave’: cpyamf/amf0.c:9354:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 9354 | *type = tstate->exc_type; | ^~~~~~~~ | curexc_type cpyamf/amf0.c:9355:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 9355 | *value = tstate->exc_value; | ^~~~~~~~~ | curexc_value cpyamf/amf0.c:9356:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 9356 | *tb = tstate->exc_traceback; | ^~~~~~~~~~~~~ | curexc_traceback cpyamf/amf0.c: In function ‘__Pyx_ExceptionReset’: cpyamf/amf0.c:9368:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 9368 | tmp_type = tstate->exc_type; | ^~~~~~~~ | curexc_type cpyamf/amf0.c:9369:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 9369 | tmp_value = tstate->exc_value; | ^~~~~~~~~ | curexc_value cpyamf/amf0.c:9370:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 9370 | tmp_tb = tstate->exc_traceback; | ^~~~~~~~~~~~~ | curexc_traceback cpyamf/amf0.c:9371:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 9371 | tstate->exc_type = type; | ^~~~~~~~ | curexc_type cpyamf/amf0.c:9372:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 9372 | tstate->exc_value = value; | ^~~~~~~~~ | curexc_value cpyamf/amf0.c:9373:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 9373 | tstate->exc_traceback = tb; | ^~~~~~~~~~~~~ | curexc_traceback cpyamf/amf0.c: In function ‘__Pyx_GetException’: cpyamf/amf0.c:9416:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 9416 | tmp_type = tstate->exc_type; | ^~~~~~~~ | curexc_type cpyamf/amf0.c:9417:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 9417 | tmp_value = tstate->exc_value; | ^~~~~~~~~ | curexc_value cpyamf/amf0.c:9418:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 9418 | tmp_tb = tstate->exc_traceback; | ^~~~~~~~~~~~~ | curexc_traceback cpyamf/amf0.c:9419:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 9419 | tstate->exc_type = local_type; | ^~~~~~~~ | curexc_type cpyamf/amf0.c:9420:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 9420 | tstate->exc_value = local_value; | ^~~~~~~~~ | curexc_value cpyamf/amf0.c:9421:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 9421 | tstate->exc_traceback = local_tb; | ^~~~~~~~~~~~~ | curexc_traceback cpyamf/amf0.c: In function ‘__Pyx_ParseOptionalKeywords’: cpyamf/amf0.c:9963:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 9963 | (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/amf0.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/amf0.c:9963:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 9963 | (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/amf0.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/amf0.c:9963:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 9963 | (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/amf0.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/amf0.c:9963:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 9963 | (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/amf0.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/amf0.c:9963:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 9963 | (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/amf0.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/amf0.c:9963:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 9963 | (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/amf0.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/amf0.c:9979:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 9979 | (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/amf0.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/amf0.c:9979:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 9979 | (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/amf0.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/amf0.c:9979:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 9979 | (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/amf0.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/amf0.c:9979:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 9979 | (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/amf0.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/amf0.c:9979:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 9979 | (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/amf0.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/amf0.c:9979:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 9979 | (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/amf0.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) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /var/tmp/rpm-tmp.1i06Fr (%build) Bad exit status from /var/tmp/rpm-tmp.1i06Fr (%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-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 aarch64 --nodeps /builddir/build/SPECS/python-pyamf.spec