[MacPorts] #62879: unable to install py39-numpy because OpenBLAS does not work anymore

MacPorts noreply at macports.org
Thu May 13 12:48:34 UTC 2021


#62879: unable to install py39-numpy because OpenBLAS does not work anymore
--------------------------------+-----------------------
  Reporter:  giovannicantele    |      Owner:  michaelld
      Type:  defect             |     Status:  assigned
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:
Resolution:                     |   Keywords:
      Port:  py-numpy openblas  |
--------------------------------+-----------------------
Changes (by reneeotten):

 * status:  new => assigned
 * cc: NicosPavlov (added)
 * priority:  High => Normal
 * owner:  (none) => michaelld
 * port:   => py-numpy openblas


Old description:

> 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?

New description:

 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?

--

Comment:

 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/62879#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list