#14636: ECL spkg : dirty workarounds?
--------------------------------------+-------------------------------------
Reporter: Snark | Owner: jdemeyer
Type: defect | Status: needs_work
Priority: major | Milestone: sage-pending
Component: packages: standard | Resolution:
Keywords: | Work issues: rebase complete
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
--------------------------------------+-------------------------------------
Changes (by Snark):
* status: needs_review => needs_work
* work_issues: => rebase complete
Old description:
> My debian/sage experiments have uncovered two problems with sage's ecl
> package:
>
> (1) it is compiled with unicode disabled ; this is to avoid errors, like
> those which can be read about in [https://github.com/cschwan/sage-on-
> gentoo/issues/2 this gentoo report]. But that doesn't look like a real
> solution! Wouldn't it be possible to add a conversion step somewhere to
> make sage work with an unicode-enabled unicode? or what about ecl's
> --output-encoding argument?
>
> (2) I'm annoyed by the fact that SIGCHLD was disabled by directly
> patching the sources (see `patches/disable_sigchdl_handler.patch`) --
> wouldn't it be possible to change this by modifying an rc file or some
> such, whose path would be given to ecl at startup?
>
> '''TO REVIEW'''
> * compile ecl-12.12.1.p4.spkg
> * apply trac_14636_sigchld.patch to the sage library
> * recompile the sage library
> * run the long tests
> * confirm it's ok
> '''AFTER APPLYING'''
> * remove those two paragraphs
> * add a nice '''DONE''' to the (1) point above
> * put the ticket as new again, as there is still point (2) to clear
> before actually closing
New description:
My debian/sage experiments have sage's ecl package was compiled with a few
tweaks:
(1) it is compiled with unicode disabled ; this is to avoid errors, like
those which can be read about in [https://github.com/cschwan/sage-on-
gentoo/issues/2 this gentoo report]. But that doesn't look like a real
solution!
(2) SIGCHLD is disabled by directly patching the sources
(`patches/disable_sigchdl_handler.patch`)
(3) threading is disabled ; I tried to remove this restriction, and it
only made a single doctest fail ; a zero was expected and a 139 was
obtained:
{{{
>>> import subprocess
>>> f=open('/dev/full', 'w')
>>> kwds = dict(shell=True, stdout=f, stderr=f)
>>> subprocess.call("echo syntax error | ecl", **kwds)
139
}}}
There are several solutions to this: for (1), there is #12985 ; for (2) I
already provided a fixed spkg and a patch to sagelib.
For (3), I'll make experiments first (and I need to rebase everything to
5.10.beta5 anyway).
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14636#comment:23>
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.