Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938614 - app-emulation/libvirt-glib-5.0.0: ModuleNotFoundError: No module named 'distutils.msvccompiler'
Summary: app-emulation/libvirt-glib-5.0.0: ModuleNotFoundError: No module named 'distu...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-28 18:26 UTC by Anders Larsson
Modified: 2024-09-04 11:10 UTC (History)
4 users (show)

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


Attachments
Build logs (build.log,368.13 KB, text/x-log)
2024-08-28 18:26 UTC, Anders Larsson
Details
emerge --info (emergeinfo.txt,7.44 KB, text/plain)
2024-08-28 18:27 UTC, Anders Larsson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Larsson 2024-08-28 18:26:36 UTC
Created attachment 901511 [details]
Build logs

Traceback (most recent call last):
  File "/usr/bin/g-ir-scanner", line 103, in <module>
    from giscanner.scannermain import scanner_main
  File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 35, in <module>
    from giscanner.ast import Include, Namespace
  File "/usr/lib64/gobject-introspection/giscanner/ast.py", line 29, in <module>
    from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF
  File "/usr/lib64/gobject-introspection/giscanner/sourcescanner.py", line 25, in <module>
    from .ccompiler import CCompiler
  File "/usr/lib64/gobject-introspection/giscanner/ccompiler.py", line 29, in <module>
    from distutils.msvccompiler import MSVCCompiler
ModuleNotFoundError: No module named 'distutils.msvccompiler'

Ebuild dev-python/setuptools-74.0.0 updated as well. Works again after downgrading it back to dev-python/setuptools-73.0.1.

Changelog for setuptools:
Deprecations and Removals
    Removed the monkeypatching of distutils._msvccompiler. Now all compiler logic is consolidated in distutils. (#4600)
    Synced with pypa/distutils@58fe058e4, including consolidating Visual Studio 2017 support (#4600, pypa/distutils#289), removal of deprecated legacy MSVC compiler modules (pypa/distutils#287), suppressing of errors when the home directory is missing (pypa/distutils#278), removal of wininst binaries (pypa/distutils#282). (#4606)
Comment 1 Anders Larsson 2024-08-28 18:27:23 UTC
Created attachment 901512 [details]
emerge --info