Description
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] dev-python/hatchling-1.26.0::python-modules-kit [1.25.0::python-modules-kit] PYTHON_TARGETS="python3_9 -python3_10 -python3_7 -python3_8" 0 KiB
Total: 1 package (1 upgrade), Size of downloads: 0 KiB
Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-python/hatchling-1.26.0::python-modules-kit
>>> Failed to emerge dev-python/hatchling-1.26.0, Log file:
>>> '/run/portage/dev-python/hatchling-1.26.0/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed Load avg: 2.47, 1.38, 1.10
* Package: dev-python/hatchling-1.26.0
* Repository: python-modules-kit
* USE: amd64 elibc_glibc kernel_linux python_targets_python3_9 userland_GNU
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking hatchling-1.26.0.tar.gz to /run/portage/dev-python/hatchling-1.26.0/work
>>> Source unpacked in /run/portage/dev-python/hatchling-1.26.0/work
>>> Preparing source in /run/portage/dev-python/hatchling-1.26.0/work/hatchling-1.26.0 ...
* Build system packages:
* dev-python/gpep517 : 16
* dev-python/installer : 0.5.1-r1
>>> Source prepared.
>>> Configuring source in /run/portage/dev-python/hatchling-1.26.0/work/hatchling-1.26.0 ...
>>> Source configured.
>>> Compiling source in /run/portage/dev-python/hatchling-1.26.0/work/hatchling-1.26.0 ...
* python3_9: running distutils-r1_run_phase distutils-r1_python_compile
* Building the wheel for hatchling-1.26.0 via hatchling.ouroboros
gpep517 build-wheel --backend hatchling.ouroboros --output-fd 3 --wheel-dir /run/portage/dev-python/hatchling-1.26.0/work/hatchling-1.26.0-python3_9/wheel
2024-11-10 17:11:25,108 gpep517 INFO Building wheel via backend hatchling.ouroboros
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.9/gpep517", line 4, in <module>
sys.exit(main())
File "/usr/lib/python3.9/site-packages/gpep517/__main__.py", line 439, in main
return func(args)
File "/usr/lib/python3.9/site-packages/gpep517/__main__.py", line 229, in build_wheel
print(build_wheel_impl(args, args.wheel_dir), file=out)
File "/usr/lib/python3.9/site-packages/gpep517/__main__.py", line 221, in build_wheel_impl
wheel_name = backend.build_wheel(str(wheel_dir), args.config_json)
File "/run/portage/dev-python/hatchling-1.26.0/work/hatchling-1.26.0/src/hatchling/build.py", line 58, in build_wheel
return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
File "/run/portage/dev-python/hatchling-1.26.0/work/hatchling-1.26.0/src/hatchling/builders/plugin/interface.py", line 90, in build
self.metadata.validate_fields()
File "/run/portage/dev-python/hatchling-1.26.0/work/hatchling-1.26.0/src/hatchling/metadata/core.py", line 266, in validate_fields
self.core.validate_fields()
File "/run/portage/dev-python/hatchling-1.26.0/work/hatchling-1.26.0/src/hatchling/metadata/core.py", line 1363, in validate_fields
getattr(self, attribute)
File "/run/portage/dev-python/hatchling-1.26.0/work/hatchling-1.26.0/src/hatchling/metadata/core.py", line 677, in license
from packaging.licenses import canonicalize_license_expression
ModuleNotFoundError: No module named 'packaging.licenses'
* ERROR: dev-python/hatchling-1.26.0::python-modules-kit failed (compile phase):
* Wheel build failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 3566: Called distutils-r1_src_compile
* environment, line 1593: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
* environment, line 699: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 3167: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2641: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2639: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 1085: Called distutils-r1_run_phase 'distutils-r1_python_compile'
* environment, line 1575: Called distutils-r1_python_compile
* environment, line 1398: Called distutils_pep517_install '/run/portage/dev-python/hatchling-1.26.0/work/hatchling-1.26.0-python3_9/install'
* environment, line 1895: Called die
* The specific snippet of code:
* local wheel=$("${cmd[@]}" 3>&1 1>&2 || die "Wheel build failed");
*
* If you need support, post the output of `emerge --info '=dev-python/hatchling-1.26.0::python-modules-kit'`,
* the complete build log and the output of `emerge -pqv '=dev-python/hatchling-1.26.0::python-modules-kit'`.
* The complete build log is located at '/run/portage/dev-python/hatchling-1.26.0/temp/build.log'.
* The ebuild environment file is located at '/run/portage/dev-python/hatchling-1.26.0/temp/environment'.
* Working directory: '/run/portage/dev-python/hatchling-1.26.0/work/hatchling-1.26.0'
* S: '/run/portage/dev-python/hatchling-1.26.0/work/hatchling-1.26.0'