#11966: OS X 10.7 Lion: Maxima fails to build
------------------------------+---------------------------------------------
Reporter: was | Owner: drkirkby
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.8
Component: porting | Keywords:
Work_issues: | Upstream: N/A
Reviewer: Leif Leonhardy | Author: William Stein
Merged: | Dependencies: #11884
------------------------------+---------------------------------------------
Changes (by leif):
* status: needs_info => needs_review
Comment:
Replying to [comment:9 leif]:
> FWIW, I made a
[http://sage.math.washington.edu/home/leif/Sage/spkgs/maxima-5.23.2.p2.spkg
"reviewer" p2 spkg] with some fixes to / clean-up of `spkg-install` and
some additions to `SPKG.txt`, but doctesting `sage/interfaces/maxima*`
immediately segfaults (with both Williams p1 and my p2, with the ECL spkg
from #11884) [...] [[BR]]
> I think that's most probably "just" due to ECL (or Boehm GC?), i.e.
#11884, so I could otherwise give this ticket a positive review... ;-)
Oooops, one should perhaps run `./sage -b` after installing a new ECL
spkg... B)
{{{
#!sh
$ ./sage -t -long devel/sage/sage/interfaces/maxima*
sage -t -long "devel/sage/sage/interfaces/maxima.py"
[25.7 s]
sage -t -long "devel/sage/sage/interfaces/maxima_abstract.py"
[38.4 s]
sage -t -long "devel/sage/sage/interfaces/maxima_lib.py"
[5.2 s]
----------------------------------------------------------------------
All tests passed!
}}}
By the way, the new ECL + patched Maxima spkgs work with both the
boehm_gc-7.2.alpha6.p0 (from #11883) and the boehm_gc-7.1.p7 spkg.
[[BR]]
> Anyway, someone would have to look at my reviewer changes.
That still applies.
[[BR]]
> Btw., there's an `spkg-dist` script apparently nobody used recently (I
added a comment on that to `SPKG.txt`), which deletes the following (and
creates dummy `Makefile.in`s):
{{{
#!sh
$ du -sch /home/leif/Sage/spkgs/maxima-5.23.2.p2/src/doc/info/{es,pt}*
9.9M /home/leif/Sage/spkgs/maxima-5.23.2.p2/src/doc/info/es
7.3M /home/leif/Sage/spkgs/maxima-5.23.2.p2/src/doc/info/es.utf8
8.2M /home/leif/Sage/spkgs/maxima-5.23.2.p2/src/doc/info/pt
8.8M /home/leif/Sage/spkgs/maxima-5.23.2.p2/src/doc/info/pt_BR
6.5M /home/leif/Sage/spkgs/maxima-5.23.2.p2/src/doc/info/pt_BR.utf8
6.0M /home/leif/Sage/spkgs/maxima-5.23.2.p2/src/doc/info/pt.utf8
47M total
}}}
If nobody objects, I can make a stripped spkg with these files removed
(and `SPKG.txt` updated accordingly).
The relevant languages are Portuguese (Portugal and Brazil) and Spanish:
{{{
#!python
#!/usr/bin/env python
import os, sys, time
def cmd(x):
print x
if os.system(x):
print "(Failed.)"
for X in ['es', 'es.utf8', 'pt', 'pt.utf8', 'pt_BR', 'pt_BR.utf8']:
cmd('rm -rf "src/doc/info/%s/"*'%X)
open('src/doc/info/%s/Makefile.in'%X,'w').write('all:\n\tls\n\n')
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11966#comment:11>
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.