[MacPorts] #68545: py311-numpy @1.26.1 build failure - cannot find cython

MacPorts noreply at macports.org
Wed Oct 25 14:27:12 UTC 2023


#68545: py311-numpy @1.26.1 build failure - cannot find cython
-----------------------+-----------------------
  Reporter:  RobK88    |      Owner:  michaelld
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.1
Resolution:            |   Keywords:  lion
      Port:  py-numpy  |
-----------------------+-----------------------

Comment (by RobK88):

 No.  The port `py311-numpy` still cannot find the `py311-cython`
 libraries.  See below:


 {{{

 bash-3.2$ sudo port select --set cython none
 Selecting 'none' for 'cython' succeeded. 'none' is now active.
 bash-3.2$
 bash-3.2$ sudo port deactivate meson
 Note: It is not recommended to uninstall/deactivate a port that has
 dependents as it breaks the dependents.
 The following ports will break: gutils-suite-core @1.1_3
 Continue? [y/N]: Y
 Warning: Deactivate forced.  Proceeding despite dependencies.
 --->  Deactivating meson @1.2.2_0
 --->  Cleaning meson
 bash-3.2$
 bash-3.2$ sudo port upgrade py311-numpy
 --->  Computing dependencies for py311-numpy
 etc
 etc

 :info:build The Meson build system
 :info:build Version: 1.2.99
 :info:build 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
 :info:build 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-wq36w8ae/build
 :info:build Build type: cross build
 :info:build Project name: NumPy
 :info:build Project version: 1.26.1
 :info:build 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)")
 :info:build C linker for the host machine: cc -arch x86_64 ld64 136
 :info:build 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)")
 :info:build C++ linker for the host machine: c++ -arch x86_64 ld64 136
 :info:build ../../meson.build:1:0: ERROR: Unknown compiler(s):
 [['cython'], ['cython3']]
 :info:build The following exception(s) were encountered:
 :info:build Running `cython -V` gave "[Errno 2] No such file or directory:
 'cython'"
 :info:build Running `cython3 -V` gave "[Errno 2] No such file or
 directory: 'cython3'"
 :info:build 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-wq36w8ae/build/meson-logs
 /meson-log.txt
 :info:build ERROR Backend subprocess exited when trying to invoke
 build_wheel
 :info:build 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
 :info:build Exit code: 1
 :error:build Failed to build py311-numpy: command execution failed
 :debug:build Error code: CHILDSTATUS 61809 1
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build 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.
 }}}

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


More information about the macports-tickets mailing list