maintainer-feedback requested: [Bug 285467] x11-toolkits/gtk40: ModuleNotFoundError: No module named 'distutils.msvccompiler'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 16 Mar 2025 13:21:03 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@FreeBSD.org> for maintainer-feedback:
Bug 285467: x11-toolkits/gtk40: ModuleNotFoundError: No module named
'distutils.msvccompiler'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285467
--- Description ---
When used with (experimental) update of prerequisite port devel/py-setuptools
(> 63.X, I used 64.0, 75.3.0 and 75.8.2), some FreeBSD ports relying on
devel/py-setuptools seemingly bail out with a strange error referring to a more
Microsoft related compile(?):
[...]
Traceback (most recent call last):
File "/usr/local/bin/g-ir-scanner", line 103, in <module>
from giscanner.scannermain import scanner_main
File "/usr/local/lib/gobject-introspection/giscanner/scannermain.py", line
35, in <module>
from giscanner.ast import Include, Namespace
File "/usr/local/lib/gobject-introspection/giscanner/ast.py", line 29, in
<module>
from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF
File "/usr/local/lib/gobject-introspection/giscanner/sourcescanner.py", line
25, in <module>
from .ccompiler import CCompiler
File "/usr/local/lib/gobject-introspection/giscanner/ccompiler.py", line 29,
in <module>
from distutils.msvccompiler import MSVCCompiler
ModuleNotFoundError: No module named 'distutils.msvccompiler'
[...]
Also, such an error occurs with several other ports relying on
devel/py-setuptools, like
math/py-numpy