[MacPorts] #64637: py38-numpy: MyPaint fails to run on Mac OS X 10.6.8 due to numpy issues (was: MyPaint fails to run on Mac OS X 10.6.8 due to python-3.8 numpy issues)

MacPorts noreply at macports.org
Fri Mar 25 21:03:33 UTC 2022


#64637: py38-numpy: MyPaint fails to run on Mac OS X 10.6.8 due to numpy issues
-------------------------------+-------------------------
  Reporter:  leeeoooooo        |      Owner:  michaelld
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.7.1
Resolution:                    |   Keywords:  snowleopard
      Port:  py-numpy MyPaint  |
-------------------------------+-------------------------
Changes (by ryandesign):

 * keywords:   => snowleopard


Comment:

 Seems like the problem is with numpy, not MyPaint.
 {{{
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/numpy/core/_multiarray_umath.cpython-38-darwin.so, 2):
 Symbol not found: _Dragon4_PrintFloat_Intel_extended128
   Referenced from:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/numpy/core/_multiarray_umath.cpython-38-darwin.so
   Expected in: flat namespace
  in
 /opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/numpy/core/_multiarray_umath.cpython-38-darwin.so
 }}}
 There are no occurrences of `Dragon4` in the MyPaint source that I can
 find. Meanwhile in numpy I see in
 [https://github.com/numpy/numpy/blob/main/numpy/core/src/multiarray/dragon4.c
 dragon4.c] that it only declares `Dragon4_PrintFloat_Intel_extended128` if
 `HAVE_LDOUBLE_INTEL_EXTENDED_16_BYTES_LE` is defined. Later in dragon4.c
 it invokes `Dragon4_PrintFloat_##format` in two places, so I guess
 `HAVE_LDOUBLE_INTEL_EXTENDED_16_BYTES_LE` is false on your system yet
 `##format` has expanded to `Intel_extended128` for whatever reason. I
 don't see where `format` is defined.

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


More information about the macports-tickets mailing list