Possibly similar to 909151. * ERROR: dev-python/virtualenv-20.25.1::gentoo failed (compile phase): * Wheel build failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 4050: Called distutils-r1_src_compile * environment, line 1968: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 796: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3650: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3156: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3154: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1284: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1950: Called distutils-r1_python_compile * environment, line 1766: Called distutils_pep517_install '/var/tmp/portage/dev-python/virtualenv-20.25.1/work/virtualenv-20.25.1-python3_11/install' * environment, line 2314: Called die * The specific snippet of code: * [[ -n ${wheel} ]] || die "No wheel name returned"; I think this might be because of an incorrect dependency package version. If I emerge -1 dev-python/trove-classifiers which upgrades: 1712069854: >>> unmerge success: dev-python/trove-classifiers-2023.5.24 1712069862: === (1 of 1) Post-Build Cleaning (dev-python/trove-classifiers-2024.3.3::/usr/portage/dev-python/trove-classifiers/trove-classifiers-2024.3.3.ebuild) 1712069862: ::: completed emerge (1 of 1) dev-python/trove-classifiers-2024.3.3 to / then the emerge of virtualenv goes without an issue. John Reitan helped me with this and mentioned that hatchling says dev-python/trove-classifiers[${PYTHON_USEDEP}] which might be a problem if a more recent version of the package is required.
Important to add is that we found ValueError: Unknown classifier in field `project.classifiers`: Programming Language :: Python :: 3.13 which is missing from dev-python/trove-classifiers-2023.5.24, which he had. So the issue was that that dev-python/hatchling only specifies dev-python/trove-classifiers[${PYTHON_USEDEP}] and not any specific minimum version needed. Any 3.13 capable python package would fail with dev-python/trove-classifiers-2023.5.24 installed, but portage would miss that dependency as no version specified.
Please provide emerge --info and a attach the build log.
Please change the status back to UNCONFIRMED once the requested information has been provided.
Created attachment 889514 [details] emerge --info
I no longer have the build log as I have since successfully emerged the package after manually updating the dependency.
Next time save the build log please.
Sigh, I really need to ask upstream to fix hatchling not to be such a nuisance.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=841e5a0997cd00cae7ebd8573db36561160e7f3f commit 841e5a0997cd00cae7ebd8573db36561160e7f3f Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-04-05 15:44:24 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-04-05 15:44:24 +0000 dev-python/hatchling: Depend on the newest trove-classifiers Closes: https://bugs.gentoo.org/928447 Signed-off-by: Michał Górny <mgorny@gentoo.org> .../{hatchling-1.21.1.ebuild => hatchling-1.21.1-r1.ebuild} | 7 ++++++- .../{hatchling-1.22.5.ebuild => hatchling-1.22.5-r1.ebuild} | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-)