Opened 3 years ago

Last modified 3 years ago

#62879 closed defect

unable to install py39-numpy because OpenBLAS does not work anymore — at Version 1

Reported by: giovannicantele Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: arm Cc: NicosPavlov
Port: py-numpy openblas

Description (last modified by reneeotten (Renee Otten))

Hi all, I'm trying to sudo port install py39-numpy Python was working until two days ago, when I unfortunately decided to port upgrade outdated. Since everything was broken, I decided to uninstall all ports and macports and install them back again.

Up to a certain point everything has worked. But now I need numpy to run my python scripts. If I try to install it, it fails because OpenBLAS is now broken.

Looking at /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/main.log I get the following errors:

:info:build ld: file not found: loader_path
:info:build collect2: error: ld returned 1 exit status
:info:build make[1]: *** [libopenblas-r1.dylib] Error 1
[...]
:info:build Exit code: 2
:error:build Failed to build OpenBLAS: command execution failed
:debug:build Error code: CHILDSTATUS 83571 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"

I'm quite desperate, I don't know how to rebuild my python installation.

Can anyone help me?

Change History (1)

comment:1 Changed 3 years ago by reneeotten (Renee Otten)

Cc: NicosPavlov added
Description: modified (diff)
Owner: set to michaelld
Port: py-numpy openblas added
Priority: HighNormal
Status: newassigned

just to make sure, first let's try: sudo port selfupdate && sudo port clean --all py39-numpy openblas, then try to install NumPy again: sudo port install py39-numpy. If that still fails, please attach the full log file to this tickets as the message will tell you to do.

Note: See TracTickets for help on using tickets.