[MacPorts] #68908: py-numpy: pep517 backend broken: ERROR: Unknown compiler(s): [['cython'], ['cython3']] (was: py311-numpy @1.26.1 ignores env vars: ERROR: Unknown compiler(s): [['cython'], ['cython3']])
MacPorts
noreply at macports.org
Sun Dec 17 05:28:03 UTC 2023
#68908: py-numpy: pep517 backend broken: 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 |
-------------------------+-------------------------------------------------
Description changed by barracuda156:
Old description:
> {{{
> The Meson build system
> Version: 1.2.99
> Source dir:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-
> numpy/py311-numpy/work/numpy-1.26.1
> Build dir:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-
> numpy/py311-numpy/work/numpy-1.26.1/.mesonpy-dd10zcxl/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 5626)")
> C linker for the host machine: cc -arch ppc ld64 87.3.1
> 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 5626)")
> C++ linker for the host machine: c++ -arch ppc ld64 87.3.1
>
> ../../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_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-
> numpy/py311-numpy/work/numpy-1.26.1/.mesonpy-dd10zcxl/build/meson-logs
> /meson-log.txt
>
> ERROR Backend subprocess exited when trying to invoke build_wheel
> }}}
New description:
{{{
The Meson build system
Version: 1.2.99
Source dir:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
numpy/py311-numpy/work/numpy-1.26.1
Build dir:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
numpy/py311-numpy/work/numpy-1.26.1/.mesonpy-dd10zcxl/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 5626)")
C linker for the host machine: cc -arch ppc ld64 87.3.1
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 5626)")
C++ linker for the host machine: c++ -arch ppc ld64 87.3.1
../../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_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
numpy/py311-numpy/work/numpy-1.26.1/.mesonpy-dd10zcxl/build/meson-logs
/meson-log.txt
ERROR Backend subprocess exited when trying to invoke build_wheel
}}}
Also it was unneeded to force it for pre-3.12 pythons. Without it `numpy`
builds.
--
--
Ticket URL: <https://trac.macports.org/ticket/68908#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list