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/python3-lxc-5.0.0-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6smukM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build + test -d /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.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.319jvn + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build + rm -rf python3-lxc-5.0.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/python3-lxc-5.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python3-lxc-5.0.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.4f9wZo + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build + cd python3-lxc-5.0.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_py creating build/lib.linux-x86_64-cpython-312/lxc copying lxc/__init__.py -> build/lib.linux-x86_64-cpython-312/lxc running build_ext building '_lxc' extension creating build/temp.linux-x86_64-cpython-312 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 -I/usr/include -c lxc.c -o build/temp.linux-x86_64-cpython-312/lxc.o lxc.c: In function ‘lxc_attach_python_exec’: lxc.c:201:5: warning: ‘PyOS_AfterFork’ is deprecated [-Wdeprecated-declarations] 201 | PyOS_AfterFork(); | ^~~~~~~~~~~~~~ In file included from /usr/include/python3.12/Python.h:98, from lxc.c:25: /usr/include/python3.12/intrcheck.h:16:37: note: declared here 16 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyOS_AfterFork(void); | ^~~~~~~~~~~~~~ gcc -shared -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 -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 build/temp.linux-x86_64-cpython-312/lxc.o -L/usr/lib64 -L/usr/lib64 -llxc -lpython3.12 -o build/lib.linux-x86_64-cpython-312/_lxc.cpython-312-x86_64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VAfkRQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build + mkdir /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build/BUILDROOT + cd python3-lxc-5.0.0 + '[' 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 install -O1 --skip-build --root /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build/BUILDROOT --prefix /usr running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build/BUILDROOT/usr/lib64/python3.12/site-packages creating /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/lxc copying build/lib.linux-x86_64-cpython-312/lxc/__init__.py -> /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/lxc copying build/lib.linux-x86_64-cpython-312/_lxc.cpython-312-x86_64-linux-gnu.so -> /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build/BUILDROOT/usr/lib64/python3.12/site-packages byte-compiling /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/lxc/__init__.py to __init__.cpython-312.pyc writing byte-compilation script '/tmp/tmp6gxdvv7q.py' /usr/bin/python3 /tmp/tmp6gxdvv7q.py removing /tmp/tmp6gxdvv7q.py running install_egg_info running egg_info writing python3_lxc.egg-info/PKG-INFO writing dependency_links to python3_lxc.egg-info/dependency_links.txt writing top-level names to python3_lxc.egg-info/top_level.txt reading manifest file 'python3_lxc.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'COPYING' writing manifest file 'python3_lxc.egg-info/SOURCES.txt' Copying python3_lxc.egg-info to /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/python3_lxc-5.0.0-py3.12.egg-info running install_scripts + rm -rfv /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build/BUILDROOT/usr/bin/__pycache__ + chmod -x examples/api_test.py examples/pyconsole-vte.py examples/pyconsole.py + sed -i -e '1 s@^#!.*@#!/usr/bin/python3@' examples/api_test.py examples/pyconsole-vte.py examples/pyconsole.py + /usr/bin/find-debuginfo -j48 --strict-build-id -m -i --build-id-seed 5.0.0-2.mga10 --unique-debug-suffix -5.0.0-2.mga10.x86_64 --unique-debug-src-base python3-lxc-5.0.0-2.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build/python3-lxc-5.0.0 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/python3-lxc-5.0.0-2.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j48 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build/BUILDROOT/usr/lib64/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set Bytecompiling .py files below /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build/BUILDROOT/usr/lib/debug/usr/lib64/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build/SPECPARTS/rpm-debuginfo.specpart sh: line 4: [: -j8: integer expression expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Cm9dXA + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python3-lxc-5.0.0-build + cd python3-lxc-5.0.0 + '[' 1 -eq 1 ']' + /usr/bin/python3 setup.py test usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'test' error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Cm9dXA (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Cm9dXA (%check) I: [iurt_root_command] ERROR: chroot