#9896: Upgrading from 4.5.3 to 4.6.alpha* can fail (not limited to MacOS X)
------------------------------+---------------------------------------------
   Reporter:  jhpalmieri      |       Owner:  GeorgSWeber                       
      
       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:                                    
      
Work_issues:                  |  
------------------------------+---------------------------------------------

Old description:

> On two separate machines running OS X 10.6, upgrading from 4.5.3 to
> 4.6.alpha0 seemed to work -- no errors were reported -- but Sage fails to
> start:
> {{{
> ----------------------------------------------------------------------
> | Sage Version 4.6.alpha0, Release Date: 2010-09-10                  |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
> **********************************************************************
> *                                                                    *
> * Warning: this is a prerelease version, and it may be unstable.     *
> *                                                                    *
> **********************************************************************
>   ***   bug in PARI/GP (Segmentation Fault), please report
>   ***   bug in PARI/GP (Segmentation Fault), please report
> }}}
> (Building from scratch works fine.)
>
> ----
>
> '''Upgrade path for testing the fixes:
> http://sage.math.washington.edu/home/jdemeyer/dist/sage-4.6.upgradetest_alpha1/'''
>
> If you want to speed up the upgrade (i.e., reduce the number of packages
> that get rebuilt) on systems other than Cygwin, HP-UX and Solaris, do the
> following '''before''' starting the upgrade:
> {{{
> #!sh
> $ touch spkg/installed/iconv-1.13.1.p3
> }}}
> (This package is only used on the above systems, but upgrading it
> triggers the rebuild of MPIR on '''any''' platform, which in turn causes
> rebuilding all packages that directly or indirectly depend on MPIR, the
> GMP replacement package.)
>
> On MacOS X, one should at the moment either do an "in-place" upgrade
> (without renaming the directory / copying the original installation) or
> do the following '''before''' running {{{./sage -upgrade ...}}}:
> {{{
> #!sh
> $ export LDSHARED="gcc -bundle -undefined dynamic_lookup"
> }}}
> (See also the [comment:63 comment below] regarding {{{LDSHARED}}}.)

New description:

 On two separate machines running OS X 10.6, upgrading from 4.5.3 to
 4.6.alpha0 seemed to work -- no errors were reported -- but Sage fails to
 start:
 {{{
 ----------------------------------------------------------------------
 | Sage Version 4.6.alpha0, Release Date: 2010-09-10                  |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 **********************************************************************
 *                                                                    *
 * Warning: this is a prerelease version, and it may be unstable.     *
 *                                                                    *
 **********************************************************************
   ***   bug in PARI/GP (Segmentation Fault), please report
   ***   bug in PARI/GP (Segmentation Fault), please report
 }}}
 (Building from scratch works fine.)

 ----

 '''Upgrade path for testing the fixes:
 
http://sage.math.washington.edu/home/jdemeyer/dist/sage-4.6.upgradetest_alpha2/'''

 If you want to speed up the upgrade (i.e., reduce the number of packages
 that get rebuilt) on systems other than Cygwin, HP-UX and Solaris, do the
 following '''before''' starting the upgrade:
 {{{
 #!sh
 $ touch spkg/installed/iconv-1.13.1.p3
 }}}
 (This package is only used on the above systems, but upgrading it triggers
 the rebuild of MPIR on '''any''' platform, which in turn causes rebuilding
 all packages that directly or indirectly depend on MPIR, the GMP
 replacement package.)

 On MacOS X, one should at the moment either do an "in-place" upgrade
 (without renaming the directory / copying the original installation) or do
 the following '''before''' running {{{./sage -upgrade ...}}}:
 {{{
 #!sh
 $ export LDSHARED="gcc -bundle -undefined dynamic_lookup"
 }}}
 (See also the [comment:63 comment below] regarding {{{LDSHARED}}}.)

--

Comment(by jdemeyer):

 New upgrade path based on sage-4.6.alpha2:
 
[http://sage.math.washington.edu/home/jdemeyer/dist/sage-4.6.upgradetest_alpha2/]

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9896#comment:110>
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.

Reply via email to