Opened 4 years ago

Closed 4 years ago

#62763 closed defect (duplicate)

OpenBLAS: Build failure

Reported by: ankitadhar Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur arm64 Cc: michaelld (Michael Dickens)
Port: OpenBLAS

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Using MacBookAir BigSur with M1 chip.

Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
--->  Computing dependencies for py39-numpy
The following dependencies will be installed: 
 OpenBLAS
 fftw-3
 nosetests_select
 py39-nose
Continue? [Y/n]: y
Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
--->  Building OpenBLAS
Error: Failed to build OpenBLAS: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port py39-numpy failed

What should be done to fix it? Without it I am not able to install scikit-learn. I was following -> http://dioskurn.com:8000/installing-scikit-learn-in-macos/

I have followed this link -> #57994, and have tried everything mentioned there. Nothing seems to work.

Attachments (1)

main.log (3.4 MB) - added by ankitadhar 4 years ago.
log file

Change History (4)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: michaelld added
Description: modified (diff)
Keywords: bigsur arm64 added; OpenBLAS removed
Owner: set to NicosPavlov
Port: OpenBLAS added; gcc removed
Priority: HighNormal
Status: newassigned
Summary: sudo port install py39-numpy on MacOs BigSur gives error - Failed to build OpenBLASOpenBLAS: Build failure

Please attach the main.log file so that we can see why it failed.

There is another open ticket about OpenBLAS build failures on Big Sur on Apple Silicon: #61700. Depending on what we see in your log, it may be the same issue.

Changed 4 years ago by ankitadhar

Attachment: main.log added

log file

comment:2 Changed 4 years ago by ankitadhar

I have attached the log file for reference.

comment:3 Changed 4 years ago by jmroot (Joshua Root)

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