D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/python-binaryornot-0.4.4-8.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1PSLKL + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build + test -d /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-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.owpHHM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build + rm -rf binaryornot-0.4.4 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/binaryornot-0.4.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd binaryornot-0.4.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/binaryornot-0.4.4-fix-test.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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.PprM29 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build + cd binaryornot-0.4.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/.pyproject-builddir + 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' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) running dist_info creating /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/.pyproject-builddir/pip-modern-metadata-krkujlav/binaryornot.egg-info writing /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/.pyproject-builddir/pip-modern-metadata-krkujlav/binaryornot.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/.pyproject-builddir/pip-modern-metadata-krkujlav/binaryornot.egg-info/dependency_links.txt writing requirements to /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/.pyproject-builddir/pip-modern-metadata-krkujlav/binaryornot.egg-info/requires.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/.pyproject-builddir/pip-modern-metadata-krkujlav/binaryornot.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/.pyproject-builddir/pip-modern-metadata-krkujlav/binaryornot.egg-info/SOURCES.txt' reading manifest file '/home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/.pyproject-builddir/pip-modern-metadata-krkujlav/binaryornot.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' adding license file 'LICENSE' adding license file 'AUTHORS.rst' writing manifest file '/home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/.pyproject-builddir/pip-modern-metadata-krkujlav/binaryornot.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/.pyproject-builddir/pip-modern-metadata-krkujlav/binaryornot-0.4.4.dist-info' The [wheel] section is deprecated. Use [bdist_wheel] instead. /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:111: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. By 2025-Aug-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! self.finalize_options() Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: binaryornot Building wheel for binaryornot (pyproject.toml): started Running command Building wheel for binaryornot (pyproject.toml) /usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) running bdist_wheel The [wheel] section is deprecated. Use [bdist_wheel] instead. /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:111: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. By 2025-Aug-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! self.finalize_options() running build running build_py creating build/lib/binaryornot copying binaryornot/check.py -> build/lib/binaryornot copying binaryornot/__init__.py -> build/lib/binaryornot copying binaryornot/helpers.py -> build/lib/binaryornot running egg_info writing binaryornot.egg-info/PKG-INFO writing dependency_links to binaryornot.egg-info/dependency_links.txt writing requirements to binaryornot.egg-info/requires.txt writing top-level names to binaryornot.egg-info/top_level.txt reading manifest file 'binaryornot.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' adding license file 'LICENSE' adding license file 'AUTHORS.rst' writing manifest file 'binaryornot.egg-info/SOURCES.txt' installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/binaryornot copying build/lib/binaryornot/check.py -> build/bdist.linux-x86_64/wheel/./binaryornot copying build/lib/binaryornot/__init__.py -> build/bdist.linux-x86_64/wheel/./binaryornot copying build/lib/binaryornot/helpers.py -> build/bdist.linux-x86_64/wheel/./binaryornot running install_egg_info Copying binaryornot.egg-info to build/bdist.linux-x86_64/wheel/./binaryornot-0.4.4-py3.12.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/binaryornot-0.4.4.dist-info/WHEEL creating '/home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/.pyproject-builddir/pip-wheel-yfqs0m4b/.tmp-e8t0ac7b/binaryornot-0.4.4-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'binaryornot/__init__.py' adding 'binaryornot/check.py' adding 'binaryornot/helpers.py' adding 'binaryornot-0.4.4.dist-info/AUTHORS.rst' adding 'binaryornot-0.4.4.dist-info/LICENSE' adding 'binaryornot-0.4.4.dist-info/METADATA' adding 'binaryornot-0.4.4.dist-info/WHEEL' adding 'binaryornot-0.4.4.dist-info/top_level.txt' adding 'binaryornot-0.4.4.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for binaryornot (pyproject.toml): finished with status 'done' Created wheel for binaryornot: filename=binaryornot-0.4.4-py2.py3-none-any.whl size=7470 sha256=91bf2fd567dbbe7c7835bcfcf47cf21acda56b0d94372f886cb5f063565d8b2f Stored in directory: /home/pterjan/.cache/pip/wheels/b6/02/cd/48f3088191082f31880ae8f6d4e14ab78edad7d291becccd74 Successfully built binaryornot ++ pwd + make -C docs html PYTHONPATH=/home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4 make: Entering directory '/home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/docs' sphinx-build -b html -d _build/doctrees . _build/html Running Sphinx v7.3.7 making output directory... done WARNING: html_static_path entry '_static' does not exist building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 9 source files that are out of date updating environment: [new config] 9 added, 0 changed, 0 removed reading sources... [ 11%] authors reading sources... [ 22%] binaryornot reading sources... [ 33%] contributing reading sources... [ 44%] history reading sources... [ 56%] index reading sources... [ 67%] installation reading sources... [ 78%] modules reading sources... [ 89%] quickstart reading sources... [100%] readme /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/docs/index.rst:7: WARNING: Title underline too short. Welcome to BinaryOrNot's documentation! ====================================== looking for now-outdated files... none found pickling environment... done checking consistency... /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/docs/modules.rst: WARNING: document isn't included in any toctree done preparing documents... done copying assets... copying static files... done copying extra files... done done writing output... [ 11%] authors writing output... [ 22%] binaryornot writing output... [ 33%] contributing writing output... [ 44%] history writing output... [ 56%] index writing output... [ 67%] installation writing output... [ 78%] modules writing output... [ 89%] quickstart writing output... [100%] readme generating indices... genindex py-modindex done highlighting module code... [ 50%] binaryornot.check highlighting module code... [100%] binaryornot.helpers writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 3 warnings. The HTML pages are in _build/html. Build finished. The HTML pages are in _build/html. make: Leaving directory '/home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/docs' + rm -rf docs/_build/html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 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.iDcFLm + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build + mkdir /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT + cd binaryornot-0.4.4 + '[' 1 -eq 1 ']' ++ ls /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/pyproject-wheeldir/binaryornot-0.4.4-py2.py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=binaryornot==0.4.4 + '[' -z binaryornot==0.4.4 ']' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/pyproject-wheeldir binaryornot==0.4.4 Using pip 24.3.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/binaryornot-0.4.4/pyproject-wheeldir Processing ./pyproject-wheeldir/binaryornot-0.4.4-py2.py3-none-any.whl Installing collected packages: binaryornot Successfully installed binaryornot-0.4.4 + '[' -d /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT/usr/bin ']' + rm -f /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/python-binaryornot-0.4.4-8.mga10.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT/usr/lib64/python3.12/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/binaryornot-0.4.4.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT/usr/lib/python3.12/site-packages/binaryornot-0.4.4.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT/usr/lib/python3.12/site-packages/binaryornot-0.4.4.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/python-binaryornot-0.4.4-8.mga10.noarch-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT/usr/lib/python3.12/site-packages/binaryornot-0.4.4.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT/usr/lib/python3.12/site-packages/binaryornot-0.4.4.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT/usr/lib/python3.12/site-packages/binaryornot-0.4.4.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT/usr/lib/python3.12/site-packages/binaryornot-0.4.4.dist-info/REQUESTED' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/python-binaryornot-0.4.4-8.mga10.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/python-binaryornot-0.4.4-8.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/python-binaryornot-0.4.4-8.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/BUILDROOT --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build/python-binaryornot-0.4.4-8.mga10.noarch-pyproject-record --prefix /usr binaryornot + /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/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /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/python-binaryornot-0.4.4-build/BUILDROOT/usr/lib/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set + /usr/lib/rpm/redhat/brp-python-hardlink sh: line 4: [: -j8: integer expression expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.enYq7z + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-binaryornot-0.4.4-build + cd binaryornot-0.4.4 + '[' 1 -eq 1 ']' + /usr/bin/python3 setup.py test /usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) 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.enYq7z (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.enYq7z (%check) I: [iurt_root_command] ERROR: chroot