Source: azure-uamqp-python Version: 1.6.9-3 Severity: normal User: [email protected] Usertags: python3.13 Forwarded: https://github.com/Azure/azure-uamqp-python/issues/399
This package failed build from source when test-built against a version of python3-defaults that includes 3.13 as a supported version. To reproduce this issue, build against python3-defaults (python3-all-dev etc.) from Debian experimental. What's new in Python 3.13: https://docs.python.org/3.13/whatsnew/3.13.html Log snippet: creating build/temp.linux-aarch64-cpython-313/uamqp aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-error=deprecated-declarations -Wno-error=incompatible-pointer-types -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./src/vendor/inc -I./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc -I./src/vendor/azure-uamqp-c/deps/umock-c/inc -I./src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/pal/inc -I./src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/inc -I./src/vendor/azure-uamqp-c/inc -I./src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/pal/linux -I/usr/include/python3.13 -c uamqp/c_uamqp.c -o build/temp.linux-aarch64-cpython-313/uamqp/c_uamqp.o -g -O0 -std=gnu99 -fPIC uamqp/c_uamqp.c:942:1: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 942 | static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u) { | ^~~~~~ uamqp/c_uamqp.c: In function ‘__Pyx_Py_UNICODE_strlen’: uamqp/c_uamqp.c:943:5: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 943 | const Py_UNICODE *u_end = u; | ^~~~~ uamqp/c_uamqp.c: In function ‘__Pyx_init_assertions_enabled’: uamqp/c_uamqp.c:3165:39: error: implicit declaration of function ‘_PyInterpreterState_GetConfig’; did you mean ‘PyInterpreterState_GetID’? [-Wimplicit-function-declaration] 3165 | __pyx_assertions_enabled_flag = ! _PyInterpreterState_GetConfig(__Pyx_PyThreadState_Current->interp)->optimization_level; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | PyInterpreterState_GetID uamqp/c_uamqp.c:3165:105: error: invalid type argument of ‘->’ (have ‘int’) 3165 | __pyx_assertions_enabled_flag = ! _PyInterpreterState_GetConfig(__Pyx_PyThreadState_Current->interp)->optimization_level; | ^~ uamqp/c_uamqp.c: In function ‘__pyx_f_5uamqp_7c_uamqp_10AMQPString_append’: uamqp/c_uamqp.c:10868:69: warning: passing argument 2 of ‘STRING_concat_with_STRING’ from incompatible pointer type [-Wincompatible-pointer-types] 10868 | __pyx_t_6 = ((STRING_concat_with_STRING(__pyx_v_self->_c_value, __pyx_t_1) != 0) != 0); | ^~~~~~~~~ | | | PyObject * {aka struct _object *} In file included from ./src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/inc/azure_c_shared_utility/strings.h:13, from uamqp/c_uamqp.c:828: ./src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/inc/azure_c_shared_utility/strings.h:31:87: note: expected ‘STRING_HANDLE’ {aka ‘struct STRING_TAG *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’} 31 | MOCKABLE_FUNCTION(, int, STRING_concat_with_STRING, STRING_HANDLE, s1, STRING_HANDLE, s2); | ~~~~~~~~~~~~~~~^~ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:86:75: note: in definition of macro ‘UMOCK_C_PROD_ARG_IN_SIGNATURE’ 86 | #define UMOCK_C_PROD_ARG_IN_SIGNATURE(count, arg_type, arg_name) arg_type arg_name MU_IFCOMMA(count) | ^~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils_generated.h:11957:1: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_2’ 11957 | MU_FOR_EACH_2_COUNTED_2(X, P3, P4) | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils.h:35:21: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_4’ 35 | #define MU_C2_(x,y) x##y | ^ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:89:70: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED’ 89 | result modifiers function(MU_IF(MU_COUNT_ARG(__VA_ARGS__),,void) MU_FOR_EACH_2_COUNTED(UMOCK_C_PROD_ARG_IN_SIGNATURE, __VA_ARGS__)) | ^~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:95:5: note: in expansion of macro ‘MOCKABLE_FUNCTION_SIGNATURE’ 95 | MOCKABLE_FUNCTION_SIGNATURE(modifiers, result, function, __VA_ARGS__); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/inc/azure_c_shared_utility/strings.h:31:1: note: in expansion of macro ‘MOCKABLE_FUNCTION’ 31 | MOCKABLE_FUNCTION(, int, STRING_concat_with_STRING, STRING_HANDLE, s1, STRING_HANDLE, s2); | ^~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__pyx_f_5uamqp_7c_uamqp_9AMQPValue__as_string’: uamqp/c_uamqp.c:17171:8: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 17171 | free(__pyx_v_as_string); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.13/Python.h:38, from uamqp/c_uamqp.c:78: /usr/include/stdlib.h:687:25: note: expected ‘void *’ but argument is of type ‘const char *’ 687 | extern void free (void *__ptr) __THROW; | ~~~~~~^~~~~ uamqp/c_uamqp.c: In function ‘__pyx_f_5uamqp_7c_uamqp_9BoolValue__bool_value’: uamqp/c_uamqp.c:18619:75: warning: passing argument 2 of ‘amqpvalue_get_boolean’ from incompatible pointer type [-Wincompatible-pointer-types] 18619 | __pyx_t_5 = ((amqpvalue_get_boolean(__pyx_v_self->__pyx_base._c_value, (&__pyx_v__value)) == 0) != 0); | ~^~~~~~~~~~~~~~~~ | | | int * In file included from ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqpvalue.h:19, from ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqpvalue_to_string.h:6, from uamqp/c_uamqp.c:823: ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqpvalue.h:34:79: note: expected ‘_Bool *’ but argument is of type ‘int *’ 34 | MOCKABLE_FUNCTION(, int, amqpvalue_get_boolean, AMQP_VALUE, value, bool*, bool_value); | ^ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:86:75: note: in definition of macro ‘UMOCK_C_PROD_ARG_IN_SIGNATURE’ 86 | #define UMOCK_C_PROD_ARG_IN_SIGNATURE(count, arg_type, arg_name) arg_type arg_name MU_IFCOMMA(count) | ^~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils_generated.h:11957:1: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_2’ 11957 | MU_FOR_EACH_2_COUNTED_2(X, P3, P4) | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils.h:35:21: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_4’ 35 | #define MU_C2_(x,y) x##y | ^ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:89:70: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED’ 89 | result modifiers function(MU_IF(MU_COUNT_ARG(__VA_ARGS__),,void) MU_FOR_EACH_2_COUNTED(UMOCK_C_PROD_ARG_IN_SIGNATURE, __VA_ARGS__)) | ^~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:95:5: note: in expansion of macro ‘MOCKABLE_FUNCTION_SIGNATURE’ 95 | MOCKABLE_FUNCTION_SIGNATURE(modifiers, result, function, __VA_ARGS__); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqpvalue.h:34:5: note: in expansion of macro ‘MOCKABLE_FUNCTION’ 34 | MOCKABLE_FUNCTION(, int, amqpvalue_get_boolean, AMQP_VALUE, value, bool*, bool_value); | ^~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__pyx_f_5uamqp_7c_uamqp_on_cbs_put_token_complete’: uamqp/c_uamqp.c:41743:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 41743 | __pyx_t_1 = ((((void *)__pyx_v_status_code) != NULL) != 0); | ^ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_10Connection_14max_frame_size___get__’: uamqp/c_uamqp.c:44073:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 44073 | __pyx_t_1 = ((((void *)__pyx_v__value) == NULL) != 0); | ^ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_10Connection_11channel_max___get__’: uamqp/c_uamqp.c:44334:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 44334 | __pyx_t_1 = ((((void *)__pyx_v__value) == NULL) != 0); | ^ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_10Connection_12idle_timeout___get__’: uamqp/c_uamqp.c:44595:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 44595 | __pyx_t_1 = ((((void *)__pyx_v__value) == NULL) != 0); | ^ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_10Connection_21remote_max_frame_size___get__’: uamqp/c_uamqp.c:45112:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 45112 | __pyx_t_1 = ((((void *)__pyx_v__value) == NULL) != 0); | ^ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_7cHeader_14delivery_count___get__’: uamqp/c_uamqp.c:48580:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 48580 | __pyx_t_1 = ((((void *)__pyx_v__value) == NULL) != 0); | ^ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_7cHeader_12time_to_live___get__’: uamqp/c_uamqp.c:48828:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 48828 | __pyx_t_1 = ((((void *)__pyx_v__value) == NULL) != 0); | ^ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_7cHeader_7durable___get__’: uamqp/c_uamqp.c:49066:61: warning: passing argument 2 of ‘header_get_durable’ from incompatible pointer type [-Wincompatible-pointer-types] 49066 | __pyx_t_1 = ((header_get_durable(__pyx_v_self->_c_value, (&__pyx_v__value)) == 0) != 0); | ~^~~~~~~~~~~~~~~~ | | | int * In file included from ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_header.h:22, from ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions.h:68, from uamqp/c_uamqp.c:826: ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_header.h:33:80: note: expected ‘_Bool *’ but argument is of type ‘int *’ 33 | MOCKABLE_FUNCTION(, int, header_get_durable, HEADER_HANDLE, header, bool*, durable_value); | ^ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:86:75: note: in definition of macro ‘UMOCK_C_PROD_ARG_IN_SIGNATURE’ 86 | #define UMOCK_C_PROD_ARG_IN_SIGNATURE(count, arg_type, arg_name) arg_type arg_name MU_IFCOMMA(count) | ^~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils_generated.h:11957:1: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_2’ 11957 | MU_FOR_EACH_2_COUNTED_2(X, P3, P4) | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils.h:35:21: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_4’ 35 | #define MU_C2_(x,y) x##y | ^ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:89:70: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED’ 89 | result modifiers function(MU_IF(MU_COUNT_ARG(__VA_ARGS__),,void) MU_FOR_EACH_2_COUNTED(UMOCK_C_PROD_ARG_IN_SIGNATURE, __VA_ARGS__)) | ^~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:95:5: note: in expansion of macro ‘MOCKABLE_FUNCTION_SIGNATURE’ 95 | MOCKABLE_FUNCTION_SIGNATURE(modifiers, result, function, __VA_ARGS__); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_header.h:33:5: note: in expansion of macro ‘MOCKABLE_FUNCTION’ 33 | MOCKABLE_FUNCTION(, int, header_get_durable, HEADER_HANDLE, header, bool*, durable_value); | ^~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c:49076:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 49076 | __pyx_t_1 = ((((void *)__pyx_v__value) == NULL) != 0); | ^ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_7cHeader_14first_acquirer___get__’: uamqp/c_uamqp.c:49314:68: warning: passing argument 2 of ‘header_get_first_acquirer’ from incompatible pointer type [-Wincompatible-pointer-types] 49314 | __pyx_t_1 = ((header_get_first_acquirer(__pyx_v_self->_c_value, (&__pyx_v__value)) == 0) != 0); | ~^~~~~~~~~~~~~~~~ | | | int * ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_header.h:39:87: note: expected ‘_Bool *’ but argument is of type ‘int *’ 39 | MOCKABLE_FUNCTION(, int, header_get_first_acquirer, HEADER_HANDLE, header, bool*, first_acquirer_value); | ^ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:86:75: note: in definition of macro ‘UMOCK_C_PROD_ARG_IN_SIGNATURE’ 86 | #define UMOCK_C_PROD_ARG_IN_SIGNATURE(count, arg_type, arg_name) arg_type arg_name MU_IFCOMMA(count) | ^~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils_generated.h:11957:1: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_2’ 11957 | MU_FOR_EACH_2_COUNTED_2(X, P3, P4) | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils.h:35:21: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_4’ 35 | #define MU_C2_(x,y) x##y | ^ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:89:70: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED’ 89 | result modifiers function(MU_IF(MU_COUNT_ARG(__VA_ARGS__),,void) MU_FOR_EACH_2_COUNTED(UMOCK_C_PROD_ARG_IN_SIGNATURE, __VA_ARGS__)) | ^~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:95:5: note: in expansion of macro ‘MOCKABLE_FUNCTION_SIGNATURE’ 95 | MOCKABLE_FUNCTION_SIGNATURE(modifiers, result, function, __VA_ARGS__); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_header.h:39:5: note: in expansion of macro ‘MOCKABLE_FUNCTION’ 39 | MOCKABLE_FUNCTION(, int, header_get_first_acquirer, HEADER_HANDLE, header, bool*, first_acquirer_value); | ^~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c:49324:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 49324 | __pyx_t_1 = ((((void *)__pyx_v__value) == NULL) != 0); | ^ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_7cHeader_8priority___get__’: uamqp/c_uamqp.c:49572:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 49572 | __pyx_t_1 = ((((void *)__pyx_v__value) == NULL) != 0); | ^ uamqp/c_uamqp.c: In function ‘__pyx_f_5uamqp_7c_uamqp_create_message_receiver’: uamqp/c_uamqp.c:65588:146: warning: passing argument 3 of ‘__pyx_v_receiver->__pyx_vtab->create’ from incompatible pointer type [-Wincompatible-pointer-types] 65588 | __pyx_t_1 = ((struct __pyx_vtabstruct_5uamqp_7c_uamqp_cMessageReceiver *)__pyx_v_receiver->__pyx_vtab)->create(__pyx_v_receiver, __pyx_v_link, __pyx_f_5uamqp_7c_uamqp_on_message_receiver_state_changed, ((void *)__pyx_v_callback_context)); if (unlikely(!__pyx_t_1)) __PYX_ERR(7, 23, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, enum MESSAGE_RECEIVER_STATE_TAG, enum MESSAGE_RECEIVER_STATE_TAG) uamqp/c_uamqp.c:65588:146: note: expected ‘ON_MESSAGE_RECEIVER_STATE_CHANGED’ {aka ‘void (*)(const void *, enum MESSAGE_RECEIVER_STATE_TAG, enum MESSAGE_RECEIVER_STATE_TAG)’} but argument is of type ‘void (*)(void *, enum MESSAGE_RECEIVER_STATE_TAG, enum MESSAGE_RECEIVER_STATE_TAG)’ uamqp/c_uamqp.c: In function ‘__pyx_f_5uamqp_7c_uamqp_get_default_tlsio’: uamqp/c_uamqp.c:71963:138: warning: passing argument 2 of ‘__pyx_v_interface->__pyx_vtab->wrap’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 71963 | __pyx_t_2 = ((struct __pyx_vtabstruct_5uamqp_7c_uamqp_IOInterfaceDescription *)__pyx_v_interface->__pyx_vtab)->wrap(__pyx_v_interface, __pyx_v_io_desc); if (unlikely(!__pyx_t_2)) __PYX_ERR(17, 50, __pyx_L1_error) | ^~~~~~~~~~~~~~~ uamqp/c_uamqp.c:71963:138: note: expected ‘IO_INTERFACE_DESCRIPTION *’ {aka ‘struct IO_INTERFACE_DESCRIPTION_TAG *’} but argument is of type ‘const IO_INTERFACE_DESCRIPTION *’ {aka ‘const struct IO_INTERFACE_DESCRIPTION_TAG *’} uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_11cProperties_7subject___get__’: uamqp/c_uamqp.c:74225:65: warning: passing argument 2 of ‘properties_get_subject’ from incompatible pointer type [-Wincompatible-pointer-types] 74225 | __pyx_t_1 = ((properties_get_subject(__pyx_v_self->_c_value, (&__pyx_v__value)) == 0) != 0); | ~^~~~~~~~~~~~~~~~ | | | char ** In file included from ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_properties.h:22, from ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions.h:76: ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_properties.h:39:99: note: expected ‘const char **’ but argument is of type ‘char **’ 39 | MOCKABLE_FUNCTION(, int, properties_get_subject, PROPERTIES_HANDLE, properties, const char**, subject_value); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:86:75: note: in definition of macro ‘UMOCK_C_PROD_ARG_IN_SIGNATURE’ 86 | #define UMOCK_C_PROD_ARG_IN_SIGNATURE(count, arg_type, arg_name) arg_type arg_name MU_IFCOMMA(count) | ^~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils_generated.h:11957:1: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_2’ 11957 | MU_FOR_EACH_2_COUNTED_2(X, P3, P4) | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils.h:35:21: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_4’ 35 | #define MU_C2_(x,y) x##y | ^ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:89:70: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED’ 89 | result modifiers function(MU_IF(MU_COUNT_ARG(__VA_ARGS__),,void) MU_FOR_EACH_2_COUNTED(UMOCK_C_PROD_ARG_IN_SIGNATURE, __VA_ARGS__)) | ^~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:95:5: note: in expansion of macro ‘MOCKABLE_FUNCTION_SIGNATURE’ 95 | MOCKABLE_FUNCTION_SIGNATURE(modifiers, result, function, __VA_ARGS__); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_properties.h:39:5: note: in expansion of macro ‘MOCKABLE_FUNCTION’ 39 | MOCKABLE_FUNCTION(, int, properties_get_subject, PROPERTIES_HANDLE, properties, const char**, subject_value); | ^~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_11cProperties_12content_type___get__’: uamqp/c_uamqp.c:75077:70: warning: passing argument 2 of ‘properties_get_content_type’ from incompatible pointer type [-Wincompatible-pointer-types] 75077 | __pyx_t_1 = ((properties_get_content_type(__pyx_v_self->_c_value, (&__pyx_v__value)) == 0) != 0); | ~^~~~~~~~~~~~~~~~ | | | char ** ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_properties.h:45:104: note: expected ‘const char **’ but argument is of type ‘char **’ 45 | MOCKABLE_FUNCTION(, int, properties_get_content_type, PROPERTIES_HANDLE, properties, const char**, content_type_value); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:86:75: note: in definition of macro ‘UMOCK_C_PROD_ARG_IN_SIGNATURE’ 86 | #define UMOCK_C_PROD_ARG_IN_SIGNATURE(count, arg_type, arg_name) arg_type arg_name MU_IFCOMMA(count) | ^~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils_generated.h:11957:1: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_2’ 11957 | MU_FOR_EACH_2_COUNTED_2(X, P3, P4) | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils.h:35:21: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_4’ 35 | #define MU_C2_(x,y) x##y | ^ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:89:70: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED’ 89 | result modifiers function(MU_IF(MU_COUNT_ARG(__VA_ARGS__),,void) MU_FOR_EACH_2_COUNTED(UMOCK_C_PROD_ARG_IN_SIGNATURE, __VA_ARGS__)) | ^~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:95:5: note: in expansion of macro ‘MOCKABLE_FUNCTION_SIGNATURE’ 95 | MOCKABLE_FUNCTION_SIGNATURE(modifiers, result, function, __VA_ARGS__); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_properties.h:45:5: note: in expansion of macro ‘MOCKABLE_FUNCTION’ 45 | MOCKABLE_FUNCTION(, int, properties_get_content_type, PROPERTIES_HANDLE, properties, const char**, content_type_value); | ^~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_11cProperties_16content_encoding___get__’: uamqp/c_uamqp.c:75325:74: warning: passing argument 2 of ‘properties_get_content_encoding’ from incompatible pointer type [-Wincompatible-pointer-types] 75325 | __pyx_t_1 = ((properties_get_content_encoding(__pyx_v_self->_c_value, (&__pyx_v__value)) == 0) != 0); | ~^~~~~~~~~~~~~~~~ | | | char ** ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_properties.h:47:108: note: expected ‘const char **’ but argument is of type ‘char **’ 47 | MOCKABLE_FUNCTION(, int, properties_get_content_encoding, PROPERTIES_HANDLE, properties, const char**, content_encoding_value); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:86:75: note: in definition of macro ‘UMOCK_C_PROD_ARG_IN_SIGNATURE’ 86 | #define UMOCK_C_PROD_ARG_IN_SIGNATURE(count, arg_type, arg_name) arg_type arg_name MU_IFCOMMA(count) | ^~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils_generated.h:11957:1: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_2’ 11957 | MU_FOR_EACH_2_COUNTED_2(X, P3, P4) | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils.h:35:21: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_4’ 35 | #define MU_C2_(x,y) x##y | ^ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:89:70: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED’ 89 | result modifiers function(MU_IF(MU_COUNT_ARG(__VA_ARGS__),,void) MU_FOR_EACH_2_COUNTED(UMOCK_C_PROD_ARG_IN_SIGNATURE, __VA_ARGS__)) | ^~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:95:5: note: in expansion of macro ‘MOCKABLE_FUNCTION_SIGNATURE’ 95 | MOCKABLE_FUNCTION_SIGNATURE(modifiers, result, function, __VA_ARGS__); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_properties.h:47:5: note: in expansion of macro ‘MOCKABLE_FUNCTION’ 47 | MOCKABLE_FUNCTION(, int, properties_get_content_encoding, PROPERTIES_HANDLE, properties, const char**, content_encoding_value); | ^~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_11cProperties_14group_sequence___get__’: uamqp/c_uamqp.c:76327:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 76327 | __pyx_t_1 = ((((void *)__pyx_v__value) == NULL) != 0); | ^ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_11cProperties_17reply_to_group_id___get__’: uamqp/c_uamqp.c:76565:75: warning: passing argument 2 of ‘properties_get_reply_to_group_id’ from incompatible pointer type [-Wincompatible-pointer-types] 76565 | __pyx_t_1 = ((properties_get_reply_to_group_id(__pyx_v_self->_c_value, (&__pyx_v__value)) == 0) != 0); | ~^~~~~~~~~~~~~~~~ | | | char ** ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_properties.h:57:109: note: expected ‘const char **’ but argument is of type ‘char **’ 57 | MOCKABLE_FUNCTION(, int, properties_get_reply_to_group_id, PROPERTIES_HANDLE, properties, const char**, reply_to_group_id_value); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:86:75: note: in definition of macro ‘UMOCK_C_PROD_ARG_IN_SIGNATURE’ 86 | #define UMOCK_C_PROD_ARG_IN_SIGNATURE(count, arg_type, arg_name) arg_type arg_name MU_IFCOMMA(count) | ^~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils_generated.h:11957:1: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_2’ 11957 | MU_FOR_EACH_2_COUNTED_2(X, P3, P4) | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils.h:35:21: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_4’ 35 | #define MU_C2_(x,y) x##y | ^ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:89:70: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED’ 89 | result modifiers function(MU_IF(MU_COUNT_ARG(__VA_ARGS__),,void) MU_FOR_EACH_2_COUNTED(UMOCK_C_PROD_ARG_IN_SIGNATURE, __VA_ARGS__)) | ^~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:95:5: note: in expansion of macro ‘MOCKABLE_FUNCTION_SIGNATURE’ 95 | MOCKABLE_FUNCTION_SIGNATURE(modifiers, result, function, __VA_ARGS__); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_properties.h:57:5: note: in expansion of macro ‘MOCKABLE_FUNCTION’ 57 | MOCKABLE_FUNCTION(, int, properties_get_reply_to_group_id, PROPERTIES_HANDLE, properties, const char**, reply_to_group_id_value); | ^~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__pyx_f_5uamqp_7c_uamqp__get_sasl_mechanism_interface’: uamqp/c_uamqp.c:76965:139: warning: passing argument 2 of ‘__pyx_v_desc->__pyx_vtab->wrap’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 76965 | __pyx_t_2 = ((struct __pyx_vtabstruct_5uamqp_7c_uamqp_SASLMechanismInterfaceDescription *)__pyx_v_desc->__pyx_vtab)->wrap(__pyx_v_desc, __pyx_v_interface); if (unlikely(!__pyx_t_2)) __PYX_ERR(19, 24, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c:76965:139: note: expected ‘SASL_MECHANISM_INTERFACE_DESCRIPTION *’ {aka ‘struct SASL_MECHANISM_INTERFACE_TAG *’} but argument is of type ‘const SASL_MECHANISM_INTERFACE_DESCRIPTION *’ {aka ‘const struct SASL_MECHANISM_INTERFACE_TAG *’} uamqp/c_uamqp.c: In function ‘__pyx_f_5uamqp_7c_uamqp_saslanonymous_get_interface’: uamqp/c_uamqp.c:77068:19: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 77068 | __pyx_v_io_desc = saslanonymous_get_interface(); | ^ uamqp/c_uamqp.c: In function ‘__pyx_f_5uamqp_7c_uamqp_saslplain_get_interface’: uamqp/c_uamqp.c:77224:19: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 77224 | __pyx_v_io_desc = saslplain_get_interface(); | ^ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_7cSource_7durable___get__’: uamqp/c_uamqp.c:83648:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83648 | __pyx_t_1 = ((((void *)__pyx_v__value) == NULL) != 0); | ^ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_7cSource_7timeout___get__’: uamqp/c_uamqp.c:84162:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 84162 | __pyx_t_1 = ((((void *)__pyx_v__value) == NULL) != 0); | ^ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_7cSource_7dynamic___get__’: uamqp/c_uamqp.c:84374:61: warning: passing argument 2 of ‘source_get_dynamic’ from incompatible pointer type [-Wincompatible-pointer-types] 84374 | __pyx_t_1 = ((source_get_dynamic(__pyx_v_self->_c_value, (&__pyx_v__value)) != 0) != 0); | ~^~~~~~~~~~~~~~~~ | | | int * In file included from ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_source.h:22, from ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions.h:60: ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_source.h:41:80: note: expected ‘_Bool *’ but argument is of type ‘int *’ 41 | MOCKABLE_FUNCTION(, int, source_get_dynamic, SOURCE_HANDLE, source, bool*, dynamic_value); | ^ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:86:75: note: in definition of macro ‘UMOCK_C_PROD_ARG_IN_SIGNATURE’ 86 | #define UMOCK_C_PROD_ARG_IN_SIGNATURE(count, arg_type, arg_name) arg_type arg_name MU_IFCOMMA(count) | ^~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils_generated.h:11957:1: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_2’ 11957 | MU_FOR_EACH_2_COUNTED_2(X, P3, P4) | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils.h:35:21: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_4’ 35 | #define MU_C2_(x,y) x##y | ^ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:89:70: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED’ 89 | result modifiers function(MU_IF(MU_COUNT_ARG(__VA_ARGS__),,void) MU_FOR_EACH_2_COUNTED(UMOCK_C_PROD_ARG_IN_SIGNATURE, __VA_ARGS__)) | ^~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:95:5: note: in expansion of macro ‘MOCKABLE_FUNCTION_SIGNATURE’ 95 | MOCKABLE_FUNCTION_SIGNATURE(modifiers, result, function, __VA_ARGS__); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_source.h:41:5: note: in expansion of macro ‘MOCKABLE_FUNCTION’ 41 | MOCKABLE_FUNCTION(, int, source_get_dynamic, SOURCE_HANDLE, source, bool*, dynamic_value); | ^~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c:84419:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 84419 | __pyx_t_1 = ((((void *)__pyx_v__value) == NULL) != 0); | ^ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_7cTarget_7durable___get__’: uamqp/c_uamqp.c:86694:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 86694 | __pyx_t_1 = ((((void *)__pyx_v__value) == NULL) != 0); | ^ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_7cTarget_7timeout___get__’: uamqp/c_uamqp.c:87208:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 87208 | __pyx_t_1 = ((((void *)__pyx_v__value) == NULL) != 0); | ^ uamqp/c_uamqp.c: In function ‘__pyx_pf_5uamqp_7c_uamqp_7cTarget_7dynamic___get__’: uamqp/c_uamqp.c:87420:61: warning: passing argument 2 of ‘target_get_dynamic’ from incompatible pointer type [-Wincompatible-pointer-types] 87420 | __pyx_t_1 = ((target_get_dynamic(__pyx_v_self->_c_value, (&__pyx_v__value)) != 0) != 0); | ~^~~~~~~~~~~~~~~~ | | | int * In file included from ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_target.h:22, from ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions.h:61: ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_target.h:41:80: note: expected ‘_Bool *’ but argument is of type ‘int *’ 41 | MOCKABLE_FUNCTION(, int, target_get_dynamic, TARGET_HANDLE, target, bool*, dynamic_value); | ^ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:86:75: note: in definition of macro ‘UMOCK_C_PROD_ARG_IN_SIGNATURE’ 86 | #define UMOCK_C_PROD_ARG_IN_SIGNATURE(count, arg_type, arg_name) arg_type arg_name MU_IFCOMMA(count) | ^~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils_generated.h:11957:1: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_2’ 11957 | MU_FOR_EACH_2_COUNTED_2(X, P3, P4) | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/inc/azure_macro_utils/macro_utils.h:35:21: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED_4’ 35 | #define MU_C2_(x,y) x##y | ^ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:89:70: note: in expansion of macro ‘MU_FOR_EACH_2_COUNTED’ 89 | result modifiers function(MU_IF(MU_COUNT_ARG(__VA_ARGS__),,void) MU_FOR_EACH_2_COUNTED(UMOCK_C_PROD_ARG_IN_SIGNATURE, __VA_ARGS__)) | ^~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/umock_c_prod.h:95:5: note: in expansion of macro ‘MOCKABLE_FUNCTION_SIGNATURE’ 95 | MOCKABLE_FUNCTION_SIGNATURE(modifiers, result, function, __VA_ARGS__); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqp_definitions_target.h:41:5: note: in expansion of macro ‘MOCKABLE_FUNCTION’ 41 | MOCKABLE_FUNCTION(, int, target_get_dynamic, TARGET_HANDLE, target, bool*, dynamic_value); | ^~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c:87465:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 87465 | __pyx_t_1 = ((((void *)__pyx_v__value) == NULL) != 0); | ^ uamqp/c_uamqp.c: In function ‘__pyx_f_5uamqp_7c_uamqp_xio_from_wsioconfig’: uamqp/c_uamqp.c:90488:109: warning: passing argument 2 of ‘__pyx_v_xio->__pyx_vtab->create’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 90488 | __pyx_t_1 = ((struct __pyx_vtabstruct_5uamqp_7c_uamqp_XIO *)__pyx_v_xio->__pyx_vtab)->create(__pyx_v_xio, __pyx_v_ws_io_interface, ((PyObject *)__pyx_v_io_config), (&__pyx_v_io_config->_c_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(25, 23, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c:90488:109: note: expected ‘IO_INTERFACE_DESCRIPTION *’ {aka ‘struct IO_INTERFACE_DESCRIPTION_TAG *’} but argument is of type ‘const IO_INTERFACE_DESCRIPTION *’ {aka ‘const struct IO_INTERFACE_DESCRIPTION_TAG *’} uamqp/c_uamqp.c: In function ‘__pyx_f_5uamqp_7c_uamqp_xio_from_saslioconfig’: uamqp/c_uamqp.c:90822:109: warning: passing argument 2 of ‘__pyx_v_xio->__pyx_vtab->create’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 90822 | __pyx_t_2 = ((struct __pyx_vtabstruct_5uamqp_7c_uamqp_XIO *)__pyx_v_xio->__pyx_vtab)->create(__pyx_v_xio, __pyx_v_interface, ((PyObject *)__pyx_v_io_config), (&__pyx_v_io_config->_c_value)); if (unlikely(!__pyx_t_2)) __PYX_ERR(25, 39, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c:90822:109: note: expected ‘IO_INTERFACE_DESCRIPTION *’ {aka ‘struct IO_INTERFACE_DESCRIPTION_TAG *’} but argument is of type ‘const IO_INTERFACE_DESCRIPTION *’ {aka ‘const struct IO_INTERFACE_DESCRIPTION_TAG *’} uamqp/c_uamqp.c: In function ‘__pyx_pymod_exec_c_uamqp’: uamqp/c_uamqp.c:3339:38: error: implicit declaration of function ‘_PyDict_SetItem_KnownHash’; did you mean ‘_PyDict_GetItem_KnownHash’? [-Wimplicit-function-declaration] 3339 | (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c:105719:7: note: in expansion of macro ‘__Pyx_SetNameInClass’ 105719 | if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_NullValue, __pyx_t_4) < 0) __PYX_ERR(4, 50, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__pyx_convert__to_py_SASL_MECHANISM_HANDLE’: uamqp/c_uamqp.c:111237:3: warning: label ‘bad’ defined but not used [-Wunused-label] 111237 | bad: | ^~~ uamqp/c_uamqp.c: In function ‘__Pyx_PyInt_As_unsigned_char’: uamqp/c_uamqp.c:111448:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 111448 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.13/longobject.h:107, from /usr/include/python3.13/Python.h:77: /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__Pyx_PyInt_As_uint16_t’: uamqp/c_uamqp.c:111644:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 111644 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__Pyx_PyInt_As_uint32_t’: uamqp/c_uamqp.c:111840:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 111840 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__Pyx_PyInt_As_uint64_t’: uamqp/c_uamqp.c:112036:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 112036 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__Pyx_PyInt_As_char’: uamqp/c_uamqp.c:112232:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 112232 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__Pyx_PyInt_As_int16_t’: uamqp/c_uamqp.c:112428:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 112428 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__Pyx_PyInt_As_int32_t’: uamqp/c_uamqp.c:112624:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 112624 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__Pyx_PyInt_As_int64_t’: uamqp/c_uamqp.c:112820:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 112820 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__Pyx_PyInt_As_size_t’: uamqp/c_uamqp.c:113016:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 113016 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__Pyx_PyInt_As_enum__CBS_OPERATION_RESULT_TAG’: uamqp/c_uamqp.c:113212:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 113212 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__Pyx_PyInt_As_unsigned_int’: uamqp/c_uamqp.c:113408:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 113408 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__Pyx_PyInt_As_uint8_t’: uamqp/c_uamqp.c:114098:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 114098 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__Pyx_PyInt_As_uint_fast32_t’: uamqp/c_uamqp.c:114332:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 114332 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__Pyx_PyInt_As_int’: uamqp/c_uamqp.c:114566:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 114566 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__Pyx_PyInt_As_long’: uamqp/c_uamqp.c:114800:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 114800 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__Pyx_PyInt_As_enum____pyx_t_5c_cbs_AUTH_STATUS’: uamqp/c_uamqp.c:115376:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 115376 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: In function ‘__Pyx_PyInt_As_enum__PLATFORM_INFO_OPTION_TAG’: uamqp/c_uamqp.c:115610:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 115610 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c: At top level: uamqp/c_uamqp.c:111232:18: warning: ‘__pyx_convert__to_py_SASL_MECHANISM_HANDLE’ defined but not used [-Wunused-function] 111232 | static PyObject* __pyx_convert__to_py_SASL_MECHANISM_HANDLE(SASL_MECHANISM_HANDLE s) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uamqp/c_uamqp.c:69150:18: warning: ‘__pyx_f_5uamqp_7c_uamqp_create_message_sender_with_callback’ defined but not used [-Wunused-function] 69150 | static PyObject *__pyx_f_5uamqp_7c_uamqp_create_message_sender_with_callback(struct __pyx_obj_5uamqp_7c_uamqp_cLink *__pyx_v_link, ON_MESSAGE_SENDER_STATE_CHANGED __pyx_v_callback, void *__pyx_v_callback_context) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1 E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: /usr/bin/python3.13 setup.py build If required, the full build log is available here (for the next 30 days): https://debusine.debian.net/artifact/761599/ This bug has been filed at "normal" severity, as we haven't started the transition to add 3.13 as a supported version, yet. This will be raised to RC as soon as that happens, hopefully well before trixie. Thanks, Stefano

