#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:                  |  
------------------------------+---------------------------------------------

Comment(by leif):

 Replying to [comment:87 mpatel]:
 > Replying to [comment:82 leif]:
 > > So as I expected, adding the scripts to {{{$(BASE)}}} is obsolete.
 >
 > I added the scripts to `$(BASE)` during the reorganization of `deps` at
 #8306, because of the problem mentioned in [comment:ticket:8306:29 this
 comment].  This may well have been overkill.

 LOL (again), "good catch". That just happened because some !"#$%& decided
 to put the Rpy package '''into''' R's spkg and recursively call {{{sage-
 spkg}}} from R's {{{spkg-install}}}. Perhaps #9906 should be a blocker...
 ;-)

 {{{sage-spkg}}} is copied over to {{{$SAGE_LOCAL/bin}}} early, in
 {{{dir-0.1-install}}} (and {{{$SAGE_ROOT/sage}}} is also present), but not
 {{{$SAGE_LOCAL/bin/sage-sage}}}:
 {{{
 #!sh
 ...
 echo "Now install rpy"

 cd "$CUR"

 RPY_VER=rpy2-2.0.8

 sage -f "$RPY_VER".spkg
 if [ ! -f "$SAGE_ROOT"/spkg/installed/"$RPY_VER" ]; then
     echo "Error installing rpy."
     exit 1
 fi
 ...
 }}}
 (From R's {{{spkg-install}}}. If we as a first step call {{{sage-spkg}}}
 there directly, the error from #8306 won't happen.)

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