#14388: Fix Cygwin failure in plural polynomials overflow error
-----------------------------------+----------------------------------------
Reporter: kcrisman | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-5.9
Component: porting: Cygwin | Resolution:
Keywords: Cygwin | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-----------------------------------+----------------------------------------
Comment (by kcrisman):
Sorry, JP - this ''is'' on a 5.9.beta2 as well, I just pasted one from
earlier.
Unfortunately, this needs more massaging, apparently. I wish I knew more
about this.
{{{
$ ../../sage -b
----------------------------------------------------------
sage: Building and installing modified Sage library files.
Installing c_lib
scons: `install' is up to date.
Updating Cython code....
Building modified file sage/rings/polynomial/plural.pyx.
Executing 1 command (using 1 thread)
cython --gdb --cplus --old-style-globals --embed-positions --directive
cdivision=True,autotestdict=False,fast_getattr=True
-I/home/sagetest/sage-5.9.beta2/devel/sage-main -o
sage/rings/polynomial/plural.cpp sage/rings/polynomial/plural.pyx
Error compiling Cython file:
------------------------------------------------------------
...
"""
include "sage/ext/stdsage.pxi"
include "sage/ext/interrupt.pxi"
cdef extern ctypedef int Py_hash_t
^
------------------------------------------------------------
sage/rings/polynomial/plural.pyx:108:12: Expected an identifier, found
'ctypedef'
Error compiling Cython file:
------------------------------------------------------------
...
"""
include "sage/ext/stdsage.pxi"
include "sage/ext/interrupt.pxi"
cdef extern ctypedef int Py_hash_t
^
------------------------------------------------------------
sage/rings/polynomial/plural.pyx:108:25: Syntax error in C variable
declaration
Error running command, failed with status 256.
Error installing modified sage library code.
}}}
However, casting to longs did the trick - {{{<long><void *>self}}} - as
you suggested. I don't know how robust that is, though, say on other
systems.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14388#comment:16>
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.