Opened 12 months ago

Last modified 12 months ago

#68794 assigned defect

py311-numpy @1.26.1_1+gcc12: ERROR: Problem encountered: No BLAS library detected!

Reported by: ricardo-rizzo (Ricardo Rizzo) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: sonoma arm64 Cc:
Port: py311-numpy

Description (last modified by ricardo-rizzo (Ricardo Rizzo))

Hi, I tried to install GILDAS on a fresh MacBook Air with chip A1 (Apple Silicon):

  • MacBook Air
  • Chip M1
  • macOS Sonoma 14.1.1
  • Xcode 15
  • XQuartz 2.8.5 (xorg-server 21.1.6)
  • port 2.8.1
  • python 3.9.6

Following advice from @bardeau, I skipped gcc13 and proceed with gcc12:

sudo port install gildas +gcc12

Installation was unsuccessful, apparently due to a problem with the version of numpy:

Error: Failed to build py311-numpy: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-numpy/py311-numpy/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port gildas failed

I attach the complete output and the log to this issue.

I also dive into the repository (at https://packages.macports.org/py311-numpy) and found that there is not a "darwin_23" version of py311 or even other versions, like py39. Apparently, "darwin_23" is the version corresponding to my current macOS.

What can I do?

Thank you in advance for helping.

Attachments (2)

gildas_log.rtf (97.3 KB) - added by ricardo-rizzo (Ricardo Rizzo) 12 months ago.
Installation log
main.log (22.5 KB) - added by ricardo-rizzo (Ricardo Rizzo) 12 months ago.
Installation log file

Download all attachments as: .zip

Change History (5)

Changed 12 months ago by ricardo-rizzo (Ricardo Rizzo)

Attachment: gildas_log.rtf added

Installation log

Changed 12 months ago by ricardo-rizzo (Ricardo Rizzo)

Attachment: main.log added

Installation log file

comment:1 Changed 12 months ago by ricardo-rizzo (Ricardo Rizzo)

Description: modified (diff)

comment:2 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: sonoma arm64 added; numpy Sonoma removed
Owner: set to michaelld
Port: py311-numpy added; gildas removed
Status: newassigned
Summary: Cannot install GILDAS on Sonoma with A1 chip (py-numpy issue)py311-numpy @1.26.1_1+gcc12: ERROR: Problem encountered: No BLAS library detected!

The lack of a binary archive is not in and of itself a problem. In that case, MacPorts builds from source, which is expected to succeed. In your case it failed. That's a problem. The log says the problem was:

ERROR: Problem encountered: No BLAS library detected! Install one, or use the `allow-noblas` build option (note, this may be up to 100x slower for some linear algebra operations).

A major change was just made to the OpenBLAS port; maybe it has caused this problem.

comment:3 Changed 12 months ago by ricardo-rizzo (Ricardo Rizzo)

Thank you, @ryandesign, for the prompt reply. So, how can I install BLAS? I mean, is it supposed to get BLAS installed on the system previously to Gildas port? Thank you!

Note: See TracTickets for help on using tickets.