Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2025 13:21:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 285467] x11-toolkits/gtk40: ModuleNotFoundError: No module named 'distutils.msvccompiler'
Message-ID:  <bug-285467-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285467

            Bug ID: 285467
           Summary: x11-toolkits/gtk40: ModuleNotFoundError: No module
                    named 'distutils.msvccompiler'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: ohartmann@walstatt.org
          Assignee: desktop@FreeBSD.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)

When used with (experimental) update of prerequisite port devel/py-setuptoo=
ls
(> 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", l=
ine
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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285467-7788>