Mock Version: 3.5
Mock Version: 3.5
Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-hatchling.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-188640-12842/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffe12ce170>timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-hatchling.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: noarch
Building for target noarch
Wrote: /builddir/build/SRPMS/python-hatchling-1.21.0-1.ocs23.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-hatchling.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-188640-12842/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffe12ce170>timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-hatchling.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: noarch
Building for target noarch
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OVBRcR
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf hatchling-1.21.0
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hatchling-1.21.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd hatchling-1.21.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Yi29T9
+ umask 022
+ cd /builddir/build/BUILD
+ cd hatchling-1.21.0
+ echo pyproject-rpm-macros
+ echo python3-devel
+ echo 'python3dist(pip) >= 19'
+ echo 'python3dist(packaging)'
+ '[' -f pyproject.toml ']'
+ echo 'python3dist(toml)'
+ rm -rfv '*.dist-info/'
+ '[' -f /usr/bin/python3 ']'
+ RPM_TOXENV=py311
+ HOSTNAME=rpmbuild
+ /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3
Import error: No module named 'toml'
+ RPM_EC=0
++ jobs -p
+ exit 0
Wrote: /builddir/build/SRPMS/python-hatchling-1.21.0-1.ocs23.buildreqs.nosrc.rpm
Child return code was: 11
Dynamic buildrequires detected
Going to install missing buildrequires. See root.log for details.
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-hatchling.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-188640-12842/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffe12ce170>timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-hatchling.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: noarch
Building for target noarch
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zcP7F5
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf hatchling-1.21.0
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hatchling-1.21.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd hatchling-1.21.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.pepait
+ umask 022
+ cd /builddir/build/BUILD
+ cd hatchling-1.21.0
+ echo pyproject-rpm-macros
+ echo python3-devel
+ echo 'python3dist(pip) >= 19'
+ echo 'python3dist(packaging)'
+ '[' -f pyproject.toml ']'
+ echo 'python3dist(toml)'
+ rm -rfv '*.dist-info/'
+ '[' -f /usr/bin/python3 ']'
+ RPM_TOXENV=py311
+ HOSTNAME=rpmbuild
+ /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3
Handling editables>=0.3 from get_requires_for_build_wheel
Requirement not satisfied: editables>=0.3
Handling packaging>=21.3 from get_requires_for_build_wheel
Requirement satisfied: packaging>=21.3
   (installed: packaging 23.1)
Handling pathspec>=0.10.1 from get_requires_for_build_wheel
Requirement not satisfied: pathspec>=0.10.1
Handling pluggy>=1.0.0 from get_requires_for_build_wheel
Requirement not satisfied: pluggy>=1.0.0
Handling tomli>=1.2.2; python_version < '3.11' from get_requires_for_build_wheel
Ignoring alien requirement: tomli>=1.2.2; python_version < '3.11'
Handling trove-classifiers from get_requires_for_build_wheel
Requirement not satisfied: trove-classifiers
Exiting dependency generation pass: get_requires_for_build_wheel
+ RPM_EC=0
++ jobs -p
+ exit 0
Wrote: /builddir/build/SRPMS/python-hatchling-1.21.0-1.ocs23.buildreqs.nosrc.rpm
Child return code was: 11
Dynamic buildrequires detected
Going to install missing buildrequires. See root.log for details.
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-hatchling.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-188640-12842/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffe12ce170>timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-hatchling.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: noarch
Building for target noarch
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.94RxPs
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf hatchling-1.21.0
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hatchling-1.21.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd hatchling-1.21.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.RUT66e
+ umask 022
+ cd /builddir/build/BUILD
+ cd hatchling-1.21.0
+ echo pyproject-rpm-macros
+ echo python3-devel
+ echo 'python3dist(pip) >= 19'
+ echo 'python3dist(packaging)'
+ '[' -f pyproject.toml ']'
+ echo 'python3dist(toml)'
+ rm -rfv '*.dist-info/'
+ '[' -f /usr/bin/python3 ']'
+ RPM_TOXENV=py311
+ HOSTNAME=rpmbuild
+ /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3
Handling editables>=0.3 from get_requires_for_build_wheel
Requirement satisfied: editables>=0.3
   (installed: editables 0.5)
Handling packaging>=21.3 from get_requires_for_build_wheel
Requirement satisfied: packaging>=21.3
   (installed: packaging 23.1)
Handling pathspec>=0.10.1 from get_requires_for_build_wheel
Requirement satisfied: pathspec>=0.10.1
   (installed: pathspec 0.11.2)
Handling pluggy>=1.0.0 from get_requires_for_build_wheel
Requirement satisfied: pluggy>=1.0.0
   (installed: pluggy 1.3.0)
Handling tomli>=1.2.2; python_version < '3.11' from get_requires_for_build_wheel
Ignoring alien requirement: tomli>=1.2.2; python_version < '3.11'
Handling trove-classifiers from get_requires_for_build_wheel
Requirement satisfied: trove-classifiers
   (installed: trove-classifiers 2023.8.7)
Handling editables>=0.3 from wheel metadata: Requires-Dist
Requirement satisfied: editables>=0.3
   (installed: editables 0.5)
Handling packaging>=21.3 from wheel metadata: Requires-Dist
Requirement satisfied: packaging>=21.3
   (installed: packaging 23.1)
Handling pathspec>=0.10.1 from wheel metadata: Requires-Dist
Requirement satisfied: pathspec>=0.10.1
   (installed: pathspec 0.11.2)
Handling pluggy>=1.0.0 from wheel metadata: Requires-Dist
Requirement satisfied: pluggy>=1.0.0
   (installed: pluggy 1.3.0)
Handling tomli>=1.2.2; python_version < '3.11' from wheel metadata: Requires-Dist
Ignoring alien requirement: tomli>=1.2.2; python_version < '3.11'
Handling trove-classifiers from wheel metadata: Requires-Dist
Requirement satisfied: trove-classifiers
   (installed: trove-classifiers 2023.8.7)
+ RPM_EC=0
++ jobs -p
+ exit 0
Wrote: /builddir/build/SRPMS/python-hatchling-1.21.0-1.ocs23.buildreqs.nosrc.rpm
Child return code was: 11
Dynamic buildrequires detected
Going to install missing buildrequires. See root.log for details.
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-hatchling.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-188640-12842/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffe12ce170>timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-hatchling.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: noarch
Building for target noarch
Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.4ZqF12
+ umask 022
+ cd /builddir/build/BUILD
+ cd hatchling-1.21.0
+ echo pyproject-rpm-macros
+ echo python3-devel
+ echo 'python3dist(pip) >= 19'
+ echo 'python3dist(packaging)'
+ '[' -f pyproject.toml ']'
+ echo 'python3dist(toml)'
+ rm -rfv hatchling-1.21.0.dist-info/
removed 'hatchling-1.21.0.dist-info/METADATA'
removed directory 'hatchling-1.21.0.dist-info/'
+ '[' -f /usr/bin/python3 ']'
+ RPM_TOXENV=py311
+ HOSTNAME=rpmbuild
+ /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3
Handling editables>=0.3 from get_requires_for_build_wheel
Requirement satisfied: editables>=0.3
   (installed: editables 0.5)
Handling packaging>=21.3 from get_requires_for_build_wheel
Requirement satisfied: packaging>=21.3
   (installed: packaging 23.1)
Handling pathspec>=0.10.1 from get_requires_for_build_wheel
Requirement satisfied: pathspec>=0.10.1
   (installed: pathspec 0.11.2)
Handling pluggy>=1.0.0 from get_requires_for_build_wheel
Requirement satisfied: pluggy>=1.0.0
   (installed: pluggy 1.3.0)
Handling tomli>=1.2.2; python_version < '3.11' from get_requires_for_build_wheel
Ignoring alien requirement: tomli>=1.2.2; python_version < '3.11'
Handling trove-classifiers from get_requires_for_build_wheel
Requirement satisfied: trove-classifiers
   (installed: trove-classifiers 2023.8.7)
Handling editables>=0.3 from wheel metadata: Requires-Dist
Requirement satisfied: editables>=0.3
   (installed: editables 0.5)
Handling packaging>=21.3 from wheel metadata: Requires-Dist
Requirement satisfied: packaging>=21.3
   (installed: packaging 23.1)
Handling pathspec>=0.10.1 from wheel metadata: Requires-Dist
Requirement satisfied: pathspec>=0.10.1
   (installed: pathspec 0.11.2)
Handling pluggy>=1.0.0 from wheel metadata: Requires-Dist
Requirement satisfied: pluggy>=1.0.0
   (installed: pluggy 1.3.0)
Handling tomli>=1.2.2; python_version < '3.11' from wheel metadata: Requires-Dist
Ignoring alien requirement: tomli>=1.2.2; python_version < '3.11'
Handling trove-classifiers from wheel metadata: Requires-Dist
Requirement satisfied: trove-classifiers
   (installed: trove-classifiers 2023.8.7)
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.r9bHHI
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd hatchling-1.21.0
+ mkdir -p /builddir/build/BUILD/hatchling-1.21.0/.pyproject-builddir
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ TMPDIR=/builddir/build/BUILD/hatchling-1.21.0/.pyproject-builddir
+ /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/hatchling-1.21.0/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose .
Processing /builddir/build/BUILD/hatchling-1.21.0
  Preparing metadata (pyproject.toml): started
  Running command Preparing metadata (pyproject.toml)
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: hatchling
  Building wheel for hatchling (pyproject.toml): started
  Running command Building wheel for hatchling (pyproject.toml)
  Building wheel for hatchling (pyproject.toml): finished with status 'done'
  Created wheel for hatchling: filename=hatchling-1.21.0-py3-none-any.whl size=76741 sha256=b33ef0ecdee6dbfd28c21ca30df459ba1d566050d033f8b5a1d0e26e5606d26b
  Stored in directory: /builddir/.cache/pip/wheels/69/34/54/d17673e64b03990c8d42cfaf021828a9463a313a489baf33f8
Successfully built hatchling
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DrlOHJ
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch
++ dirname /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch
+ cd hatchling-1.21.0
++ ls /builddir/build/BUILD/hatchling-1.21.0/pyproject-wheeldir/hatchling-1.21.0-py3-none-any.whl
++ xargs basename --multiple
++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/'
+ specifier=hatchling==1.21.0
+ TMPDIR=/builddir/build/BUILD/hatchling-1.21.0/.pyproject-builddir
+ /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/hatchling-1.21.0/pyproject-wheeldir hatchling==1.21.0
Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11)
Looking in links: /builddir/build/BUILD/hatchling-1.21.0/pyproject-wheeldir
Processing ./pyproject-wheeldir/hatchling-1.21.0-py3-none-any.whl
Installing collected packages: hatchling
  Creating /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/bin
  changing mode of /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/bin/hatchling to 755
Successfully installed hatchling-1.21.0
+ '[' -d /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/bin ']'
+ '[' -f /usr/bin/pathfix3.11.py ']'
+ pathfix=/usr/bin/pathfix3.11.py
+ '[' -z s ']'
+ shebang_flags=-kas
+ /usr/bin/pathfix3.11.py -pni /usr/bin/python3 -kas /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/bin/hatchling
/builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/bin/hatchling: updating
+ rm -rfv /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/bin/__pycache__
+ rm -f /builddir/build/BUILD/pyproject-ghost-distinfo
+ site_dirs=()
+ '[' -d /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/lib/python3.11/site-packages ']'
+ site_dirs+=("/usr/lib/python3.11/site-packages")
+ '[' /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/lib/python3.11/site-packages ']'
+ '[' -d /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/lib64/python3.11/site-packages ']'
+ for site_dir in ${site_dirs[@]}
+ for distinfo in /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch$site_dir/*.dist-info
+ echo '%ghost /usr/lib/python3.11/site-packages/hatchling-1.21.0.dist-info'
+ sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/hatchling-1.21.0.dist-info/INSTALLER
+ PYTHONPATH=/usr/lib/rpm/OpenCloudOS
+ /usr/bin/python3 -B /usr/lib/rpm/OpenCloudOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch --record /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/hatchling-1.21.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record
+ rm -fv /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/hatchling-1.21.0.dist-info/RECORD
removed '/builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/hatchling-1.21.0.dist-info/RECORD'
+ rm -fv /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/hatchling-1.21.0.dist-info/REQUESTED
removed '/builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/hatchling-1.21.0.dist-info/REQUESTED'
+ /usr/bin/python3 /usr/lib/rpm/OpenCloudOS/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr hatchling
+ install -t /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/share/man/man1 -D -pm0644 /builddir/build/SOURCES/hatchling.1 /builddir/build/SOURCES/hatchling-build.1 /builddir/build/SOURCES/hatchling-dep.1 /builddir/build/SOURCES/hatchling-dep-synced.1 /builddir/build/SOURCES/hatchling-metadata.1 /builddir/build/SOURCES/hatchling-version.1
+ rm -f /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/hatchling-1.21.0.dist-info/licenses/LICENSE.txt
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.21.0-1.ocs23 --unique-debug-suffix -1.21.0-1.ocs23.noarch --unique-debug-src-base python-hatchling-1.21.0-1.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/hatchling-1.21.0
find: 'debug': No such file or directory
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/OpenCloudOS/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs
+ /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0
Bytecompiling .py files below /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/lib/python3.11 using python3.11
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Processing files: python3-hatchling-1.21.0-1.ocs23.noarch
error: File not found: /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/hatchling-1.21.0.dist-info/licenses/LICENSE.txt
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DHKMNk
+ umask 022
+ cd /builddir/build/BUILD
+ cd hatchling-1.21.0
+ DOCDIR=/builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/share/doc/python3-hatchling
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/share/doc/python3-hatchling
+ cp -pr README.md /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/share/doc/python3-hatchling
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.SKBiHF
+ umask 022
+ cd /builddir/build/BUILD
+ cd hatchling-1.21.0
+ LICENSEDIR=/builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/share/licenses/python3-hatchling
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/share/licenses/python3-hatchling
+ cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/share/licenses/python3-hatchling
+ RPM_EC=0
++ jobs -p
+ exit 0
RPM build errors:
    File not found: /builddir/build/BUILDROOT/python-hatchling-1.21.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/hatchling-1.21.0.dist-info/licenses/LICENSE.txt
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-hatchling.spec\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-hatchling.spec