On 4 Jul 2009, at 23:21, Robert Miller wrote:

> Source tarball, sage.math binary, and upgrade URL are, respectively:
>
> http://sage.math.washington.edu/home/rlmill/release/sage-4.1.rc0.tar
> http://sage.math.washington.edu/home/rlmill/release/sage-4.1.rc0-sage.math-only-x86_64-Linux.tar.gz
> http://sage.math.washington.edu/home/rlmill/release/sage-4.1.rc0/


An upgrade from sage-4.1-alpha3 to sage-4.1-rc0 on 32 bit ubuntu 8.10  
on x86 failed:

building 'sage.matrix.matrix_integer_dense' extension
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- 
prototypes -fPIC -I/opt/sage-4.1.alpha3/local//include -I/opt/ 
sage-4.1.alpha3/local//include/csage -I/opt/sage-4.1.alpha3/devel// 
sage/sage/ext -I/opt/sage-4.1.alpha3/local/include/python2.6 -c sage/ 
matrix/matrix_integer_dense.c -o build/temp.linux-i686-2.6/sage/matrix/ 
matrix_integer_dense.o -w
sage/matrix/matrix_integer_dense.c: In function  
â 
€ 
˜ 
__pyx_pf_4sage_6matrix_20matrix_integer_dense_20Matrix_integer_dense_echelon_formâ
 
€™:
sage/matrix/matrix_integer_dense.c:14940: error: ‘__pqx_t_4’  
undeclared (first use in this function)
sage/matrix/matrix_integer_dense.c:14940: error: (Each undeclared  
identifier is reported only once
sage/matrix/matrix_integer_dense.c:14940: error: for each function it  
appears in.)
error: command 'gcc' failed with exit status 1
sage: There was an error installing modified sage library code.


real    11m6.153s
user    9m55.320s
sys     1m0.930s
Error building new version of SAGE.

A subsequent full build completed OK.

The following tests failed:

         sage -t -long "devel/sage/sage/interfaces/sage0.py"
         sage -t -long "devel/sage/sage/misc/randstate.pyx"
         sage -t -long "devel/sage/sage/graphs/graph.py"

These failures are repeatable.

The graphs/graph.py failure is the same as reported by Jaap Spies.   
The details of the other failures are:

sage -t -long "devel/sage/sage/interfaces/sage0.py"
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 55:
     sage: a^3
Expected:
     8
Got:
     <BLANKLINE>
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 62:
     sage: V.gens()
Expected:
     ((1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1))
Got:
     <BLANKLINE>
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 75:
     sage: g = V.0;  g
Expected:
     (1, 0, 0, 0)
Got:
     <BLANKLINE>
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 85:
     sage: s('%s.parent()'%g.name())
Expected:
     Vector space of dimension 4 over Rational Field
Got:
     (1, 0, 0, 0)
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 93:
     sage: s('x = 5')
Expected:
     5
Got:
     <BLANKLINE>
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 97:
     sage: s('x')
Expected:
     5
Got:
     <BLANKLINE>
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 105:
     sage: a
Expected:
     10
Got:
     <BLANKLINE>
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 114:
     sage: s3('"x"')
Expected:
     8
Got:
     <BLANKLINE>
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 116:
     sage: s('x')
Expected:
     5
Got:
     <BLANKLINE>
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 320:
     sage: sage0.eval('2+2')
Expected:
     '4'
Got:
     '\x1b[0m'
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 334:
     sage: sage0.get('x')
Expected:
     '2'
Got:
     '4'
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 364:
     sage: sage0.get('x')
Expected:
     "...NameError: name 'x' is not defined"
Got:
     '2'
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 373:
     sage: sage0._contains('2', 'QQ')
Expected:
     True
Got:
     False
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 397:
     sage: sage0.version()
Exception raised:
     Traceback (most recent call last):
       File "/opt/sage-4.1.rc0/local/bin/ncadoctest.py", line 1231, in  
run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/opt/sage-4.1.rc0/local/bin/sagedoctest.py", line 38, in  
run_one_example
         OrigDocTestRunner.run_one_example(self, test, example,  
filename, compileflags)
       File "/opt/sage-4.1.rc0/local/bin/ncadoctest.py", line 1172, in  
run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_16[2]>", line 1, in <module>
         sage0.version()###line 397:
     sage: sage0.version()
       File "/opt/sage-4.1.rc0/local/lib/python/site-packages/sage/ 
interfaces/sage0.py", line 402, in version
         return sage0_version()
       File "/opt/sage-4.1.rc0/local/lib/python/site-packages/sage/ 
interfaces/sage0.py", line 547, in sage0_version
         return str(sage0('version()'))
       File "/opt/sage-4.1.rc0/local/lib/python/site-packages/sage/ 
interfaces/sage0.py", line 263, in __call__
         return SageElement(self, x)
       File "/opt/sage-4.1.rc0/local/lib/python/site-packages/sage/ 
interfaces/expect.py", line 1425, in __init__
         raise TypeError, x
     TypeError: Error executing code in SAGE
     CODE:
         sage0=version()
     SAGE ERROR:
          
---------------------------------------------------------------------------
     NameError                                 Traceback (most recent  
call last)

     /home/kwh/.sage/temp/jeos/6858/_home_kwh__sage_init_sage_0.py in  
<module>()

     NameError: name 'x' is not defined
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 399:
     sage: sage0.version() == version()
Expected:
     True
Got:
     False
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 417:
     sage: sage0.new(2)
Expected:
     2
Got:
     <BLANKLINE>
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 445:
     sage: F == sage0(F)._sage_()
Exception raised:
     Traceback (most recent call last):
       File "/opt/sage-4.1.rc0/local/bin/ncadoctest.py", line 1231, in  
run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/opt/sage-4.1.rc0/local/bin/sagedoctest.py", line 38, in  
run_one_example
         OrigDocTestRunner.run_one_example(self, test, example,  
filename, compileflags)
       File "/opt/sage-4.1.rc0/local/bin/ncadoctest.py", line 1172, in  
run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_20[4]>", line 1, in <module>
         F == sage0(F)._sage_()###line 445:
     sage: F == sage0(F)._sage_()
       File "/opt/sage-4.1.rc0/local/lib/python/site-packages/sage/ 
interfaces/sage0.py", line 455, in _sage_
         return load(P._local_tmpfile())
       File "sage_object.pyx", line 529, in  
sage.structure.sage_object.load (sage/structure/sage_object.c:6463)
     IOError: [Errno 2] No such file or directory: '/home/kwh/.sage// 
temp/jeos/6679//interface//tmp6679.sobj'
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 463:
     sage: four_gcd(6)
Expected:
     2
Got:
     <BLANKLINE>
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 486:
     sage: sage0(4).gcd
Expected:
     <built-in method gcd of sage.rings.integer.Integer object at 0x...>
Got:
     <BLANKLINE>
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 512:
     sage: half = reduce_load_element(s); half
Expected:
     1/2
Got:
     <BLANKLINE>
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 544:
     sage: sage0_version() == version()
Expected:
     True
Got:
     False
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 174:
     sage: print "ignore this";  sage0.cputime()     # random output
Exception raised:
     Traceback (most recent call last):
       File "/opt/sage-4.1.rc0/local/bin/ncadoctest.py", line 1231, in  
run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/opt/sage-4.1.rc0/local/bin/sagedoctest.py", line 38, in  
run_one_example
         OrigDocTestRunner.run_one_example(self, test, example,  
filename, compileflags)
       File "/opt/sage-4.1.rc0/local/bin/ncadoctest.py", line 1172, in  
run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_3[2]>", line 1, in <module>
         print "ignore this";  sage0.cputime()     # random  
output###line 174:
     sage: print "ignore this";  sage0.cputime()     # random output
       File "/opt/sage-4.1.rc0/local/lib/python/site-packages/sage/ 
interfaces/sage0.py", line 185, in cputime
         return float(s)
     ValueError: invalid literal for float(): Sage Version 4.1.rc0,  
Release Date: 2009-07-04
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 176:
     sage: sage0('factor(2^157-1)')
Exception raised:
     Traceback (most recent call last):
       File "/opt/sage-4.1.rc0/local/bin/ncadoctest.py", line 1231, in  
run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/opt/sage-4.1.rc0/local/bin/sagedoctest.py", line 38, in  
run_one_example
         OrigDocTestRunner.run_one_example(self, test, example,  
filename, compileflags)
       File "/opt/sage-4.1.rc0/local/bin/ncadoctest.py", line 1172, in  
run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_3[3]>", line 1, in <module>
         sage0('factor(2^157-1)')###line 176:
     sage: sage0('factor(2^157-1)')
       File "/opt/sage-4.1.rc0/local/lib/python/site-packages/sage/ 
interfaces/expect.py", line 1584, in __repr__
         s =  s.replace(self._name, self.__dict__['__custom_name'])
     KeyError: '__custom_name'
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 178:
     sage: print "ignore this";  sage0.cputime()     # random output
Exception raised:
     Traceback (most recent call last):
       File "/opt/sage-4.1.rc0/local/bin/ncadoctest.py", line 1231, in  
run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/opt/sage-4.1.rc0/local/bin/sagedoctest.py", line 38, in  
run_one_example
         OrigDocTestRunner.run_one_example(self, test, example,  
filename, compileflags)
       File "/opt/sage-4.1.rc0/local/bin/ncadoctest.py", line 1172, in  
run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_3[4]>", line 1, in <module>
         print "ignore this";  sage0.cputime()     # random  
output###line 178:
     sage: print "ignore this";  sage0.cputime()     # random output
       File "/opt/sage-4.1.rc0/local/lib/python/site-packages/sage/ 
interfaces/sage0.py", line 185, in cputime
         return float(s)
     ValueError: invalid literal for float(): e(None
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 192:
     sage: len(t) > 100
Exception raised:
     Traceback (most recent call last):
       File "/opt/sage-4.1.rc0/local/bin/ncadoctest.py", line 1231, in  
run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/opt/sage-4.1.rc0/local/bin/sagedoctest.py", line 38, in  
run_one_example
         OrigDocTestRunner.run_one_example(self, test, example,  
filename, compileflags)
       File "/opt/sage-4.1.rc0/local/bin/ncadoctest.py", line 1172, in  
run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_4[3]>", line 1, in <module>
         len(t) > Integer(100)###line 192:
     sage: len(t) > 100
     TypeError: object of type 'float' has no len()
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 194:
     sage: 'gcd' in t
Exception raised:
     Traceback (most recent call last):
       File "/opt/sage-4.1.rc0/local/bin/ncadoctest.py", line 1231, in  
run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/opt/sage-4.1.rc0/local/bin/sagedoctest.py", line 38, in  
run_one_example
         OrigDocTestRunner.run_one_example(self, test, example,  
filename, compileflags)
       File "/opt/sage-4.1.rc0/local/bin/ncadoctest.py", line 1172, in  
run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_4[4]>", line 1, in <module>
         'gcd' in t###line 194:
     sage: 'gcd' in t
     TypeError: argument of type 'float' is not iterable
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/interfaces/sage0.py", line 204:
     sage: s.eval('2+2')
Expected:
     '4'
Got:
     '\x1b[0m'
**********************************************************************
15 items had failures:
    9 of  23 in __main__.example_1
    1 of   3 in __main__.example_10
    1 of   4 in __main__.example_11
    1 of   6 in __main__.example_13
    1 of   3 in __main__.example_14
    2 of   4 in __main__.example_16
    1 of   4 in __main__.example_18
    1 of   5 in __main__.example_20
    1 of   4 in __main__.example_21
    1 of   3 in __main__.example_22
    1 of   6 in __main__.example_24
    1 of   4 in __main__.example_26
    3 of   5 in __main__.example_3
    2 of   5 in __main__.example_4
    1 of   5 in __main__.example_5
***Test Failed*** 27 failures.
For whitespace errors, see the file /opt/sage-4.1.rc0/ 
tmp/.doctest_sage0.py
          [9.1 s]
exit code: 1024
======================================================================
======================================================================
======================================================================
======================================================================

sage -t -long "devel/sage/sage/misc/randstate.pyx"
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/misc/randstate.pyx", line 124:
     : s = ZZ(subsage('initial_seed()'))
Exception raised:
     Traceback (most recent call last):
       File "/opt/sage-4.1.rc0/local/bin/ncadoctest.py", line 1231, in  
run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/opt/sage-4.1.rc0/local/bin/sagedoctest.py", line 38, in  
run_one_example
         OrigDocTestRunner.run_one_example(self, test, example,  
filename, compileflags)
       File "/opt/sage-4.1.rc0/local/bin/ncadoctest.py", line 1172, in  
run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_0[32]>", line 1, in <module>
         s = ZZ(subsage('initial_seed()'))###line 124:
     : s = ZZ(subsage('initial_seed()'))
       File "parent.pyx", line 323, in  
sage.structure.parent.Parent.__call__ (sage/structure/parent.c:4130)
       File "coerce_maps.pyx", line 156, in  
sage.structure.coerce_maps.NamedConvertMap._call_ (sage/structure/ 
coerce_maps.c:4023)
       File "/opt/sage-4.1.rc0/local/lib/python/site-packages/sage/ 
interfaces/expect.py", line 1718, in _integer_
         return sage.rings.all.Integer(repr(self))
       File "integer.pyx", line 565, in  
sage.rings.integer.Integer.__init__ (sage/rings/integer.c:6388)
     TypeError: unable to convert x  
(= 
---------------------------------------------------------------------------
     AttributeError                            Traceback (most recent  
call last)

     /home/kwh/.sage/temp/jeos/7067/_home_kwh__sage_init_sage_0.py in  
<module>()

     /opt/sage-4.1.rc0/local/lib/python2.6/site-packages/sage/misc/ 
functional.pyc in gen(x)
         353     Return the generator of x.
         354     """
     --> 355     return x.gen()
         356
         357 def gens(x):

     AttributeError: 'int' object has no attribute 'gen') to an integer
**********************************************************************
File "/opt/sage-4.1.rc0/devel/sage/sage/misc/randstate.pyx", line 131:
     : r == ZZ.random_element(2^200)
Expected:
     True
Got:
     False
**********************************************************************
1 items had failures:
    2 of  62 in __main__.example_0
***Test Failed*** 2 failures.
For whitespace errors, see the file /opt/sage-4.1.rc0/ 
tmp/.doctest_randstate.py
          [15.0 s]
exit code: 1024



--
Kevin Horton
Ottawa, Canada




--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to