#14636: ECL spkg : dirty workarounds?
--------------------------------------+-------------------------------------
Reporter: Snark | Owner: jdemeyer
Type: defect | Status: needs_review
Priority: major | Milestone: sage-pending
Component: packages: standard | Resolution:
Keywords: | Work issues: rebase
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
--------------------------------------+-------------------------------------
Changes (by Snark):
* status: needs_work => needs_review
* work_issues: rebase complete => rebase
Old 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).
New description:
My debian/sage experiments have uncovered that 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'll open another ticket for that, so let's
that aside for now (and for this ticket)
'''To review''' a fix for (1) and (2), which will be enough to close this
ticket and #12985:
1. use [http://boxen.math.washington.edu/home/jpuydt/ecl-12.12.1.p4.spkg]
(the patch against p3 is attached too as ecl-12.12.1.p4.patch)
2. apply [attachment:trac_14636_1.patch] and
[attachment:trac_14636_2.patch] to sagelib
3. compile and doctest.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14636#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 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.