[MacPorts] #65592: py310-numpy fails on Rosetta: multiarray/lowlevel_strided_loops failure

MacPorts noreply at macports.org
Tue Aug 2 00:49:20 UTC 2022


#65592: py310-numpy fails on Rosetta: multiarray/lowlevel_strided_loops failure
-------------------------------------------+-------------------------
 Reporter:  barracuda156                   |      Owner:  michaelld
     Type:  defect                         |     Status:  assigned
 Priority:  Normal                         |  Milestone:
Component:  ports                          |    Version:  2.7.2
 Keywords:  powerpc, rosetta, snowleopard  |       Port:  py310-numpy
-------------------------------------------+-------------------------
 There are two problems:

 1. Usage of `-march=native`, unsupported on PPC:
 https://github.com/mfem/mfem/issues/216
 This can be fixed with a patch or `reinplace`.

 2. This failure:
 {{{
 error: Command "/opt/local/bin/gcc-mp-12 -Wno-unused-result -Wsign-compare
 -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc
 -isysroot/ -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1
 -DHAVE_CBLAS -Ibuild/src.macosx-10.6-ppc-3.10/numpy/core/src/multiarray
 -Ibuild/src.macosx-10.6-ppc-3.10/numpy/core/src/common
 -Ibuild/src.macosx-10.6-ppc-3.10/numpy/core/src/umath -Inumpy/core/include
 -Ibuild/src.macosx-10.6-ppc-3.10/numpy/core/include/numpy
 -Ibuild/src.macosx-10.6-ppc-3.10/numpy/distutils/include
 -Ibuild/src.macosx-10.6-ppc-3.10/numpy/core/src/npysort
 -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core
 -Inumpy/core/src/npymath -Inumpy/core/src/multiarray
 -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10
 -Ibuild/src.macosx-10.6-ppc-3.10/numpy/core/src/common
 -Ibuild/src.macosx-10.6-ppc-3.10/numpy/core/src/npymath -c
 build/src.macosx-10.6-ppc-3.10/numpy/core/src/multiarray/lowlevel_strided_loops.c
 -o build/temp.macosx-10.6-ppc-
 cpython-310/build/src.macosx-10.6-ppc-3.10/numpy/core/src/multiarray/lowlevel_strided_loops.o
 -MMD -MF build/temp.macosx-10.6-ppc-
 cpython-310/build/src.macosx-10.6-ppc-3.10/numpy/core/src/multiarray/lowlevel_strided_loops.o.d"
 failed with exit status 1
 }}}

 Ticket with upstream: https://github.com/numpy/numpy/issues/22072

-- 
Ticket URL: <https://trac.macports.org/ticket/65592>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list