#14027: Disable sage-make_relative when upgrading
----------------------------------+-----------------------------------------
       Reporter:  jdemeyer        |         Owner:  GeorgSWeber
           Type:  defect          |        Status:  new        
       Priority:  blocker         |     Milestone:  sage-5.7   
      Component:  build           |    Resolution:             
       Keywords:                  |   Work issues:             
Report Upstream:  N/A             |     Reviewers:             
        Authors:  Jeroen Demeyer  |     Merged in:             
   Dependencies:                  |      Stopgaps:             
----------------------------------+-----------------------------------------
Description changed by jdemeyer:

Old description:

> This is essentially #13407 for upgrades: `sage-make_relative` is evil
> because it leads to race conditions.
>
> This probably caused an upgrade problem on `rosemary`: the scripts
> `local/bin/ipython` wasn't installed:
>
> {{{
> running install_scripts
> copying build/scripts-2.7/iplogger ->
> /home/buildbot/build/sage/rosemary-1/rosemary_upgrade_4.5.2/build/sage-5.7.beta1/local/bin
> }}}
>
> which normally looks like
>
> {{{
> running install_scripts
> copying build/scripts-2.7/ipengine ->
> /release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.7.beta1/local/bin
> copying build/scripts-2.7/ipcontroller ->
> /release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.7.beta1/local/bin
> copying build/scripts-2.7/ipcluster ->
> /release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.7.beta1/local/bin
> copying build/scripts-2.7/iplogger ->
> /release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.7.beta1/local/bin
> copying build/scripts-2.7/ipython ->
> /release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.7.beta1/local/bin
> copying build/scripts-2.7/pycolor ->
> /release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.7.beta1/local/bin
> copying build/scripts-2.7/irunner ->
> /release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.7.beta1/local/bin
> copying build/scripts-2.7/iptest ->
> /release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.7.beta1/local/bin
> }}}
>
> Distutils by default doesn't overwrite newer files, and `sage-
> make_relative` can make a file look newer, causing `distutils` to not
> copy a file.

New description:

 This is essentially #13407 for upgrades: `sage-make_relative` is evil
 because it leads to race conditions.

 This probably caused an upgrade problem on `rosemary`: the script
 `local/bin/ipython` wasn't installed:

 {{{
 running install_scripts
 copying build/scripts-2.7/iplogger ->
 
/home/buildbot/build/sage/rosemary-1/rosemary_upgrade_4.5.2/build/sage-5.7.beta1/local/bin
 }}}

 which normally looks like

 {{{
 running install_scripts
 copying build/scripts-2.7/ipengine ->
 /release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.7.beta1/local/bin
 copying build/scripts-2.7/ipcontroller ->
 /release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.7.beta1/local/bin
 copying build/scripts-2.7/ipcluster ->
 /release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.7.beta1/local/bin
 copying build/scripts-2.7/iplogger ->
 /release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.7.beta1/local/bin
 copying build/scripts-2.7/ipython ->
 /release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.7.beta1/local/bin
 copying build/scripts-2.7/pycolor ->
 /release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.7.beta1/local/bin
 copying build/scripts-2.7/irunner ->
 /release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.7.beta1/local/bin
 copying build/scripts-2.7/iptest ->
 /release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.7.beta1/local/bin
 }}}

 Distutils by default doesn't overwrite newer files, and `sage-
 make_relative` can make a file look newer, causing `distutils` to not copy
 a file.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14027#comment:2>
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 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-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to