D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
sh: line 4: [: -j8: integer expression expected
sh: line 4: [: -j8: integer expression expected
Installing /home/pterjan/rpmbuild/SRPMS/python-smartcols-0.3.0-11.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BBbnYm
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-smartcols-0.3.0-build
+ test -d /home/pterjan/rpmbuild/BUILD/python-smartcols-0.3.0-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-smartcols-0.3.0-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-smartcols-0.3.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-smartcols-0.3.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-smartcols-0.3.0-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.U8zHTO
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-smartcols-0.3.0-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/python-smartcols-0.3.0-build
+ rm -rf python-smartcols-0.3.0
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/python-smartcols-0.3.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd python-smartcols-0.3.0
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libsmartcols-tests-2.30.2.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zL2C8K
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-smartcols-0.3.0-build
+ cd python-smartcols-0.3.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'
/usr/lib64/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /home/pterjan/rpmbuild/BUILD/python-smartcols-0.3.0-build/python-smartcols-0.3.0/smartcols.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)

Error compiling Cython file:
------------------------------------------------------------
...
        self._cmp_payload = <CmpPayload *>malloc(sizeof(CmpPayload))
        if self._cmp_payload is NULL:
            raise MemoryError()
        self._cmp_payload.data = <void *>self._cmpdata
        self._cmp_payload.func = <void *>func
        scols_column_set_cmpfunc(self.ptr, cmpfunc_wrapper, <void *>self._cmp_payload)
                                           ^
------------------------------------------------------------

smartcols.pyx:332:43: Cannot assign type 'int (libscols_cell *, libscols_cell *, void *) except? -1' to 'int (*)(libscols_cell *, libscols_cell *, void *) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to the type of 'cmpfunc_wrapper'.

Error compiling Cython file:
------------------------------------------------------------
...
            raise MemoryError()
        self._wrap_payload.func_chunksize = <void *>func_chunksize
        self._wrap_payload.func_nextchunk = <void *>func_nextchunk
        self._wrap_payload.data = <void *>self._wrapdata
        scols_column_set_wrapfunc(self.ptr,
                                  chunksize_wrapper, nextchunk_wrapper,
                                  ^
------------------------------------------------------------

smartcols.pyx:358:34: Cannot assign type 'size_t (const libscols_column *, const char *, void *) except? -1' to 'size_t (*)(const libscols_column *, const char *, void *) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to the type of 'chunksize_wrapper'.

Error compiling Cython file:
------------------------------------------------------------
...
            raise MemoryError()
        self._wrap_payload.func_chunksize = <void *>func_chunksize
        self._wrap_payload.func_nextchunk = <void *>func_nextchunk
        self._wrap_payload.data = <void *>self._wrapdata
        scols_column_set_wrapfunc(self.ptr,
                                  chunksize_wrapper, nextchunk_wrapper,
                                                     ^
------------------------------------------------------------

smartcols.pyx:358:53: Cannot assign type 'char *(const libscols_column *, char *, void *) except? NULL' to 'char *(*)(const libscols_column *, char *, void *) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to the type of 'nextchunk_wrapper'.
Compiling smartcols.pyx because it changed.
[1/1] Cythonizing smartcols.pyx
Traceback (most recent call last):
  File "/home/pterjan/rpmbuild/BUILD/python-smartcols-0.3.0-build/python-smartcols-0.3.0/setup.py", line 62, in <module>
    ext_modules=cythonize(extensions, gdb_debug=DEBUG),
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
    cythonize_one(*args)
  File "/usr/lib64/python3.12/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: smartcols.pyx
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.zL2C8K (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.zL2C8K (%build)
I: [iurt_root_command] ERROR: chroot