#10187: Update ecl and maxima
------------------------------------------+---------------------------------
   Reporter:  vbraun                      |       Owner:  tbd                   
                  
       Type:  defect                      |      Status:  needs_work            
                  
   Priority:  major                       |   Milestone:  sage-4.6.1            
                  
  Component:  packages                    |    Keywords:                        
                  
     Author:  Volker Braun, David Kirkby  |    Upstream:  Workaround found; Bug 
reported upstream.
   Reviewer:                              |      Merged:                        
                  
Work_issues:                              |  
------------------------------------------+---------------------------------
Changes (by newvalueoldvalue):

  * author:  Volker Braun => Volker Braun, David Kirkby


Old description:

> Please update ecl and maxima to the newest upstream release. Sage
> packages are here:
>
> http://www.stp.dias.ie/~vbraun/Sage/spkg/ecl-10.4.1.p0.spkg
> http://www.stp.dias.ie/~vbraun/Sage/spkg/maxima-5.22.1.spkg
>
> Note that you cannot upgrade one without the other; Both need to be
> upgraded simultaneously or build will fail.
>
> Relevant tickets for ecl:
>
>   * #9264: Apply ALL relevent fixes to ECL 10.4.1: As far as I can tell
> all relevant patches are included in ecl-10.4.1.p0.spkg.
>
>   * #9493: Remove extra baggage from ECL 10.2.1.p1 (again): Patch is
> included and #9493 can be closed after this ticket.
>
>   * #10185: the old ecl-10.2.1 does not build on Fedora 14: Fixed with
> the updated ecl from this ticket.
>
> Relevant tickets for maxima:
>
>   * #8645: ECL library "maxima.fasb" is built at new location. The
> patches from this bug have been incorporated into the maxima spkg, and
> #8645 can be closed after this ticket.
>
>   * #8731: update/upgrade maxima to latest upstream (5.21.1): Latest
> upstream is nowadays 5.22.1.
>
>   * #8582: `sum(1/(1+k^2), k, -oo, oo)` returns 0: The new maxima seems
> to be able to evaluate this correctly, at leasts it returns some
> expression with digamma functions.
>
> The updated maxima code seems to be more careful about signs which leads
> to doctest errors.

New description:

 Please update ecl and maxima to the newest upstream release. Sage packages
 are here:

 http://boxen.math.washington.edu/home/kirkby/patches/ecl-10.4.1.spkg
 http://www.stp.dias.ie/~vbraun/Sage/spkg/maxima-5.22.1.spkg

 Note that you cannot upgrade one without the other; Both need to be
 upgraded simultaneously or build will fail.

 Relevant tickets for ecl:

   * #9493: Remove extra baggage from ECL 10.2.1.p1 (again). The package
 has been cleaned up, but I feel removing gmp sources is too dangerous.

   * #10185: the old ecl-10.2.1 does not build on Fedora 14: Hopefully
 fixed with the updated ecl from this ticket.

 Relevant tickets for maxima:

   * #8645: ECL library "maxima.fasb" is built at new location. The patches
 from this bug have been incorporated into the maxima spkg, and #8645 can
 be closed after this ticket.

   * #8731: update/upgrade maxima to latest upstream (5.21.1): Latest
 upstream is nowadays 5.22.1.

   * #8582: `sum(1/(1+k^2), k, -oo, oo)` returns 0: The new maxima seems to
 be able to evaluate this correctly, at leasts it returns some expression
 with digamma functions.

 The updated maxima code seems to be more careful about signs which leads
 to doctest errors.

--

Comment:

 I have put an updated ECL file at
 http://boxen.math.washington.edu/home/kirkby/patches/ecl-10.4.1.spkg This
 has only been checked on !OpenSolaris - I don't have access to a Fedora 14
 machine, so can't verify if it actually fixes the issues reported at
 #10185

 I should make a few comments about this:

  * I have not added an spkg-check file or the Lisp tests, as I gather from
 the ECL developer the Lisp tests on the ECL site are outdated. Fixing this
 appears to be a non-trivial issue.
  * The repository information from the ecl-10.2.1.p3 version actually in
 Sage is kept, as it should be. (Volker's package was based on a 10.4.1
 package I created months ago, which never got merged into Sage. So the
 repository information was not correct).
  * Despite being told the Solaris text relocation issue was resolved, it
 appears it is not as simple as applying a single patch as I had hoped. So
 #9840 remains unresolved, though it should be fixed when the next stable
 ECL release is made.
  * I've cleaned the package up somewhat.
  * I did not remove the gmp sources, as doing so requires a new configure
 file to be created. Whilst I can see this is advantageous if done
 properly, I fear that this will be done incorrectly at some point in the
 future, which can result in chaos.

 After
  * Installing the new ECL package I created, and put at
 http://boxen.math.washington.edu/home/kirkby/patches/ecl-10.4.1.spkg
  * Installing the Maxima package from
 http://www.stp.dias.ie/~vbraun/Sage/spkg/maxima-5.22.1.spkg
  * Trying to install all the patches (one failed, see below)
  * Rebuilding the Sage library.
  * Running all the doctests, which all pass.

 I get one reject out of six when adding

 {{{trac_10187_general_display_prefix_workaround.patch}}}

 to sage 4.6.1.alpha0, so I think that patch needs updating. The contents
 of the reject are:

 {{{
 --- maxima.py
 +++ maxima.py
 @@ -728,10 +729,12 @@

              sage: maxima._eval_line('1+1;')
              '2'
 -            sage: maxima.eval('sage0: x == x;')
 +            sage: maxima._eval_line('sage0: x == x;')
              Traceback (most recent call last):
              ...
 -            TypeError: error evaluating "sage0: x == x;":...
 +            TypeError: Error executing code in Maxima...
 +
 +
          """
          if len(line) == 0:
              return ''
 }}}

 But as I say, all doctests passed for me, despite one patch was not fully
 applied!!

 {{{
 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 1871.3 seconds
 }}}

 I'm leaving as needs work, as clearly the fact one patch does not apply
 cleanly is a problem. It also needs testing on more than one system, but I
 don't have access to the Fedora 14 system where this was a particular
 problem.



 Dave

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