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-pyusb-1.2.1-3.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.35zDIc
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build
+ test -d /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-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.6FGE0D
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build
+ rm -rf pyusb-1.2.1
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pyusb-1.2.1.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pyusb-1.2.1
+ /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(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ukf8RS
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build
+ cd pyusb-1.2.1
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ :
+ echo pyproject-rpm-macros
+ echo python3-devel
+ echo 'python3dist(pip) >= 19'
+ echo 'python3dist(packaging)'
+ '[' -f pyproject.toml ']'
+ true
+ for f in pyproject.toml setup.py setup.cfg
+ '[' -f pyproject.toml ']'
+ sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' pyproject.toml
+ sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' pyproject.toml
+ sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' pyproject.toml
+ sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' pyproject.toml
+ sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' pyproject.toml
+ sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' pyproject.toml
+ sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' pyproject.toml
+ sed -i -e 's/~=/>=/g' pyproject.toml
+ sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' pyproject.toml
+ sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' pyproject.toml
+ for f in pyproject.toml setup.py setup.cfg
+ '[' -f setup.py ']'
+ sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' setup.py
+ sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' setup.py
+ sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' setup.py
+ sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.py
+ sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.py
+ sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' setup.py
+ sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.py
+ sed -i -e 's/~=/>=/g' setup.py
+ sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.py
+ sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.py
+ for f in pyproject.toml setup.py setup.cfg
+ '[' -f setup.cfg ']'
+ sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' setup.cfg
+ sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' setup.cfg
+ sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' setup.cfg
+ sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.cfg
+ sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.cfg
+ sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' setup.cfg
+ sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.cfg
+ sed -i -e 's/~=/>=/g' setup.cfg
+ sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.cfg
+ sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.cfg
+ rm -rfv '*.dist-info/'
+ '[' -f /usr/bin/python3 ']'
+ mkdir -p /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/.pyproject-builddir
+ echo -n
+ 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-pyusb-1.2.1-build/pyusb-1.2.1/.pyproject-builddir
+ RPM_TOXENV=py312
+ HOSTNAME=rpmbuild
+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/python-pyusb-1.2.1-3.mga10.noarch-pyproject-buildrequires
Handling setuptools>=30.3.0 from build-system.requires
Requirement satisfied: setuptools>=30.3.0
   (installed: setuptools 75.6.0)
Handling wheel from build-system.requires
Requirement satisfied: wheel
   (installed: wheel 0.43.0)
Handling setuptools_scm from build-system.requires
Requirement satisfied: setuptools_scm
   (installed: setuptools_scm 8.0.4)
Handling setuptools >= 40.8 from default build backend
Requirement satisfied: setuptools >= 40.8
   (installed: setuptools 75.6.0)
Handling wheel from default build backend
Requirement satisfied: wheel
   (installed: wheel 0.43.0)
<string>:38: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
/usr/lib/python3.12/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

        ********************************************************************************
        Usage of dash-separated 'description-file' will not be supported in future
        versions. Please use the underscore name 'description_file' instead.

        By 2025-Mar-03, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.

        See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
        ********************************************************************************

!!
  opt = self.warn_dash_deprecation(opt, section)
Handling setuptools_scm from get_requires_for_build_wheel
Requirement satisfied: setuptools_scm
   (installed: setuptools_scm 8.0.4)
<string>:38: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
    section = defn.get("tool", {})[tool_name]
              ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
running dist_info
writing pyusb.egg-info/PKG-INFO
writing dependency_links to pyusb.egg-info/dependency_links.txt
writing top-level names to pyusb.egg-info/top_level.txt
reading manifest file 'pyusb.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'pyusb.egg-info/SOURCES.txt'
creating '/home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/pyusb-1.2.1.dist-info'
+ cat /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/python-pyusb-1.2.1-3.mga10.noarch-pyproject-buildrequires
+ rm -rfv pyusb-1.2.1.dist-info/
removed 'pyusb-1.2.1.dist-info/top_level.txt'
removed 'pyusb-1.2.1.dist-info/METADATA'
removed 'pyusb-1.2.1.dist-info/LICENSE'
removed directory 'pyusb-1.2.1.dist-info/'
+ 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.3KPHcZ
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build
+ cd pyusb-1.2.1
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ mkdir -p /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/.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-pyusb-1.2.1-build/pyusb-1.2.1/.pyproject-builddir
+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/pyproject-wheeldir
Processing /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1
  Preparing metadata (pyproject.toml): started
  Running command Preparing metadata (pyproject.toml)
  <string>:38: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
  Traceback (most recent call last):
    File "/usr/lib/python3.12/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
      section = defn.get("tool", {})[tool_name]
                ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
  KeyError: 'setuptools_scm'
  /usr/lib/python3.12/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options
  !!

          ********************************************************************************
          Usage of dash-separated 'description-file' will not be supported in future
          versions. Please use the underscore name 'description_file' instead.

          By 2025-Mar-03, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************

  !!
    opt = self.warn_dash_deprecation(opt, section)
  running dist_info
  creating /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/.pyproject-builddir/pip-modern-metadata-p1apnpfy/pyusb.egg-info
  writing /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/.pyproject-builddir/pip-modern-metadata-p1apnpfy/pyusb.egg-info/PKG-INFO
  writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/.pyproject-builddir/pip-modern-metadata-p1apnpfy/pyusb.egg-info/dependency_links.txt
  writing top-level names to /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/.pyproject-builddir/pip-modern-metadata-p1apnpfy/pyusb.egg-info/top_level.txt
  writing manifest file '/home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/.pyproject-builddir/pip-modern-metadata-p1apnpfy/pyusb.egg-info/SOURCES.txt'
  reading manifest file '/home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/.pyproject-builddir/pip-modern-metadata-p1apnpfy/pyusb.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  adding license file 'LICENSE'
  writing manifest file '/home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/.pyproject-builddir/pip-modern-metadata-p1apnpfy/pyusb.egg-info/SOURCES.txt'
  creating '/home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/.pyproject-builddir/pip-modern-metadata-p1apnpfy/pyusb-1.2.1.dist-info'
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: pyusb
  Building wheel for pyusb (pyproject.toml): started
  Running command Building wheel for pyusb (pyproject.toml)
  <string>:38: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
  Traceback (most recent call last):
    File "/usr/lib/python3.12/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
      section = defn.get("tool", {})[tool_name]
                ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
  KeyError: 'setuptools_scm'
  /usr/lib/python3.12/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options
  !!

          ********************************************************************************
          Usage of dash-separated 'description-file' will not be supported in future
          versions. Please use the underscore name 'description_file' instead.

          By 2025-Mar-03, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************

  !!
    opt = self.warn_dash_deprecation(opt, section)
  running bdist_wheel
  running build
  running build_py
  creating build/lib/usb
  copying usb/_lookup.py -> build/lib/usb
  copying usb/libloader.py -> build/lib/usb
  copying usb/_objfinalizer.py -> build/lib/usb
  copying usb/_interop.py -> build/lib/usb
  copying usb/legacy.py -> build/lib/usb
  copying usb/_debug.py -> build/lib/usb
  copying usb/control.py -> build/lib/usb
  copying usb/__init__.py -> build/lib/usb
  copying usb/core.py -> build/lib/usb
  copying usb/util.py -> build/lib/usb
  copying usb/_version.py -> build/lib/usb
  creating build/lib/usb/backend
  copying usb/backend/openusb.py -> build/lib/usb/backend
  copying usb/backend/libusb0.py -> build/lib/usb/backend
  copying usb/backend/__init__.py -> build/lib/usb/backend
  copying usb/backend/libusb1.py -> build/lib/usb/backend
  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/usb
  copying build/lib/usb/_lookup.py -> build/bdist.linux-x86_64/wheel/./usb
  copying build/lib/usb/libloader.py -> build/bdist.linux-x86_64/wheel/./usb
  copying build/lib/usb/_objfinalizer.py -> build/bdist.linux-x86_64/wheel/./usb
  copying build/lib/usb/_interop.py -> build/bdist.linux-x86_64/wheel/./usb
  copying build/lib/usb/legacy.py -> build/bdist.linux-x86_64/wheel/./usb
  creating build/bdist.linux-x86_64/wheel/usb/backend
  copying build/lib/usb/backend/openusb.py -> build/bdist.linux-x86_64/wheel/./usb/backend
  copying build/lib/usb/backend/libusb0.py -> build/bdist.linux-x86_64/wheel/./usb/backend
  copying build/lib/usb/backend/__init__.py -> build/bdist.linux-x86_64/wheel/./usb/backend
  copying build/lib/usb/backend/libusb1.py -> build/bdist.linux-x86_64/wheel/./usb/backend
  copying build/lib/usb/_debug.py -> build/bdist.linux-x86_64/wheel/./usb
  copying build/lib/usb/control.py -> build/bdist.linux-x86_64/wheel/./usb
  copying build/lib/usb/__init__.py -> build/bdist.linux-x86_64/wheel/./usb
  copying build/lib/usb/core.py -> build/bdist.linux-x86_64/wheel/./usb
  copying build/lib/usb/util.py -> build/bdist.linux-x86_64/wheel/./usb
  copying build/lib/usb/_version.py -> build/bdist.linux-x86_64/wheel/./usb
  running install_egg_info
  running egg_info
  writing pyusb.egg-info/PKG-INFO
  writing dependency_links to pyusb.egg-info/dependency_links.txt
  writing top-level names to pyusb.egg-info/top_level.txt
  reading manifest file 'pyusb.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  adding license file 'LICENSE'
  writing manifest file 'pyusb.egg-info/SOURCES.txt'
  Copying pyusb.egg-info to build/bdist.linux-x86_64/wheel/./pyusb-1.2.1-py3.12.egg-info
  running install_scripts
  creating build/bdist.linux-x86_64/wheel/pyusb-1.2.1.dist-info/WHEEL
  creating '/home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/.pyproject-builddir/pip-wheel-ciowujgw/.tmp-nld06bmg/pyusb-1.2.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
  adding 'usb/__init__.py'
  adding 'usb/_debug.py'
  adding 'usb/_interop.py'
  adding 'usb/_lookup.py'
  adding 'usb/_objfinalizer.py'
  adding 'usb/_version.py'
  adding 'usb/control.py'
  adding 'usb/core.py'
  adding 'usb/legacy.py'
  adding 'usb/libloader.py'
  adding 'usb/util.py'
  adding 'usb/backend/__init__.py'
  adding 'usb/backend/libusb0.py'
  adding 'usb/backend/libusb1.py'
  adding 'usb/backend/openusb.py'
  adding 'pyusb-1.2.1.dist-info/LICENSE'
  adding 'pyusb-1.2.1.dist-info/METADATA'
  adding 'pyusb-1.2.1.dist-info/WHEEL'
  adding 'pyusb-1.2.1.dist-info/top_level.txt'
  adding 'pyusb-1.2.1.dist-info/RECORD'
  removing build/bdist.linux-x86_64/wheel
  Building wheel for pyusb (pyproject.toml): finished with status 'done'
  Created wheel for pyusb: filename=pyusb-1.2.1-py3-none-any.whl size=58877 sha256=2316b65399a0fd9678289785a8d82969f126648e733df76b4651836d78a4e589
  Stored in directory: /home/pterjan/.cache/pip/wheels/32/9e/74/eaaae8ef3367dacb1ae457f7c8c9e368c8859ac60003672809
Successfully built pyusb
+ 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.C8iKDp
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build
+ mkdir /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT
+ cd pyusb-1.2.1
+ '[' 1 -eq 1 ']'
++ ls /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/pyproject-wheeldir/pyusb-1.2.1-py3-none-any.whl
++ xargs basename --multiple
++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/'
+ specifier=pyusb==1.2.1
+ '[' -z pyusb==1.2.1 ']'
+ TMPDIR=/home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/.pyproject-builddir
+ /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-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-pyusb-1.2.1-build/pyusb-1.2.1/pyproject-wheeldir pyusb==1.2.1
Using pip 24.3.1 from /usr/lib/python3.12/site-packages/pip (python 3.12)
Looking in links: /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/pyproject-wheeldir
Processing ./pyproject-wheeldir/pyusb-1.2.1-py3-none-any.whl
Installing collected packages: pyusb
Successfully installed pyusb-1.2.1
+ '[' -d /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT/usr/bin ']'
+ rm -f /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/python-pyusb-1.2.1-3.mga10.noarch-pyproject-ghost-distinfo
+ site_dirs=()
+ '[' -d /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT/usr/lib/python3.12/site-packages ']'
+ site_dirs+=("/usr/lib/python3.12/site-packages")
+ '[' /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT/usr/lib64/python3.12/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT/usr/lib/python3.12/site-packages ']'
+ '[' -d /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT/usr/lib64/python3.12/site-packages ']'
+ for site_dir in ${site_dirs[@]}
+ for distinfo in /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT$site_dir/*.dist-info
+ echo '%ghost /usr/lib/python3.12/site-packages/pyusb-1.2.1.dist-info'
+ sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT/usr/lib/python3.12/site-packages/pyusb-1.2.1.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-pyusb-1.2.1-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT/usr/lib/python3.12/site-packages/pyusb-1.2.1.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/python-pyusb-1.2.1-3.mga10.noarch-pyproject-record
+ rm -fv /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT/usr/lib/python3.12/site-packages/pyusb-1.2.1.dist-info/RECORD
removed '/home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT/usr/lib/python3.12/site-packages/pyusb-1.2.1.dist-info/RECORD'
+ rm -fv /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT/usr/lib/python3.12/site-packages/pyusb-1.2.1.dist-info/REQUESTED
removed '/home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT/usr/lib/python3.12/site-packages/pyusb-1.2.1.dist-info/REQUESTED'
++ cut -f1 '-d '
++ wc -l /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/python-pyusb-1.2.1-3.mga10.noarch-pyproject-ghost-distinfo
+ 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-pyusb-1.2.1-build/python-pyusb-1.2.1-3.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/python-pyusb-1.2.1-3.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-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-pyusb-1.2.1-build/python-pyusb-1.2.1-3.mga10.noarch-pyproject-record --prefix /usr usb
+ /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-pyusb-1.2.1-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
Processing files: python3-pyusb-1.2.1-3.mga10.noarch
sh: line 4: [: -j8: integer expression expected
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PeK81o
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build
+ cd pyusb-1.2.1
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT/usr/share/doc/python3-pyusb
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT/usr/share/doc/python3-pyusb
+ cp -pr /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/LICENSE /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT/usr/share/doc/python3-pyusb
+ cp -pr /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/pyusb-1.2.1/README.rst /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT/usr/share/doc/python3-pyusb
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: python-pyusb = 1.2.1-3.mga10 python3-pyusb = 1.2.1-3.mga10 python3.12-pyusb = 1.2.1-3.mga10 python3.12dist(pyusb) = 1.2.1 python3dist(pyusb) = 1.2.1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: python(abi) = 3.12
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/python3-pyusb-1.2.1-3.mga10.noarch.rpm
sh: line 4: [: -j8: integer expression expected
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QcD6G7
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build
+ test -d /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/python-pyusb-1.2.1-build
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!