#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_work                              
   Priority:  blocker                                                           
  |   Milestone:  sage-4.6                                
  Component:  build                                                             
  |    Keywords:  upgrade update dependencies PARI NewPARI
     Author:  Leif Leonhardy                                                    
  |    Upstream:  N/A                                     
   Reviewer:                                                                    
  |      Merged:                                          
Work_issues:  Provide a patch (to setup.py) which fixes the Darwin linker 
issue.  |  
----------------------------------------------------------------------------------+
Changes (by leif):

  * work_issues:  Perhaps rebase module_list patch on alpha3; remove
                  sage_scripts from R's deps => Provide a
                  patch (to setup.py) which fixes the
                  Darwin linker issue.


Comment:

 Since #10016 has been merged into Sage 4.6.alpha2, I've attached a new
 version (v3) of {{{spkg/standard/deps}}}, which just removes the
 dependency of R on {{{sage_scripts}}}.

 Here's a diff between v2b and v3:
 {{{
 #!diff
 --- trac_9896-SAGE_ROOT__spkg__standard__deps.v2b       2010-09-27
 18:50:32.000000000 +0200
 +++ trac_9896-SAGE_ROOT__spkg__standard__deps.v3        2010-10-18
 14:57:44.000000000 +0200
 @@ -21,9 +21,7 @@
  # Rather than making *all* standard packages depend on SAGE_SCRIPTS
 (which
  # triggers the rebuild of *every* package on an upgrade), add
 SAGE_SCRIPTS
  # to the dependencies of only those packages that rely on them.
 -# These are:
 -# - R until #10016 is merged (replacing "sage -f ..." by a call to sage-
 spkg),
 -#     or until #9906 is merged (which moves the RPy spkg out of R's)
 +# These are (as of Sage 4.6.alpha3):
  # - The Sage library, $(SAGE)
  # - sagetex, but this in turn depends on $(SAGE)

 @@ -368,15 +366,10 @@
  $(INST)/$(MAXIMA): $(BASE) $(INST)/$(ECL)
         $(INSTALL) "$(SAGE_SPKG) $(MAXIMA) 2>&1" "tee -a
 $(SAGE_LOGS)/$(MAXIMA).log"

 -# Until #10016 (or #9906) gets merged, R depends on SAGE_SCRIPTS, because
 it
 -# installs the contained RPy spkg with "sage -f", which also requires
 sage-sage:
 -$(INST)/$(R): $(BASE) $(INST)/$(SAGE_SCRIPTS) \
 -             $(INST)/$(PYTHON) $(INST)/$(ATLAS) $(INST)/$(ICONV)
 $(INST)/$(FORTRAN)
 +# Note that even with a separate RPy spkg (#9906), Sage's R will still
 depend on
 +# Python (but does no longer on SAGE_SCRIPTS, #10016):
 +$(INST)/$(R): $(BASE) $(INST)/$(PYTHON) $(INST)/$(ATLAS) $(INST)/$(ICONV)
 $(INST)/$(FORTRAN)
         $(INSTALL) "$(SAGE_SPKG) $(R) 2>&1" "tee -a $(SAGE_LOGS)/$(R).log"
 -# Note that even with a separate RPy spkg (#9906), Sage's R still depends
 on
 -# Python (but no longer on SAGE_SCRIPTS, see above):
 -# $(INST)/$(R): $(BASE) $(INST)/$(PYTHON) $(INST)/$(ATLAS)
 $(INST)/$(ICONV) $(INST)/$(FORTRAN)
 -#      $(INSTALL) "$(SAGE_SPKG) $(R) 2>&1" "tee -a $(SAGE_LOGS)/$(R).log"

  # Needed when #9906 gets merged (moving RPy out of R's spkg):
  # $(INST)/$(RPY): $(BASE) $(INST)/$(PYTHON) $(INST)/$(R)
 }}}

 (Note that neither {{{spkg/install}}} nor {{{spkg/standard/deps}}} have
 changed between Sage 4.6.alpha1 and 4.6.alpha3, so there's no new v3 of
 the former, and the diffs apply to alpha1...alpha3. Also, although
 {{{devel/sage/module_list.py}}} has changed, the current patch here still
 applies to Sage 4.6.alpha3 without rejects.)

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