Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#58333 closed defect (duplicate)

Error: Failed to build OpenBLAS (OS 10.14)

Reported by: meyerbe Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: michaelld (Michael Dickens)
Port: OpenBLAS

Description

I try to install python-packages that depend on OpenBLAS (numpy, netcdf4) and they fail when building OpenBLAS. I am aware that the problem has been raised before, but I wasn't able to follow the instructions to a successful result. Is it possible to give instructions that help someone like me who has no background in IT?

I have tried to install both OpenBLAS @0.3.5_1 and OpenBLAS-devel @20190319 without success.

Many thanks! Bettina

Attachments (1)

main.log (2.9 MB) - added by meyerbe 6 years ago.
log-file

Change History (11)

comment:1 Changed 6 years ago by mf2k (Frank Schima)

In the future, please add the port maintainer(s) to Cc (port info --maintainers OpenBLAS), if any.

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Cc: michaelld added
Keywords: OpenBLAS numpy removed
Owner: set to NicosPavlov
Status: newassigned

comment:3 Changed 6 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: assignedclosed

You have provided no useful information to debug your problem. Please attach the main.log file after cleaning the port (sudo port clean OpenBLAS).

Assuming duplicate of #58263.

comment:4 Changed 6 years ago by mf2k (Frank Schima)

Also, Trac is not for tech support, follow-up on the Macports Users mailing list instead.

comment:5 Changed 6 years ago by kencu (Ken)

Hi Bettina; if you attach the log file mentioned in the message you received from port we should be able to see what happened.

If you don't have the log any longer, please do this:

sudo port clean OpenBLAS
sudo port -v install OpenBLAS

and if it fails again, you should see a message about the log file there.

Copy that log file to your desktop, and then attach it to this trac ticket using the "Attachments" button above.

Changed 6 years ago by meyerbe

Attachment: main.log added

log-file

comment:6 Changed 6 years ago by meyerbe

Thanks Ken for the support! I run the commands you suggested and added the log-file.

comment:7 Changed 6 years ago by jmroot (Joshua Root)

Not a dupe of #58263 as the log shows this is on 10.14. Seems to actually be a dupe of #58243/#53784.

comment:8 Changed 6 years ago by kencu (Ken)

Bettina, as Joshua noted, it looks like your build failure has a simple fix. We've seen this error before, and it comes from the fact that Apple has not yet released a full open source version of it's current linker.

Normally the linker issue can be fixed by something like this:

sudo port -v uninstall ld64
sudo port -v install ld64 +ld64_xcode

and then clean and try your port installation again:

sudo port clean OpenBLAS
sudo port -v install OpenBLAS

Please report back success or failure. Thanks.

Last edited 6 years ago by kencu (Ken) (previous) (diff)

comment:9 Changed 6 years ago by meyerbe

Dear Ken and Joshua The installation was successful using the commands above. Many thanks for your wonderful support! Bettina

comment:10 Changed 6 years ago by Mike4U

@kencu Thanks, thought I'd never get this running on OX 10.14.5 with all the troubles I had with home-brew and others trying to eventually get GNU radio to run. Your help here found from a suggestion to try comment 8 and other places and others help on this site got it going !!

Note: See TracTickets for help on using tickets.