On Tue, Aug 23, 2011 at 5:39 AM, Julien Puydt <julien.pu...@laposte.net> wrote: > Hi, > > I fought again to compile sage on my little ARM box, then reported the > progress in trac -- with some hope 4.7.2 may compile without patching.
Hi, Is there any chance you could create a trac metaticket, i.e., something like [1] that organizes the ARM-related porting issues? I'm currently trying to build Sage from source on a Galaxy Tab 8.9 (under Ubuntu 10.10), and I'll probably need to use every ticket you posted related to ARM issues. By searching I found #10808, #10285, #10328, #10820, and #10810, but I don't know which I may have missed. Obviously, in the course of me doing this, I'll be able to referee some of your tickets. [1] http://trac.sagemath.org/sage_trac/ticket/12024 Just out of curiosity, what exactly is your "little ARM box"? -- William > > I then ran make ptestlong to check for sanity. Unsurprisingly, things are > not perfect yet (after all I mostly focused on making it compile), see below > what was found. > > The following tests failed: > > sage -t -long -force_lib devel/sage/sage/modules/free_module.py # 0 > doctests failed > sage -t -long -force_lib devel/sage/sage/interfaces/psage.py # 1 > doctests failed > sage -t -long -force_lib > devel/sage/sage/interfaces/maxima_abstract.py # 1 doctests failed > sage -t -long -force_lib devel/sage/sage/structure/sage_object.pyx # > 1 doctests failed > sage -t -long -force_lib devel/sage/sage/libs/ppl.pyx # Time out > sage -t -long -force_lib devel/sage/sage/misc/sagedoc.py # 2 > doctests failed > sage -t -long -force_lib devel/sage/sage/symbolic/expression.pyx # 1 > doctests failed > sage -t -long -force_lib devel/sage/sage/rings/arith.py # 1 doctests > failed > sage -t -long -force_lib devel/sage/sage/functions/other.py # 1 > doctests failed > ---------------------------------------------------------------------- > Total time for all tests: 35303.8 seconds > > Those errors just disappeared when running again : > > sage -t -long -force_lib "devel/sage/sage/modules/free_module.py" > [1496.8 s] > > sage -t -long -force_lib "devel/sage/sage/interfaces/psage.py" > [56.8 s] > > > Those errors are due to the test being wrong (testing for exact equality > with floating > point numbers!) : > > sage -t -long -force_lib "devel/sage/sage/interfaces/maxima_abstract.py" > ********************************************************************** > File > "/home/jpuydt/sage-4.7.1/devel/sage/sage/interfaces/maxima_abstract.py", > line 1596: > sage: float(maxima("1.7e+17")) > Expected: > 1.7e+17 > Got: > 1.6999999999999997e+17 > ********************************************************************** > 1 items had failures: > 1 of 6 in __main__.example_54 > ***Test Failed*** 1 failures. > For whitespace errors, see the file > /home/jpuydt/.sage//tmp/.doctest_maxima_abstract.py > [84.9 s] > > sage -t -long -force_lib "devel/sage/sage/symbolic/expression.pyx" > ********************************************************************** > File "/home/jpuydt/sage-4.7.1/devel/sage/sage/symbolic/expression.pyx", line > 6256: > sage: SR(10.0r).gamma() > Expected: > 362880.0 > Got: > 362880.00000000047 > #0: simplify_sum(expr='sum(q^k,k,0,inf)) > #1: simplify_sum(expr=a*'sum(q^k,k,0,inf)) > ********************************************************************** > 1 items had failures: > 1 of 16 in __main__.example_142 > ***Test Failed*** 1 failures. > For whitespace errors, see the file > /home/jpuydt/.sage//tmp/.doctest_expression.py > [172.6 s] > > sage -t -long -force_lib "devel/sage/sage/rings/arith.py" > ********************************************************************** > File "/home/jpuydt/sage-4.7.1/devel/sage/sage/rings/arith.py", line 2961: > sage: binomial(0.5r, 5) > Expected: > 0.02734375 > Got: > 0.02734375000000001 > ********************************************************************** > 1 items had failures: > 1 of 28 in __main__.example_57 > ***Test Failed*** 1 failures. > For whitespace errors, see the file > /home/jpuydt/.sage//tmp/.doctest_arith.py > [772.0 s] > > sage -t -long -force_lib "devel/sage/sage/functions/other.py" > ********************************************************************** > File "/home/jpuydt/sage-4.7.1/devel/sage/sage/functions/other.py", line 498: > sage: gamma1(float(6)) > Expected: > 120.0 > Got: > 119.99999999999997 > ********************************************************************** > 1 items had failures: > 1 of 33 in __main__.example_13 > ***Test Failed*** 1 failures. > For whitespace errors, see the file > /home/jpuydt/.sage//tmp/.doctest_other.py > [52.8 s] > > That one is worrying ; especially since I'm pretty clueless what it is about > : > > sage -t -long -force_lib "devel/sage/sage/structure/sage_object.pyx" > ********************************************************************** > File "/home/jpuydt/sage-4.7.1/devel/sage/sage/structure/sage_object.pyx", > line 1077: > sage: sage.structure.sage_object.unpickle_all() # (4s on sage.math, > 2011) > Expected: > Successfully unpickled ... objects. > Failed to unpickle 0 objects. > Got: > * unpickle failure: > load('/home/jpuydt/.sage/temp/hecke/19723/dir_2/pickle_jar/_class__sage_coding_linear_code_LinearCode__.sobj') > * unpickle failure: > load('/home/jpuydt/.sage/temp/hecke/19723/dir_2/pickle_jar/_class__sage_crypto_mq_sr_SR_gf2__.sobj') > * unpickle failure: > load('/home/jpuydt/.sage/temp/hecke/19723/dir_2/pickle_jar/_class__sage_homology_chain_complex_ChainComplex__.sobj') > * unpickle failure: > load('/home/jpuydt/.sage/temp/hecke/19723/dir_2/pickle_jar/_type__sage_coding_binary_code_BinaryCode__.sobj') > * unpickle failure: > load('/home/jpuydt/.sage/temp/hecke/19723/dir_2/pickle_jar/_type__sage_matrix_matrix_mod2_dense_Matrix_mod2_dense__.sobj') > Failed: > _class__sage_coding_linear_code_LinearCode__.sobj > _class__sage_crypto_mq_sr_SR_gf2__.sobj > _class__sage_homology_chain_complex_ChainComplex__.sobj > _type__sage_coding_binary_code_BinaryCode__.sobj > _type__sage_matrix_matrix_mod2_dense_Matrix_mod2_dense__.sobj > Successfully unpickled 582 objects. > Failed to unpickle 5 objects. > ********************************************************************** > 1 items had failures: > 1 of 7 in __main__.example_25 > ***Test Failed*** 1 failures. > For whitespace errors, see the file > /home/jpuydt/.sage//tmp/.doctest_sage_object.py > [41.4 s] > > That one is probably harmless ; I tried to multiply the timeouts by 10 in > both ppl.pyx and ppl.cpp, but it still failed after the same 1800s... so I > guess there was something to recompile somewhere : > > sage -t -long -force_lib "devel/sage/sage/libs/ppl.pyx" > *** *** Error: TIMED OUT! PROCESS KILLED! *** *** > > [1801.2 s] > > Those look mysterious ; what is tested exactly? > > sage -t -long -force_lib "devel/sage/sage/misc/sagedoc.py" > ********************************************************************** > File "/home/jpuydt/sage-4.7.1/devel/sage/sage/misc/sagedoc.py", line 876: > sage: len(search_doc('tree', interact=False).splitlines()) > 2500 # long > time > Expected: > True > Got: > False > ********************************************************************** > File "/home/jpuydt/sage-4.7.1/devel/sage/sage/misc/sagedoc.py", line 491: > sage: 'abvar/homology' in _search_src_or_doc('doc', 'homology', > 'variety', interact=False) > Expected: > True > Got: > False > ********************************************************************** > 2 items had failures: > 1 of 6 in __main__.example_14 > 1 of 8 in __main__.example_8 > ***Test Failed*** 2 failures. > For whitespace errors, see the file > /home/jpuydt/.sage//tmp/.doctest_sagedoc.py > [253.2 s] > > > Help and support would be welcome, > > Snark on trac and #sagemath > > -- > To post to this group, send an email to sage-devel@googlegroups.com > To unsubscribe from this group, send an email to > sage-devel+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org