[MacPorts] #68908: py311-numpy @1.26.1 ignores env vars: ERROR: Unknown compiler(s): [['cython'], ['cython3']]

MacPorts noreply at macports.org
Sun Dec 17 02:21:49 UTC 2023


#68908: py311-numpy @1.26.1 ignores env vars: ERROR: Unknown compiler(s):
[['cython'], ['cython3']]
-------------------------+-------------------------------------------------
  Reporter:              |      Owner:  michaelld
  barracuda156           |
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:  tiger, leopard, snowleopard,
      Port:              |  powerpc
  py311-numpy            |
-------------------------+-------------------------------------------------

Comment (by barracuda156):

 Just in case, confirmed on 10.6.8 Rosetta too:
 {{{
 The Meson build system
 Version: 1.2.99
 Source dir: /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_python_py-numpy/py311-numpy/work/numpy-1.26.1
 Build dir: /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_python_py-numpy/py311-numpy/work/numpy-1.26.1
 /.mesonpy-bxvwlv29/build
 Build type: cross build
 Project name: NumPy
 Project version: 1.26.1
 C compiler for the host machine: cc -arch ppc (gcc 4.2.1 "powerpc-apple-
 darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)")
 C linker for the host machine: cc -arch ppc ld64 97.17
 C++ compiler for the host machine: c++ -arch ppc (gcc 4.2.1 "powerpc-
 apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)")
 C++ linker for the host machine: c++ -arch ppc ld64 97.17

 ../../meson.build:1:0: ERROR: Unknown compiler(s): [['cython'],
 ['cython3']]
 The following exception(s) were encountered:
 Running `cython -V` gave "[Errno 2] No such file or directory: 'cython'"
 Running `cython3 -V` gave "[Errno 2] No such file or directory: 'cython3'"

 A full log can be found at /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_python_py-numpy/py311-numpy/work/numpy-1.26.1
 /.mesonpy-bxvwlv29/build/meson-logs/meson-log.txt

 ERROR Backend subprocess exited when trying to invoke build_wheel
 }}}

 Even calling explicitly `py311-numpy +gcc12 configure.compiler=macports-
 gcc-12`(I did not build gcc13 on this system yet) has to effect, `gcc-4.2`
 is picked.

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


More information about the macports-tickets mailing list