[MacPorts] #59296: py37-scikit-learn @0.21.3: Build fails

MacPorts noreply at macports.org
Sun Oct 13 12:12:41 UTC 2019


#59296: py37-scikit-learn @0.21.3: Build fails
--------------------------+-------------------------------
 Reporter:  andrey-popov  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.6.1
 Keywords:                |       Port:  py37-scikit-learn
--------------------------+-------------------------------
 Build of `py37-scikit-learn` fails on macOS 10.15 with Xcode 11.1. Here is
 the relevant part of the log:

 {{{
 :info:build test_openmp.c:1:10: fatal error: 'omp.h' file not found
 :info:build #include <omp.h>
 :info:build          ^~~~~~~
 :info:build 1 error generated.
 }}}

 The full log is attached. The dependency `libomp` is installed, and and
 the problematic header file is available in path
 `/opt/local/include/libomp/omp.h`. Is the flag
 `-I/opt/local/include/libomp` missing, maybe?

-- 
Ticket URL: <https://trac.macports.org/ticket/59296>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list