[Debian-science-sagemath] 48 or 56 (-20) failed tests

Ximin Luo infinity0 at debian.org
Mon Oct 10 08:23:00 UTC 2016


François Bissey:
> 
>> On 10/10/2016, at 21:05, Ximin Luo <infinity0 at debian.org> wrote:
>>
>> sage -t --long src/sage/interfaces/maxima_abstract.py
> 
> More info on the failure please. I had some in there a while ago.
> 

sage -t --long src/sage/interfaces/maxima_abstract.py
**********************************************************************
File "src/sage/interfaces/maxima_abstract.py", line 2269, in sage.interfaces.maxima_abstract.MaximaAbstractElementFunction._div_
Failed example:
    _(2)
Expected:
    -sin(2)/cos(2)
Got:
    (kill(sage147)$%o1907)-sin(2)/cos(2)
**********************************************************************
1 item had failures:
   1 of  10 in sage.interfaces.maxima_abstract.MaximaAbstractElementFunction._div_
    [277 tests, 1 failure, 111.66 s]


also, for sage_object.pyx:


sage -t --long src/sage/structure/sage_object.pyx
**********************************************************************
File "src/sage/structure/sage_object.pyx", line 975, in sage.structure.sage_object.load
Failed example:
    load(t)
Exception raised:
    Traceback (most recent call last):
      File "/home/infinity0/.sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 495, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/infinity0/.sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.structure.sage_object.load[10]>", line 1, in <module>
        load(t)
      File "sage/structure/sage_object.pyx", line 992, in sage.structure.sage_object.load (build/cythonized/sage/structure/sage_object.c:11192)
        sage.repl.load.load(filename, globals())
      File "/home/infinity0/.sage/local/lib/python2.7/site-packages/sage/repl/load.py", line 298, in load
        fortran(f.read(), globals)
      File "/home/infinity0/.sage/local/lib/python2.7/site-packages/sage/misc/inline_fortran.py", line 23, in __call__
        return self.eval(*args, **kwds)
      File "/home/infinity0/.sage/local/lib/python2.7/site-packages/sage/misc/inline_fortran.py", line 126, in eval
        raise RuntimeError("failed to compile Fortran code:\n" + log_string)
    RuntimeError: failed to compile Fortran code:
    In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1777:0,
                     from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                     from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from /tmp/tmpwVAhWP/src.linux-x86_64-2.7/fortranobject.h:13,
                     from /tmp/tmpwVAhWP/src.linux-x86_64-2.7/fortranobject.c:2:
    /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it by " \
      ^~~~~~~
    In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1777:0,
                     from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                     from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from /tmp/tmpwVAhWP/src.linux-x86_64-2.7/fortranobject.h:13,
                     from /tmp/tmpwVAhWP/src.linux-x86_64-2.7/fortran_modulemodule.c:18:
    /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it by " \
      ^~~~~~~
    /usr/bin/ld: /tmp/tmpwVAhWP/fortran_module.o: relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
    /tmp/tmpwVAhWP/fortran_module.o: error adding symbols: Bad value
    collect2: error: ld returned 1 exit status
    /usr/bin/ld: /tmp/tmpwVAhWP/fortran_module.o: relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
    /tmp/tmpwVAhWP/fortran_module.o: error adding symbols: Bad value
    collect2: error: ld returned 1 exit status
    error: Command "/home/infinity0/var/lib/sage/sagemath/sage/src/bin/sage-inline-fortran -Wall -g -L/home/infinity0/var/lib/sage/sagemath/sage/local/lib -Wl,-rpath,/home/infinity0/var/lib/sage/sagemath/sage/local/lib -Wl,-z,relro /tmp/tmpwVAhWP/tmp/tmpwVAhWP/src.linux-x86_64-2.7/fortran_modulemodule.o /tmp/tmpwVAhWP/tmp/tmpwVAhWP/src.linux-x86_64-2.7/fortranobject.o /tmp/tmpwVAhWP/fortran_module.o -lgfortran -o ./fortran_module.so" failed with exit status 1

**********************************************************************
File "src/sage/structure/sage_object.pyx", line 976, in sage.structure.sage_object.load
Failed example:
    hello
Exception raised:
    Traceback (most recent call last):
      File "/home/infinity0/.sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 495, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/infinity0/.sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.structure.sage_object.load[11]>", line 1, in <module>
        hello
    NameError: name 'hello' is not defined
**********************************************************************
1 item had failures:
   2 of  13 in sage.structure.sage_object.load
    [203 tests, 2 failures, 19.49 s]


-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the Debian-science-sagemath mailing list