D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/python3-pyliblo-0.10.0-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.B4srbW + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python3-pyliblo-0.10.0-build + test -d /home/pterjan/rpmbuild/BUILD/python3-pyliblo-0.10.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python3-pyliblo-0.10.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python3-pyliblo-0.10.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python3-pyliblo-0.10.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python3-pyliblo-0.10.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aVdxEm + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python3-pyliblo-0.10.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python3-pyliblo-0.10.0-build + rm -rf pyliblo-0.10.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pyliblo-0.10.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pyliblo-0.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -type f -exec sed -i '1s=^#!/usr/bin/\(python\|env python\)[23]\?=#!/usr/bin/python3=' '{}' + + find examples/ -type f -exec sed -i '1s=^#!/usr/bin/\(python\|env python\)[23]\?==' '{}' + + chmod -x examples/example_client.py examples/example_server.py examples/example_server_deco.py examples/test_server_thread.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dpSMxR + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python3-pyliblo-0.10.0-build + cd pyliblo-0.10.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_ext cythoning src/liblo.pyx to src/liblo.c /usr/lib64/python3.12/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/pterjan/rpmbuild/BUILD/python3-pyliblo-0.10.0-build/pyliblo-0.10.0/src/liblo.pxd tree = Parsing.p_module(s, pxd, full_module_name) building 'liblo' extension creating build creating build/temp.linux-x86_64-cpython-312 creating build/temp.linux-x86_64-cpython-312/src gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I/usr/include/python3.12 -c src/liblo.c -o build/temp.linux-x86_64-cpython-312/src/liblo.o -fno-strict-aliasing -Werror-implicit-function-declaration -Wfatal-errors src/liblo.c: In function ‘__pyx_f_5liblo__msg_callback’: src/liblo.c:4749:94: error: passing argument 1 of ‘lo_blob_dataptr’ from incompatible pointer type [-Wincompatible-pointer-types] 4749 | __pyx_t_6 = __Pyx_PyBytes_FromCString(((unsigned char *)lo_blob_dataptr((__pyx_v_argv[__pyx_v_i])))); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 234, __pyx_L1_error) | ~~~~~~~~~~~~~^~~~~~~~~~~~ | | | lo_arg * src/liblo.c:831:78: note: in definition of macro ‘__Pyx_PyBytes_FromCString’ 831 | #define __Pyx_PyBytes_FromCString(s) __Pyx_PyBytes_FromString((const char*)s) | ^ compilation terminated due to -Wfatal-errors. error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.dpSMxR (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.dpSMxR (%build) I: [iurt_root_command] ERROR: chroot