#13364: Upgrade Maxima to 5.29.1
-------------------------------------+--------------------------------------
       Reporter:  kcrisman           |         Owner:  tbd                      
                              
           Type:  enhancement        |        Status:  new                      
                              
       Priority:  major              |     Milestone:  sage-5.6                 
                              
      Component:  packages           |    Resolution:                           
                              
       Keywords:  maxima spkg        |   Work issues:  fix doctests, build with 
latest ECL, fix `spkg-install`
Report Upstream:  N/A                |     Reviewers:  Karl-Dieter Crisman, 
François Bissey, Leif Leonhardy   
        Authors:  Jean-Pierre Flori  |     Merged in:                           
                              
   Dependencies:  #13324             |      Stopgaps:                           
                              
-------------------------------------+--------------------------------------
Changes (by leif):

  * reviewer:  => Karl-Dieter Crisman, François Bissey, Leif Leonhardy
  * work_issues:  fix doctests, build with latest ECL => fix doctests,
                  build with latest ECL, fix `spkg-
                  install`


Comment:

 Replying to [comment:22 leif]:
 > Ok, now the build "succeeded", although I get:
 > {{{
 > Now installing the Maxima library as
 '$SAGE_ROOT/local/lib/ecl//maxima.fas'...
 > cp: cannot stat `maxima.fasb': No such file or directory
 >
 > real    18m37.266s
 > user    14m24.494s
 > sys     1m52.139s
 > Successfully installed maxima-5.29.1.p0
 > ...
 > }}}

 That the build "succeeded" despite of the error is due to a subtle bug in
 `spkg-install`:
 {{{
 #!sh
 ...
 check_error() {
     if [[ $? -ne 0 ]]; then
         echo >&2
 "***********************************************************"
         echo >&2 "Error:" $@
         echo >&2
 "***********************************************************"
         exit 1
     fi
 }

 ...

 echo "Now installing the Maxima library as '$ECLLIB/maxima.fas'..."
 cp -f maxima.fasb "$ECLLIB/maxima.fas"
 check_error "Failed to install '`pwd`/maxima.fasb' as
 '$ECLLIB/maxima.fas'."

 ...
 }}}

 The exit status (`$?`) tested in `check_error()` is that of {{{`pwd`}}},
 not the one we're interested in, namely that of `cp`.

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