Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-uamqp.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-47924-2059/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-uamqp.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 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-uamqp-1.6.0-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-uamqp.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-47924-2059/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-uamqp.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 Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WUSmKH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf azure-uamqp-python-v.1.60 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/azure-uamqp-python-v.1.60.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd azure-uamqp-python-v.1.60 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-uamqp-treat-warnings-as-warnings.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-uamqp-openssl3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.GlSRbX + umask 022 + cd /builddir/build/BUILD + cd azure-uamqp-python-v.1.60 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -r Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 62.3.2.post20230429) Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-uamqp-1.6.0-3.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-uamqp.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-47924-2059/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-uamqp.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 Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wBH7vM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf azure-uamqp-python-v.1.60 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/azure-uamqp-python-v.1.60.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd azure-uamqp-python-v.1.60 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-uamqp-treat-warnings-as-warnings.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-uamqp-openssl3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.RpVTXr + umask 022 + cd /builddir/build/BUILD + cd azure-uamqp-python-v.1.60 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -r Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 62.3.2.post20230429) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.0) /usr/lib64/python3.10/site-packages/Cython/Compiler/Main.py:384: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /builddir/build/BUILD/azure-uamqp-python-v.1.60/uamqp/c_uamqp.pyx tree = Parsing.p_module(s, pxd, full_module_name) Error compiling Cython file: ------------------------------------------------------------ ... cdef void *context if callback_context is None: context = NULL else: context = callback_context if c_amqp_management.amqp_management_open_async(self._c_value, on_amqp_management_open_complete, context, on_amqp_management_error, context) != 0: ^ ------------------------------------------------------------ ./src/amqp_management.pyx:74:71: Cannot assign type 'void (void *, AMQP_MANAGEMENT_OPEN_RESULT_TAG) except *' to 'ON_AMQP_MANAGEMENT_OPEN_COMPLETE'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (void *, AMQP_MANAGEMENT_OPEN_RESULT_TAG) except *'. Error compiling Cython file: ------------------------------------------------------------ ... cdef void *context if callback_context is None: context = NULL else: context = callback_context if c_amqp_management.amqp_management_open_async(self._c_value, on_amqp_management_open_complete, context, on_amqp_management_error, context) != 0: ^ ------------------------------------------------------------ ./src/amqp_management.pyx:74:114: Cannot assign type 'void (void *) except *' to 'ON_AMQP_MANAGEMENT_ERROR'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (void *) except *'. Error compiling Cython file: ------------------------------------------------------------ ... c_locales = locales if callback_context is None: context = NULL else: context = callback_context if c_amqp_management.amqp_management_execute_operation_async(self._c_value, operation, type, c_locales, message._c_value, on_execute_operation_complete, context) == NULL: ^ ------------------------------------------------------------ ./src/amqp_management.pyx:92:137: Cannot assign type 'void (void *, AMQP_MANAGEMENT_EXECUTE_OPERATION_RESULT_TAG, unsigned int, const char *, MESSAGE_HANDLE) except *' to 'ON_AMQP_MANAGEMENT_EXECUTE_OPERATION_COMPLETE'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (void *, AMQP_MANAGEMENT_EXECUTE_OPERATION_RESULT_TAG, unsigned int, const char *, MESSAGE_HANDLE) except *'. Error compiling Cython file: ------------------------------------------------------------ ... _logger = logging.getLogger(__name__) cpdef create_connection(XIO sasl_client, const char* hostname, const char* container_id, callback_context): conn = Connection() conn.create(sasl_client, hostname, container_id, on_connection_state_changed, on_io_error, callback_context) ^ ------------------------------------------------------------ ./src/connection.pyx:23:53: Cannot assign type 'void (void *, CONNECTION_STATE_TAG, CONNECTION_STATE_TAG) except *' to 'ON_CONNECTION_STATE_CHANGED'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (void *, CONNECTION_STATE_TAG, CONNECTION_STATE_TAG) except *'. Error compiling Cython file: ------------------------------------------------------------ ... _logger = logging.getLogger(__name__) cpdef create_connection(XIO sasl_client, const char* hostname, const char* container_id, callback_context): conn = Connection() conn.create(sasl_client, hostname, container_id, on_connection_state_changed, on_io_error, callback_context) ^ ------------------------------------------------------------ ./src/connection.pyx:23:82: Cannot assign type 'void (void *) except *' to 'ON_IO_ERROR'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (void *) except *'. Error compiling Cython file: ------------------------------------------------------------ ... _logger = logging.getLogger(__name__) cpdef create_message_receiver(cLink link, callback_context): receiver = cMessageReceiver() receiver.create(link, on_message_receiver_state_changed, callback_context) ^ ------------------------------------------------------------ ./src/message_receiver.pyx:23:26: Cannot assign type 'void (void *, MESSAGE_RECEIVER_STATE_TAG, MESSAGE_RECEIVER_STATE_TAG) except *' to 'ON_MESSAGE_RECEIVER_STATE_CHANGED'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (void *, MESSAGE_RECEIVER_STATE_TAG, MESSAGE_RECEIVER_STATE_TAG) except *'. Error compiling Cython file: ------------------------------------------------------------ ... _logger = logging.getLogger(__name__) cpdef create_message_sender(cLink link, callback_context): sender = cMessageSender() sender.create(link, on_message_sender_state_changed, callback_context) ^ ------------------------------------------------------------ ./src/message_sender.pyx:26:24: Cannot assign type 'void (void *, MESSAGE_SENDER_STATE_TAG, MESSAGE_SENDER_STATE_TAG) except *' to 'ON_MESSAGE_SENDER_STATE_CHANGED'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (void *, MESSAGE_SENDER_STATE_TAG, MESSAGE_SENDER_STATE_TAG) except *'. Error compiling Cython file: ------------------------------------------------------------ ... self._link = link self._c_value = c_message_sender.messagesender_create(link._c_value, on_message_sender_state_changed, context) self._create() cpdef send(self, cMessage message, c_amqp_definitions.tickcounter_ms_t timeout, callback_context): operation = c_message_sender.messagesender_send_async(self._c_value, message._c_value, on_message_send_complete, callback_context, timeout) ^ ------------------------------------------------------------ ./src/message_sender.pyx:87:121: Cannot assign type 'void (void *, MESSAGE_SEND_RESULT_TAG, AMQP_VALUE) except *' to 'ON_MESSAGE_SEND_COMPLETE'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (void *, MESSAGE_SEND_RESULT_TAG, AMQP_VALUE) except *'. Traceback (most recent call last): File "/usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py", line 409, in main generate_requires( File "/usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py", line 336, in generate_requires generate_build_requirements(backend, requirements) File "/usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py", line 232, in generate_build_requirements new_reqs = get_requires() File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 177, in get_requires_for_build_wheel return self._get_build_requires( File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 159, in _get_build_requires self.run_setup() File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 281, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 174, in run_setup exec(compile(code, __file__, 'exec'), locals()) File "setup.py", line 258, in extensions = cythonize(extensions) File "/usr/lib64/python3.10/site-packages/Cython/Build/Dependencies.py", line 1134, in cythonize cythonize_one(*args) File "/usr/lib64/python3.10/site-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: uamqp/c_uamqp.pyx RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.RpVTXr (%generate_buildrequires) Bad exit status from /var/tmp/rpm-tmp.RpVTXr (%generate_buildrequires) Child return code was: 1