Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933392 - media-gfx/fontforge-20230101 breaks with: ModuleNotFoundError: No module named 'distutils'
Summary: media-gfx/fontforge-20230101 breaks with: ModuleNotFoundError: No module name...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords: PATCH
Depends on: 934050
Blocks:
  Show dependency tree
 
Reported: 2024-06-02 07:06 UTC by Georgi
Modified: 2024-06-11 15:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,6.83 KB, text/x-log)
2024-06-02 07:08 UTC, Georgi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi 2024-06-02 07:06:09 UTC
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.
Comment 1 Georgi 2024-06-02 07:08:25 UTC
Created attachment 894899 [details]
build.log
Comment 2 Larry the Git Cow gentoo-dev 2024-06-02 07:29:37 UTC
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(+)