During update [ebuild R ] media-gfx/fontforge-20230101::gentoo USE="X gif gtk jpeg png python readline svg tiff -doc -test -truetype-debugger -woff2" PYTHON_SINGLE_TARGET="python3_12%* -python3_10 -python3_11*" 0 KiB breaks with Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'distutils' CMake Error at pyhook/CMakeLists.txt:29 (message): Could not determine the path to install pyhook binaries to, got '' with return value 1 Logs attached. Reproducible: Always Happened during updates related to python 3.12 although it seems not to be related.
Created attachment 894899 [details] build.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53ea57e0919caa29b24429a51254fcabdeda5222 commit 53ea57e0919caa29b24429a51254fcabdeda5222 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-06-02 07:27:44 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-02 07:29:09 +0000 media-gfx/fontforge: fix py3.12 compat This is, of course, masked by setuptools being installed for 3.12 for most people which is how we didn't notice... Closes: https://bugs.gentoo.org/933392 Signed-off-by: Sam James <sam@gentoo.org> ...forge-20230101-python3.12-distutils-no-more.patch | 20 ++++++++++++++++++++ ...230101-r1.ebuild => fontforge-20230101-r2.ebuild} | 1 + 2 files changed, 21 insertions(+)