Unable to build develop branch

82 views
Skip to first unread message

dwb...@gmail.com

unread,
Jan 21, 2021, 11:03:55 PM1/21/21
to sage-devel
I'm unable to build the develop branch since upgrading my iMac to Big Sur. I have python3 and scipy installed through homebrew. In /usr/local/bin I have a symbolic link from python to python3.

Although I have scipy through homebrew, Sage insists on installing the spkg. In previous build attempts (in late December) the build failed in numpy.

I'm attaching my scipy.1.5.4.log. I would appreciate any suggestions.

Thank you,
Daniel Bump


scipy-1.5.4.log

John H Palmieri

unread,
Jan 21, 2021, 11:09:14 PM1/21/21
to sage-devel
Ticket 31183 (https://trac.sagemath.org/ticket/31183) should fix that. Merging that into the develop branch works for me.

--
John

dwb...@gmail.com

unread,
Jan 22, 2021, 2:30:57 PM1/22/21
to sage-devel
Thanks!

But it didn't fix it for me. For me the u/jhpalmieri/scipy-big-sur fails in numpy and
doesn't get to scipy. So I merged the change in #31166 (addressing numpy) into
the scipy-big-sur branch and that fails to build in scipy again.

Dan

Zachary Scherr

unread,
Jan 22, 2021, 4:51:42 PM1/22/21
to sage-devel
#31166 is already merged into the latest develop branch so you shouldn't have to merge that.  Scipy should build with #31183 so maybe try again and post the log file.  If you need scipy to build you can also do:

MACOSX_DEPLOYMENT_TARGET=11.0 make scipy

which should fix the problem you are seeing.

John H Palmieri

unread,
Jan 22, 2021, 6:21:10 PM1/22/21
to sage-devel
I literally meant "merge that [the branch from #31183] into the develop branch" (or vice versa), not just use the branch from #31183. The develop branch has some crucial pieces for building Sage in Big Sur.

  John

dwb...@gmail.com

unread,
Jan 22, 2021, 7:45:59 PM1/22/21
to sage-devel

Contrary to my previous message, Ticket 31183 does fix the problem and I can now build sage.

Thanks,
Dan

John H Palmieri

unread,
Jan 22, 2021, 8:16:28 PM1/22/21
to sage-devel
Great, I'm glad to hear it!

Have you run doctests? If so, are there many failures?

dwb...@gmail.com

unread,
Jan 23, 2021, 8:28:00 AM1/23/21
to sage-devel
I cannot build the documentation. It actually crashes python. I'm attaching my
docbuild log.

I have another problem which is that 'sage -b' does not work. It gives me the error
"This Makefile needs to be invoked by 'build/make/install'". If I set the parameter
SAGEPKGCONFIG then it works, but I shouldn't need to do that.

Dan

dochtml.log

jonatha...@googlemail.com

unread,
Jan 23, 2021, 12:08:13 PM1/23/21
to sage-devel
For `sage -b` not working see https://trac.sagemath.org/ticket/31263 (on positive review).

Sorry about that (I positively review the ticket that broke it).

John H Palmieri

unread,
Jan 23, 2021, 12:12:38 PM1/23/21
to sage-devel
I've seen this one, and I don't remember if there is a ticket for it. I think it arises from using the version of Python 3 that Apple provides. You could install homebrew's Python 3, or you could try building Sage (from scratch) with "./configure --with-system-python3=no".

--
John
Reply all
Reply to author
Forward
0 new messages