#9896: Upgrading from 4.5.3 to 4.6.alpha* can fail (not limited to MacOS X)
------------------------------+---------------------------------------------
Reporter: jhpalmieri | Owner: leif
Type: defect | Status: needs_review
Priority: blocker | Milestone: sage-4.6
Component: build | Keywords: upgrade update dependencies PARI
NewPARI
Author: Leif Leonhardy | Upstream: N/A
Reviewer: | Merged: sage-4.6.rc0
Work_issues: |
------------------------------+---------------------------------------------
Comment(by leif):
Replying to [comment:163 jhpalmieri]:
> > Did you perhaps interrupt this in the first run?
>
> It's possible. In any case, I can't repeat it now.
It would in any case be better to trap {{{SIGINT}}} /
{{{KeyboardInterrupt}}} while doing {{{sage-location}}}, or make backup
copies first.
Also, it would be helpful for such situations to
* log {{{$SAGE_ROOT}}} changes / movement (in a history file) for
debugging or even to get the previous one,
* perhaps log what changes {{{sage-location}}} made (to some file,
perhaps a summary on the screen),
* log the whole upgrade process as we do for builds / spkg installations
(I'd suggest {{{$SAGE_ROOT/upgrade.log}}}, but only after #10011 and
#10157 have been merged).
Do you still have the broken installation? If so, you could
{{{
#!sh
$ ls -rtl local/lib/*.la # see which were changed last / when
$ cat local/lib/libgmpxx.la # to see the wrong paths
}}}
(libtool's {{{.la}}} files are plain text files.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9896#comment:164>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.