[MacPorts] #69058: py311-wxpython-4.0 @4.2.1: 'cython.object' is not a valid cython.* module (was: kicad 7.0.9 fails install due to py311-wxpython-4.0 build failure)

MacPorts noreply at macports.org
Mon Jan 29 04:07:25 UTC 2024


#69058: py311-wxpython-4.0 @4.2.1: 'cython.object' is not a valid cython.* module
---------------------------------+--------------------
  Reporter:  myart4ios           |      Owner:  (none)
      Type:  defect              |     Status:  new
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.8.1
Resolution:                      |   Keywords:
      Port:  py311-wxpython-4.0  |
---------------------------------+--------------------
Changes (by ryandesign):

 * port:  kicad py311-wxpython-4.0 => py311-wxpython-4.0


Comment:

 The error in the log was:

 {{{
 [1/1] Cythonizing wx/svg/_nanosvg.pyx
 Error compiling Cython file:
 ------------------------------------------------------------
 ...
 for manipulating the SVG shape info in memory.
 """
 import sys
 cimport cython.object
         ^
 ------------------------------------------------------------
 wx/svg/_nanosvg.pyx:45:8: 'cython.object' is not a valid cython.* module
 Traceback (most recent call last):
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 wxpython-4.0/py311-wxpython-4.0/work/wxPython-4.2.1/setup-wxsvg.py", line
 54, in <module>
     modules = cythonize([module],
               ^^^^^^^^^^^^^^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
     cythonize_one(*args)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
     raise CompileError(None, pyx_file)
 Cython.Compiler.Errors.CompileError: wx/svg/_nanosvg.pyx
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69058#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list