[MacPorts] #70132: py27-scipy @1.2.3: Cannot assign type 'void (object) except *' to 'PyCapsule_Destructor' (alias of 'void (*)(object) noexcept'). Exception values are incompatible. (was: Failed to build py27-scipy: command execution failed)

MacPorts noreply at macports.org
Sat Jun 1 18:54:19 UTC 2024


#70132: py27-scipy @1.2.3: Cannot assign type 'void (object) except *' to
'PyCapsule_Destructor' (alias of 'void (*)(object) noexcept'). Exception
values are incompatible.
-------------------------+--------------------------
  Reporter:  srinr       |      Owner:  michaelld
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.9.3
Resolution:              |   Keywords:  sonoma arm64
      Port:  py27-scipy  |
-------------------------+--------------------------
Changes (by ryandesign):

 * version:   => 2.9.3


Comment:

 Looks like the first error in the log is:

 {{{
 Error compiling Cython file:
 ------------------------------------------------------------
 ...
     if with_signature:
         signature = "int (double *, npy_intp, double *, npy_intp, void *)"
     try:
         capsule = PyCapsule_New(<void *>_filter1d, signature, _destructor)
                                                               ^
 ------------------------------------------------------------
 _cytest.pyx:46:62: Cannot assign type 'void (object) except *' to
 'PyCapsule_Destructor' (alias of 'void (*)(object) noexcept'). Exception
 values are incompatible. Suggest adding 'noexcept' to the type of
 '_destructor'.
 }}}

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


More information about the macports-tickets mailing list