Problem building develop branch

54 views
Skip to first unread message

Daniel Bump

unread,
Jul 19, 2020, 2:55:04 PM7/19/20
to sage-devel
I am trying to build on an iMac running MacOS 10.14.6 (Mojave). I have homebrew installed.

I can build the master branch.

When I try to build the develop branch, I quickly run into this:

[patch-2.7.5] ValueError: unsupported hash type sha512

[patch-2.7.5] ************************************************************************

[patch-2.7.5] Traceback (most recent call last):

[patch-2.7.5]   File "/Users/bump/sagemath/sage/build/bin/../sage_bootstrap/download/cmdline.py", line 130, in run_safe

[patch-2.7.5]     run()

[patch-2.7.5]   File "/Users/bump/sagemath/sage/build/bin/../sage_bootstrap/download/cmdline.py", line 112, in run

[patch-2.7.5]     app.download_tarball(args.url_or_tarball, args.destination, args.allow_upstream)

[patch-2.7.5]   File "/Users/bump/sagemath/sage/build/bin/../sage_bootstrap/download/app.py", line 41, in download_tarball

[patch-2.7.5]     tarball.download(allow_upstream=allow_upstream)

[patch-2.7.5]   File "/Users/bump/sagemath/sage/build/bin/../sage_bootstrap/tarball.py", line 145, in download

[patch-2.7.5]     if self.checksum_verifies():

[patch-2.7.5]   File "/Users/bump/sagemath/sage/build/bin/../sage_bootstrap/tarball.py", line 132, in checksum_verifies

[patch-2.7.5]     sha1 = self._compute_sha1()

[patch-2.7.5]   File "/Users/bump/sagemath/sage/build/bin/../sage_bootstrap/tarball.py", line 118, in _compute_sha1

[patch-2.7.5]     return self._compute_hash(hashlib.sha1())

[patch-2.7.5] AttributeError: 'module' object has no attribute 'sha1'

[patch-2.7.5] ************************************************************************

[patch-2.7.5] ************************************************************************

[patch-2.7.5] Error downloading patch-2.7.5.tar.gz

[patch-2.7.5] ************************************************************************



I'm attaching patch-2.7.5.log.


Daniel Bump




patch-2.7.5.log

Zachary Scherr

unread,
Jul 19, 2020, 7:02:01 PM7/19/20
to sage-devel
A brief look at the log file suggests that it's using python 2 from homebrew.  Maybe try remove python@2 from homebrew? I don't think they support it anymore.

Daniel Bump

unread,
Jul 19, 2020, 7:21:14 PM7/19/20
to sage-devel
On Sunday, July 19, 2020 at 4:02:01 PM UTC-7, Zachary Scherr wrote:
A brief look at the log file suggests that it's using python 2 from homebrew.  Maybe try remove python@2 from homebrew? I don't think they support it anymore

After brew uninstall python@2 I am able to proceed.

Thanks!


Dima Pasechnik

unread,
Jul 19, 2020, 7:50:56 PM7/19/20
to sage-devel
it is  strange that your install actually tries to install Sage's "patch".

./configure in the end prints out a suggested list of packages to install in brew, and patch (more precisely, gpatch) should be one of them.




--
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/3f58d0e4-599b-497b-b39c-598353aa77e2o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages