Error installing package openblas-0.3.6.p0 on mac

19 views
Skip to first unread message

Valentin Buciumas

unread,
May 18, 2020, 9:06:31 PM5/18/20
to sage-devel
Hello,

I tried installing Sage 9.0 from the source code on my mac (operating system macOS Catalina 10.15.4) and got an error while installing the openblas package. The log file is here: https://drive.google.com/open?id=11Pfdffpd1oEBV0nkEqekYchRplK3Dwmn (it is too large to attach). I am wondering if anyone came across this problem and has a fix for it?

Thanks,
Valentin


[openblas-0.3.6.p0] collect2: error: ld returned 1 exit status

[openblas-0.3.6.p0] make[3]: *** [libopenblas_atomp-r0.3.6.dylib] Error 1

[openblas-0.3.6.p0] make[2]: *** [shared] Error 2

[openblas-0.3.6.p0] ********************************************************************************

[openblas-0.3.6.p0] Error building openblas-0.3.6.p0

[openblas-0.3.6.p0] ********************************************************************************

[openblas-0.3.6.p0] 

[openblas-0.3.6.p0] real 8m18.239s

[openblas-0.3.6.p0] user 45m45.392s

[openblas-0.3.6.p0] sys 9m42.448s

[openblas-0.3.6.p0] ************************************************************************

[openblas-0.3.6.p0] Error installing package openblas-0.3.6.p0

[openblas-0.3.6.p0] ************************************************************************

[openblas-0.3.6.p0] Please email sage-devel (http://groups.google.com/group/sage-devel)

[openblas-0.3.6.p0] explaining the problem and including the log file

[openblas-0.3.6.p0]   /Users/valentinbuciumas/workspace/sage/sage-9.0/logs/pkgs/openblas-0.3.6.p0.log

[openblas-0.3.6.p0] Describe your computer, operating system, etc.

[openblas-0.3.6.p0] If you want to try to fix the problem yourself, *don't* just cd to

[openblas-0.3.6.p0] /Users/valentinbuciumas/workspace/sage/sage-9.0/local/var/tmp/sage/build/openblas-0.3.6.p0 and type 'make' or whatever is appropriate.

[openblas-0.3.6.p0] Instead, the following commands setup all environment variables

[openblas-0.3.6.p0] correctly and load a subshell for you to debug the error:

[openblas-0.3.6.p0]   (cd '/Users/valentinbuciumas/workspace/sage/sage-9.0/local/var/tmp/sage/build/openblas-0.3.6.p0' && '/Users/valentinbuciumas/workspace/sage/sage-9.0/sage' --sh)

[openblas-0.3.6.p0] When you are done debugging, you can type "exit" to leave the subshell.

[openblas-0.3.6.p0] ************************************************************************

make[1]: *** [/Users/valentinbuciumas/workspace/sage/sage-9.0/local/var/lib/sage/installed/openblas-0.3.6.p0] Error 1


real 8m25.741s

user 45m48.679s

sys 9m47.707s

***************************************************************

Error building Sage.


The following package(s) may have failed to build (not necessarily

during this run of 'make openblas'):


* package: openblas-0.3.6.p0

  log file: /Users/valentinbuciumas/workspace/sage/sage-9.0/logs/pkgs/openblas-0.3.6.p0.log

  build directory: /Users/valentinbuciumas/workspace/sage/sage-9.0/local/var/tmp/sage/build/openblas-0.3.6.p0


The build directory may contain configuration files and other potentially

helpful information. WARNING: if you now run 'make' again, the build

directory will, by default, be deleted. Set the environment variable

SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.


make: *** [openblas] Error 1

Justin C. Walker

unread,
May 18, 2020, 11:57:35 PM5/18/20
to SAGE Development
Please include the full log for openblas.

Thanks!
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/4b7f4e2e-0463-423d-b7db-a8ee3535560d%40googlegroups.com.

--
Justin C. Walker
Curmudgeon-at-large
Director
Institute for the Absorption of Federal Funds
----
186,000 Miles per Second
Not just a good idea:
it's the law!
----

Isuru Fernando

unread,
May 19, 2020, 12:07:12 AM5/19/20
to sage-devel
That looks like a bug in Xcode 7.3, can you update your Xcode version?

Isuru

--

John H Palmieri

unread,
May 19, 2020, 1:14:54 AM5/19/20
to sage-devel
There is a link given to the log file in the first few lines of the original post.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-...@googlegroups.com.

Valentin Buciumas

unread,
May 19, 2020, 8:16:36 AM5/19/20
to sage-devel
@Isuru: Thanks a lot for the tip! I upgraded Xcode and managed to install from the development source. I assume it will also work from the stable source.

Valentin
Reply all
Reply to author
Forward
0 new messages