Opened 5 years ago

Closed 5 years ago

#59296 closed defect (fixed)

py37-scikit-learn @0.21.3: Build fails

Reported by: andrey-popov (Andrey Popov) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc: chrstphrchvz (Christopher Chavez)
Port: py-scikit-learn

Description

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?

Attachments (1)

main.log (57.3 KB) - added by andrey-popov (Andrey Popov) 5 years ago.
Log from port install

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by andrey-popov (Andrey Popov)

Attachment: main.log added

Log from port install

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Cc: stromnov removed
Owner: set to stromnov
Port: py-scikit-learn added; py37-scikit-learn removed
Status: newassigned

Looks like you're missing [2b1483ed33e5aa14f5abb8f6c332e431bfb0de30/macports-ports]. Selfupdate and try again?

comment:2 Changed 5 years ago by andrey-popov (Andrey Popov)

I confirm the installation succeeds after the update. Thank you.

comment:3 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

The reporter said their issue was resolved. Unless the issue has reappeared, should this be closed?

comment:4 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:5 Changed 5 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.