[MacPorts] #68545: Unable to upgrade py311-numpy @1.26.1 - cannot find cython
MacPorts
noreply at macports.org
Wed Oct 25 00:20:35 UTC 2023
#68545: Unable to upgrade py311-numpy @1.26.1 - cannot find cython
--------------------+-------------------------
Reporter: RobK88 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: lion | Port: py311-numpy
--------------------+-------------------------
I am unable to upgrade `py311-numpy` from 1.25.2_0 to @1.26.1 on Lion. It
looks like the port cannot find the `py311-cython` library (which is
installed).
{{{
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-9dakvmho/build
Build type: cross build
Project name: NumPy
Project version: 1.26.1
C compiler for the host machine: cc -arch x86_64 (clang 4.2 "Apple LLVM
version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)")
C linker for the host machine: cc -arch x86_64 ld64 136
C++ compiler for the host machine: c++ -arch x86_64 (clang 4.2 "Apple LLVM
version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)")
C++ linker for the host machine: c++ -arch x86_64 ld64 136
../../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-9dakvmho/build/meson-logs
/meson-log.txt
ERROR Backend subprocess exited when trying to invoke build_wheel
Command failed: cd
"/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" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11
-m build --no-isolation --wheel --outdir
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-numpy/py311-numpy/work
Exit code: 1
Error: Failed to build py311-numpy: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-numpy/py311-numpy/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
bash-3.2$
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68545>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list