[MacPorts] #62763: OpenBLAS: Build failure (was: sudo port install py39-numpy on MacOs BigSur gives error - Failed to build OpenBLAS)
MacPorts
noreply at macports.org
Tue Apr 27 10:05:20 UTC 2021
#62763: OpenBLAS: Build failure
-------------------------+--------------------------
Reporter: ankitadhar | Owner: NicosPavlov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: bigsur arm64
Port: OpenBLAS |
-------------------------+--------------------------
Changes (by ryandesign):
* status: new => assigned
* cc: michaelld (added)
* priority: High => Normal
* owner: (none) => NicosPavlov
* keywords: OpenBLAS => bigsur arm64
* port: gcc => OpenBLAS
Old description:
> 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 -> https://trac.macports.org/ticket/57994, and
> have tried everything mentioned there. Nothing seems to work.
New description:
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.
--
Comment:
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.
--
Ticket URL: <https://trac.macports.org/ticket/62763#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list