I suggest that you upgrade to the develop branch using the following, when a new develop version is released:
# Assuming you are in SAGE_ROOT $ git checkout develop $ ./sage -upgrade develop These two lines are at the core of a zsh function in my ~/.zshrc. The full function can be found here: http://dpaste.com/hold/1750080/ I use it to fake the ATLAS installation (**), and build sage with a custom MAKE and "-march=native" CFLAGS. - basu. (**) I have to fake the ATLAS installation because sage never detects my system ATLAS correctly (installed from science overlay in Gentoo), and I really do not want to compile ATLAS every time on my laptop. On Thursday, March 20, 2014 11:20:42 AM UTC+8, kcrisman wrote: > > I'm getting more used to sage -dev and/or git. But weird things can > happen. Tonight, on Mac OS X 10.7: > > 0) I was already at the 6.2.beta4 develop branch. > 1) Checked out a ticket and sage -b and sage -docbuild reference html > (presumably branch changed to ticket/9321 since that is there) > 2) Used sage -dev -create-ticket to create a new ticket > 3) Checked out a new branch for that ticket ticket/15977 > 4) Did some documentation-only changes. > 5) Did sage -b with disastrous results (below). Help! I really hope it > isn't this fragile, and if it is, we need massive warnings. > 6) Committed my changes anyway, switched to develop branch, did ./sage -b > and zillions of Cythonizing and warnings... apparently the new branch was > based off 6.1.1, not 6.2.beta4? But how do I control that? Presumably not > good because of the possible spkg differences, oh no. > > $ ./sage -b > g++ -o src/ZZ_pylong.os -c -fPIC -I/Users/.../sage/local/include > -I/Users/.../sage/local/include/python2.7 > -I/Users/.../sage/local/include/NTL -Iinclude src/ZZ_pylong.cpp > In file included from src/ZZ_pylong.cpp:13:0: > include/ntl_wrap.h:255:35: error: using typedef-name 'NTL::mat_ZZ' after > 'struct' > In file included from include/ntl_wrap.h:13:0, > from src/ZZ_pylong.cpp:13: > /Users/.../sage/local/include/NTL/mat_ZZ.h:12:17: note: 'NTL::mat_ZZ' has > a previous declaration here > In file included from src/ZZ_pylong.cpp:13:0: > include/ntl_wrap.h:256:15: error: using typedef-name 'NTL::mat_ZZ' after > 'struct' > In file included from include/ntl_wrap.h:13:0, > from src/ZZ_pylong.cpp:13: > /Users/.../sage/local/include/NTL/mat_ZZ.h:12:17: note: 'NTL::mat_ZZ' has > a previous declaration here > In file included from src/ZZ_pylong.cpp:13:0: > include/ntl_wrap.h:256:47: error: using typedef-name 'NTL::mat_ZZ' after > 'struct' > In file included from include/ntl_wrap.h:13:0, > from src/ZZ_pylong.cpp:13: > /Users/.../sage/local/include/NTL/mat_ZZ.h:12:17: note: 'NTL::mat_ZZ' has > a previous declaration here > In file included from src/ZZ_pylong.cpp:13:0: > include/ntl_wrap.h:256:65: error: invalid type in declaration before ';' > token > include/ntl_wrap.h:257:39: error: using typedef-name 'NTL::mat_ZZ' after > 'struct' > In file included from include/ntl_wrap.h:13:0, > from src/ZZ_pylong.cpp:13: > /Users/.../sage/local/include/NTL/mat_ZZ.h:12:17: note: 'NTL::mat_ZZ' has > a previous declaration here > In file included from src/ZZ_pylong.cpp:13:0: > include/ntl_wrap.h:258:39: error: using typedef-name 'NTL::mat_ZZ' after > 'struct' > In file included from include/ntl_wrap.h:13:0, > from src/ZZ_pylong.cpp:13: > /Users/.../sage/local/include/NTL/mat_ZZ.h:12:17: note: 'NTL::mat_ZZ' has > a previous declaration here > In file included from src/ZZ_pylong.cpp:13:0: > include/ntl_wrap.h:259:35: error: using typedef-name 'NTL::mat_ZZ' after > 'struct' > In file included from include/ntl_wrap.h:13:0, > from src/ZZ_pylong.cpp:13: > /Users/.../sage/local/include/NTL/mat_ZZ.h:12:17: note: 'NTL::mat_ZZ' has > a previous declaration here > In file included from src/ZZ_pylong.cpp:13:0: > include/ntl_wrap.h:260:47: error: using typedef-name 'NTL::mat_ZZ' after > 'struct' > In file included from include/ntl_wrap.h:13:0, > from src/ZZ_pylong.cpp:13: > /Users/.../sage/local/include/NTL/mat_ZZ.h:12:17: note: 'NTL::mat_ZZ' has > a previous declaration here > In file included from src/ZZ_pylong.cpp:13:0: > include/ntl_wrap.h:261:51: error: using typedef-name 'NTL::mat_ZZ' after > 'struct' > In file included from include/ntl_wrap.h:13:0, > from src/ZZ_pylong.cpp:13: > /Users/.../sage/local/include/NTL/mat_ZZ.h:12:17: note: 'NTL::mat_ZZ' has > a previous declaration here > In file included from src/ZZ_pylong.cpp:13:0: > include/ntl_wrap.h:262:15: error: using typedef-name 'NTL::mat_ZZ' after > 'struct' > In file included from include/ntl_wrap.h:13:0, > from src/ZZ_pylong.cpp:13: > /Users/.../sage/local/include/NTL/mat_ZZ.h:12:17: note: 'NTL::mat_ZZ' has > a previous declaration here > In file included from src/ZZ_pylong.cpp:13:0: > include/ntl_wrap.h:262:47: error: using typedef-name 'NTL::mat_ZZ' after > 'struct' > In file included from include/ntl_wrap.h:13:0, > from src/ZZ_pylong.cpp:13: > /Users/.../sage/local/include/NTL/mat_ZZ.h:12:17: note: 'NTL::mat_ZZ' has > a previous declaration here > In file included from src/ZZ_pylong.cpp:13:0: > include/ntl_wrap.h:262:77: error: invalid type in declaration before ';' > token > include/ntl_wrap.h:263:49: error: using typedef-name 'NTL::mat_ZZ' after > 'struct' > In file included from include/ntl_wrap.h:13:0, > from src/ZZ_pylong.cpp:13: > /Users/.../sage/local/include/NTL/mat_ZZ.h:12:17: note: 'NTL::mat_ZZ' has > a previous declaration here > In file included from src/ZZ_pylong.cpp:13:0: > include/ntl_wrap.h:264:48: error: using typedef-name 'NTL::mat_ZZ' after > 'struct' > In file included from include/ntl_wrap.h:13:0, > from src/ZZ_pylong.cpp:13: > /Users/.../sage/local/include/NTL/mat_ZZ.h:12:17: note: 'NTL::mat_ZZ' has > a previous declaration here > In file included from src/ZZ_pylong.cpp:13:0: > include/ntl_wrap.h:265:50: error: using typedef-name 'NTL::mat_ZZ' after > 'struct' > In file included from include/ntl_wrap.h:13:0, > from src/ZZ_pylong.cpp:13: > /Users/.../sage/local/include/NTL/mat_ZZ.h:12:17: note: 'NTL::mat_ZZ' has > a previous declaration here > In file included from src/ZZ_pylong.cpp:13:0: > include/ntl_wrap.h:265:68: error: using typedef-name 'NTL::mat_ZZ' after > 'struct' > In file included from include/ntl_wrap.h:13:0, > from src/ZZ_pylong.cpp:13: > /Users/.../sage/local/include/NTL/mat_ZZ.h:12:17: note: 'NTL::mat_ZZ' has > a previous declaration here > In file included from src/ZZ_pylong.cpp:13:0: > include/ntl_wrap.h:320:37: error: using typedef-name 'NTL::mat_GF2E' after > 'struct' > In file included from include/ntl_wrap.h:20:0, > from src/ZZ_pylong.cpp:13: > /Users/.../sage/local/include/NTL/mat_GF2E.h:10:19: note: 'NTL::mat_GF2E' > has a previous declaration here > In file included from src/ZZ_pylong.cpp:13:0: > include/ntl_wrap.h:328:36: error: using typedef-name 'NTL::mat_GF2' after > 'struct' > In file included from include/ntl_wrap.h:19:0, > from src/ZZ_pylong.cpp:13: > /Users/.../sage/local/include/NTL/mat_GF2.h:12:18: note: 'NTL::mat_GF2' > has a previous declaration here > scons: *** [src/ZZ_pylong.os] Error 1 > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
