#6743: cygwin metaticket: port Sage to Microsoft Windows (via Cygwin): stage 1
--
make building Sage automatic
-------------------------------+--------------------------------------------
Reporter: was | Owner: was
Type: enhancement | Status: needs_info
Priority: major | Milestone: sage-5.8
Component: cygwin | Resolution:
Keywords: sd31 sd32 | Work issues:
Report Upstream: N/A | Reviewers: Jean-Pierre Flori, Dmitrii
Pasechnik, Karl-Dieter Crisman, Mike Hansen, William Stein, Luis Tabera
Authors: | Merged in:
Dependencies: | Stopgaps:
-------------------------------+--------------------------------------------
Comment (by kcrisman):
As it turns out, #14254 wasn't the (whole) problem. Most of the errors
were of the following ilk.
{{{
sage -t devel/sage-main/sage/algebras/free_algebra.py
Exception KeyError: (The ring pointer -0x1f5282c,) in
'sage.libs.singular.ring.singular_ring_delete' ignored
Exception KeyError: (The ring pointer -0x1f52768,) in
'sage.libs.singular.ring.singular_ring_delete' ignored
Exception KeyError: (The ring pointer -0x1f526a4,) in
'sage.libs.singular.ring.singular_ring_delete' ignored
**********************************************************************
File "/home/sagetest/sage-5.8.beta4/devel/sage-
main/sage/algebras/free_algebra.py", line 820:
sage: G=A.g_algebra({y*x:-x*y})
Exception raised:
Traceback (most recent call last):
File "/home/sagetest/sage-5.8.beta4/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/home/sagetest/sage-5.8.beta4/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/home/sagetest/sage-5.8.beta4/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_18[3]>", line 1, in <module>
G=A.g_algebra({y*x:-x*y})###line 820:
sage: G=A.g_algebra({y*x:-x*y})
File "/home/sagetest/sage-5.8.beta4/local/lib/python/site-
packages/sage/algebras/free_algebra.py", line 872, in g_algebra
order=order, check=check)
File "factory.pyx", line 143, in
sage.structure.factory.UniqueFactory.__call__
(sage/structure/factory.c:1119)
File "factory.pyx", line 170, in
sage.structure.factory.UniqueFactory.get_object
(sage/structure/factory.c:1311)
File "plural.pyx", line 180, in
sage.rings.polynomial.plural.G_AlgFactory.create_object
(sage/rings/polynomial/plural.cpp:4289)
File "plural.pyx", line 358, in
sage.rings.polynomial.plural.NCPolynomialRing_plural.__init__
(sage/rings/polynomial/plural.cpp:5351)
File "plural.pyx", line 1471, in
sage.rings.polynomial.plural.NCPolynomial_plural.__richcmp__
(sage/rings/polynomial/plural.cpp:11452)
File "element.pyx", line 855, in
sage.structure.element.Element._richcmp (sage/structure/element.c:7980)
File "coerce.pyx", line 913, in
sage.structure.coerce.CoercionModel_cache_maps.canonical_coercion
(sage/structure/coerce.c:8304)
File "coerce.pyx", line 1068, in
sage.structure.coerce.CoercionModel_cache_maps.coercion_maps
(sage/structure/coerce.c:9855)
File "coerce.pyx", line 1209, in
sage.structure.coerce.CoercionModel_cache_maps.discover_coercion
(sage/structure/coerce.c:11405)
File "parent.pyx", line 2116, in
sage.structure.parent.Parent.coerce_map_from
(sage/structure/parent.c:14383)
File "parent.pyx", line 2937, in
sage.structure.parent._register_pair (sage/structure/parent.c:21545)
File "parent.pyx", line 2911, in
sage.structure.parent.EltPair.__hash__ (sage/structure/parent.c:21193)
File "plural.pyx", line 573, in
sage.rings.polynomial.plural.NCPolynomialRing_plural.__hash__
(sage/rings/polynomial/plural.cpp:6487)
OverflowError: Python int too large to convert to C long
}}}
Notice the similarity, but now it's in sage/rings/polynomial/plural.
----
Unrelated to these:
{{{
sage -t devel/sage-main/sage/misc/inline_fortran.py
**********************************************************************
File "/home/sagetest/sage-5.8.beta4/devel/sage-
main/sage/misc/inline_fortran.py", line 29:
sage: fortran(_example)
Exception raised:
Traceback (most recent call last):
File "/home/sagetest/sage-5.8.beta4/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/home/sagetest/sage-5.8.beta4/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/home/sagetest/sage-5.8.beta4/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_1[4]>", line 1, in <module>
fortran(_example)###line 29:
sage: fortran(_example)
File "/home/sagetest/sage-5.8.beta4/local/lib/python/site-
packages/sage/misc/inline_fortran.py", line 21, in __call__
return self.eval(*args, **kwds)
File "/home/sagetest/sage-5.8.beta4/local/lib/python/site-
packages/sage/misc/inline_fortran.py", line 93, in eval
raise RuntimeError("failed to compile Fortran code:\n" +
log_string)
RuntimeError: failed to compile Fortran code:
Found executable /home/sagetest/sage-5.8.beta4/local/bin/sage-inline-
fortran
gnu: no Fortran 90 compiler found
Found executable /usr/bin/ld
Found executable /usr/bin/ar
Found executable /usr/bin/ranlib
gnu: no Fortran 90 compiler found
**********************************************************************
}}}
{{{
sage -t devel/sage-main/sage/functions/other.py
**********************************************************************
File "/home/sagetest/sage-5.8.beta4/devel/sage-
main/sage/functions/other.py", line 664:
sage: gamma1(float(6))
Expected:
120.0
Got:
119.99999999999997
**********************************************************************
}}}
{{{
sage -t devel/sage-main/sage/misc/cython.py
Compiling hello.spyx...
cp: cannot stat
`/home/Administrator/.sage/temp/CETGORD_J5FGIPM/7732/spyx/hello/hello.so':
No such file or directory
**********************************************************************
File "/home/sagetest/sage-5.8.beta4/devel/sage-main/sage/misc/cython.py",
line 695:
sage: cython_create_local_so('hello.spyx')
Exception raised:
Traceback (most recent call last):
File "/home/sagetest/sage-5.8.beta4/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/home/sagetest/sage-5.8.beta4/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/home/sagetest/sage-5.8.beta4/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_13[8]>", line 1, in <module>
cython_create_local_so('hello.spyx')###line 695:
sage: cython_create_local_so('hello.spyx')
File "/home/sagetest/sage-5.8.beta4/local/lib/python/site-
packages/sage/misc/cython.py", line 706, in cython_create_local_so
cython(filename, compile_message=True, use_cache=False,
create_local_so_file=True)
File "/home/sagetest/sage-5.8.beta4/local/lib/python/site-
packages/sage/misc/cython.py", line 554, in cython
raise RuntimeError, "Error making local copy of shared object
library for %s"%filename
RuntimeError: Error making local copy of shared object library for
hello.spyx
**********************************************************************
}}}
{{{
sage -t devel/sage-main/sage/symbolic/expression.pyx
**********************************************************************
File "/home/sagetest/sage-5.8.beta4/devel/sage-
main/sage/symbolic/expression.pyx", line 6721:
sage: SR(10.0r).gamma()
Expected:
362880.0
Got:
362879.9999999998
#0: simplify_sum(expr='sum(q^k,k,0,inf))
#1: simplify_sum(expr=a*'sum(q^k,k,0,inf))
**********************************************************************
}}}
{{{
sage -t devel/sage-main/sage/structure/sage_object.pyx
**********************************************************************
File "/home/sagetest/sage-5.8.beta4/devel/sage-
main/sage/structure/sage_object.pyx", line 1215:
sage: if uid==0:
raise OSError('You must not run the doctests as root, geez!')
else: sage.structure.sage_object.picklejar(Integer(1), dir +
'/noaccess')
Expected:
Traceback (most recent call last):
...
OSError: ...
Got nothing
**********************************************************************
}}}
{{{
sage -t devel/sage-main/sage/tests/cmdline.py
**********************************************************************
File "/home/sagetest/sage-5.8.beta4/devel/sage-
main/sage/tests/cmdline.py", line 376:
sage: ret
Expected:
0
Got:
-6
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6743#comment:192>
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.