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

MacPorts noreply at macports.org
Wed Oct 25 18:31:19 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):

 I also tried the following:

 {{{
 bash-3.2$ sudo port select --set cython cython311
 Selecting 'cython311' for 'cython' succeeded. 'cython311' is now active.
 bash-3.2$
 bash-3.2$ sudo port upgrade py311-numpy configure.compiler=macports-
 clang-11
 }}}

 But the build also failed.  At least it found the cython3 compiler due to
 the `port select` command above. But for some reason, the port still tried
 to build using `clang 4.2 "Apple LLVM version 4.2 (clang-425.0.28`.  It
 did not try to build using `clang-11`


 {{{
 :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 Cython compiler for the host machine: cython (cython 0.29.36)
 :info:build C compiler for the build machine: ccache cc (clang 4.2 "Apple
 LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)")
 :info:build C linker for the build machine: cc ld64 136
 :info:build C++ compiler for the build machine: ccache c++ (clang 4.2
 "Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)")
 :info:build C++ linker for the build machine: c++ ld64 136
 :info:build Cython compiler for the build machine: cython (cython 0.29.36)
 :info:build Build machine cpu family: x86
 :info:build Build machine cpu: i386
 :info:build Host machine cpu family: x86_64
 :info:build Host machine cpu: x86_64
 :info:build Target machine cpu family: x86_64
 :info:build Target machine cpu: x86_64
 }}}

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


More information about the macports-tickets mailing list