#9264: Apply ALL relevent fixes to ECL 10.4.1
----------------------------+-----------------------------------------------
   Reporter:  drkirkby      |       Owner:  tbd         
       Type:  defect        |      Status:  needs_review
   Priority:  major         |   Milestone:  sage-4.4.4  
  Component:  packages      |    Keywords:              
     Author:  David Kirkby  |    Upstream:  N/A         
   Reviewer:                |      Merged:              
Work_issues:                |  
----------------------------+-----------------------------------------------
Changes (by drkirkby):

  * status:  new => needs_review


Comment:

 I've created a new ECL package

 http://boxen.math.washington.edu/home/kirkby/revised-
 patches/ecl-10.4.1.spkg

 which has the following fixes applied:

  * Updates ECL to the latest upstream, 10.4.1
  * Applies a fix to stop ECL building in parallel, which is ticket #9187.
 This already has positive review.
  * Applies the fix from #8089 to disable the dynamic foreign function
 interface as advised by the ECL developer. This disables the use of
 assembly code on !OpenSolaris x64, but no other platform.
  * Removes files from /tmp/ECL* as soon as they are no longer needed, as
 failure to do so can present problems on multi-user systems.

 All changes have been checked with #8645, which has a change to Maxima
 which allows Maxima to build with the latest ECL. The patch on #8645 does
 '''not''' update Maxima to the latest version, as that creates problems
 which are non-trivial to solve. It does however fix a problem with Maxima
 not installing the library properly, and allows Maxima to build with the
 latest ECL>

 As such, the attached ticket:

  * Allows Maxima to build the library properly whilst still working with
 the latest ECL.
  * Remove unwanted ECL tmp files.
  * Allows spkgs to build in parallel
  * Allow ECL to build on !OpenSolaris x64.

 Here are the test results:

  == Testing on Solaris 10 SPARC in 32-bit mode. ==
     * Sun Blade 1000
     * 2 x 900 MHz UltraSPARC III+ CPUs
     * 2 GB RAM
     * Solaris 10 03/2005 (first release of Solaris 10)
     * gcc 4.4.3 (uses Sun linker and assembler)
     * Sage 4.4.4.alpha1

 {{{
         done
 for i in Copyright LGPL; do \
           /usr/bin/ginstall -c -m 644
 /export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/ecl-10.4.1/src/src/../$i
 /export/home/drkirkby/sage-4.4.4.alpha1/local/lib/; \
         done
 /bin/sh
 
/export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/ecl-10.4.1/src/src/gc/mkinstalldirs
 /export/home/drkirkby/sage-4.4.4.alpha1/local/share/man/man1
 for i in doc/ecl.man doc/ecl-config.man; do \
             /usr/bin/ginstall -c -m 644 $i
 /export/home/drkirkby/sage-4.4.4.alpha1/local/share/man/man1/ecl.1; \
         done
 make[1]: Leaving directory
 `/export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/ecl-10.4.1/src/build'

 real    1m26.075s
 user    1m17.655s
 sys     0m7.531s
 Successfully installed ecl-10.4.1
 }}}

 Here is the Maxima 5.20.1.p1 installation from #8645

 {{{
 installing Maxima library as
 /export/home/drkirkby/sage-4.4.4.alpha1/local/lib/ecl//maxima.fas

 real    22m32.432s
 user    19m9.372s
 sys     2m51.674s
 Successfully installed maxima-5.20.1.p1
 Now cleaning up tmp files.
 rm: Cannot remove any directory in the path of the current working
 directory
 /export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/maxima-5.20.1.p1
 Making Sage/Python scripts relocatable...
 Making script relocatable
 Finished installing maxima-5.20.1.p1.spkg
 drkir...@redstart:~/sage-4.4.4.alpha1$
 }}}

  == Testing on !OpenSolaris x64 06/2009 64-bit mode. ==
     * Sun Ultra 27
     * 2 x 3.33 GHz quad core Intel Xeon MHz
     * 12 GB RAM
     * !OpenSolaris 06/2009 (Last release of !OpenSolaris, updated to build
 134)
     * gcc 4.4.4 (uses Sun linker and GNU assembler)
     * Sage 4.4.4.alpha1

 {{{
 /bin/sh
 
/export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/ecl-10.4.1/src/src/gc/mkinstalldirs
 /export/home/drkirkby/sage-4.4.4.alpha1/local/share/man/man1
 for i in doc/ecl.man doc/ecl-config.man; do \
             /usr/bin/ginstall -c -m 644 $i
 /export/home/drkirkby/sage-4.4.4.alpha1/local/share/man/man1/ecl.1; \
         done
 make[1]: Leaving directory
 `/export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/ecl-10.4.1/src/build'

 real    1m26.075s
 user    1m17.655s
 sys     0m7.531s
 Successfully installed ecl-10.4.1
 }}}

 Maxima 5.20.1.p1 will '''not''' build on this platform, but such a problem
 is not related to this ticket, and appears it might be an incorrect flag
 given in the source (-Wl,-G instead of -shared). This is documented at
 #9099

 == Testing on sage.math (Linux), 64-bit. ==
 {{{
 n/man1/ecl.1; \
         done
 make[1]: Leaving directory
 `/home/kirkby/sage-4.4.3/spkg/build/ecl-10.4.1/src/build'

 real    2m16.904s
 user    1m44.990s
 sys     0m14.980s
 Successfully installed ecl-10.4.1
 Now cleaning up tmp files.
 Making Sage/Python scripts relocatable...
 Making script relocatable
 Finished installing ecl-10.4.1.spkg
 }}}

 We can also see Maxima, and the library are ok now.

 {{{
 ;;;
 installing Maxima library as
 /home/kirkby/sage-4.4.3/local/lib/ecl//maxima.fas

 real    4m41.594s
 user    3m14.160s
 sys     0m46.000s
 Successfully installed maxima-5.20.1.p1
 Now cleaning up tmp files.
 Making Sage/Python scripts relocatable...
 Making script relocatable
 Finished installing maxima-5.20.1.p1.spkg
 }}}

 == Note to Release manager ==
 There are many tickets active at the minute for updates to Maxima and ECL.
 Once positively, this should be integrated with Maxima at #8645. At the
 time of writing, the use of the latest Maxima will cause problems with
 doctest failures, as Maxima's output is changed from the current version.

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