[MacPorts] #62727: OpenBLAS fails to build on Apple M1

MacPorts noreply at macports.org
Wed Apr 28 07:34:24 UTC 2021


#62727: OpenBLAS fails to build on Apple M1
------------------------------+--------------------
  Reporter:  Gregory-Gelfond  |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.6.4
Resolution:                   |   Keywords:
      Port:  OpenBLAS         |
------------------------------+--------------------

Comment (by ankitadhar):

 I am still confused. When I had installed macports, I had downloaded a
 package which did the task for me. In how to install older ports, I can am
 able to clone the repository.

 My doubts:
 1. If I clone commit of my interest in say 'Documents', and then go to
 lang/gcc-devel and run `sudo port install`, then I get the following
 error:
 `Error: Unable to execute port: Could not open file:
 /Users/ankitadhar/Documents/macports-ports/lang/gcc-devel/Portfile`.
 If this is the right way of doing then how to overcome this error.
 2. If I am required to replace all the ports in the path
 `/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang`,
 then what next steps do I need to follow?

 I wish to thank you for the time and support. I am really thankful, cuz I
 am clueless without these chats.

 Replying to [comment:18 NicosPavlov]:
 > You can refer to
 [https://trac.macports.org/wiki/howto/InstallingOlderPort how to install
 older ports] for detailed instructions.
 >
 > > I did the following:
 > > 1. `port uninstall gcc-level libgcc-devel`
 > > 2. changed Portfile
 > > 3. `sudo port install`
 >   This command `sudo port install` (if that is exactly what you ran)
 does not work. You need to specify which ports to install, i.e. `sudo port
 install gcc-devel libgcc-devel`. You can also check which ports are
 installed with `port installed`.

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


More information about the macports-tickets mailing list