Package: src:sagetex
Version: 3.6.1+ds-4
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.
Full build log is available here:

https://people.debian.org/~sanvila/build-logs/202610/

I know this is strange because the package built ok two days ago, but it is 
what it is.
There is a segfault, so it might be a bug somewhere else.

As always, I can offer a VM to reproduce.

Thanks.

--------------------------------------------------------------------------------
[...]
Code block (line 68) begin...Traceback (most recent call last):
  File "/tmp/sage_6u1t1tn2/example.sagetex4wp46mvs.sage.py", line 74, in 
<module>
    E = load('E2')
  File "sage/misc/persist.pyx", line 203, in sage.misc.persist.load
    with open(filename, 'rb') as fobj:
FileNotFoundError: [Errno 2] No such file or directory: 'E2.sobj'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "sage/structure/category_object.pyx", line 856, in 
sage.structure.category_object.CategoryObject.getattr_from_category
    return self._cached_methods[name]
KeyError: '_pari_mincurve'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"/usr/lib/python3/dist-packages/sage/schemes/elliptic_curves/ell_rational_field.py",
 line 654, in pari_mincurve
    return self._pari_mincurve
           ^^^^^^^^^^^^^^^^^^^
  File "sage/structure/category_object.pyx", line 850, in 
sage.structure.category_object.CategoryObject.__getattr__
    return self.getattr_from_category(name)
  File "sage/structure/category_object.pyx", line 865, in 
sage.structure.category_object.CategoryObject.getattr_from_category
    attr = getattr_from_other_class(self, cls, name)
  File "sage/cpython/getattr.pyx", line 357, in 
sage.cpython.getattr.getattr_from_other_class
    raise AttributeError(dummy_error_message)
AttributeError: 'EllipticCurve_rational_field_with_category' object has no 
attribute '_pari_curve'. Did you mean: 'pari_mincurve'?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "sage/structure/category_object.pyx", line 856, in 
sage.structure.category_object.CategoryObject.getattr_from_category
    return self._cached_methods[name]
KeyError: '_pari_curve'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"/usr/lib/python3/dist-packages/sage/schemes/elliptic_curves/ell_rational_field.py",
 line 632, in pari_curve
    return self._pari_curve
           ^^^^^^^^^^^^^^^^
  File "sage/structure/category_object.pyx", line 850, in 
sage.structure.category_object.CategoryObject.__getattr__
    return self.getattr_from_category(name)
  File "sage/structure/category_object.pyx", line 865, in 
sage.structure.category_object.CategoryObject.getattr_from_category
    attr = getattr_from_other_class(self, cls, name)
  File "sage/cpython/getattr.pyx", line 357, in 
sage.cpython.getattr.getattr_from_other_class
    raise AttributeError(dummy_error_message)
AttributeError: 'EllipticCurve_rational_field_with_category' object has no 
attribute '_pari_curve'. Did you mean: 'pari_curve'?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/sage_6u1t1tn2/example.sagetex4wp46mvs.sage.py", line 77, in 
<module>
    E.anlist(_sage_const_100000 )
    ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/lib/python3/dist-packages/sage/schemes/elliptic_curves/ell_rational_field.py",
 line 927, in anlist
    e = self.pari_mincurve()
  File 
"/usr/lib/python3/dist-packages/sage/schemes/elliptic_curves/ell_rational_field.py",
 line 656, in pari_mincurve
    mc, change = self.pari_curve().ellminimalmodel()
                 ~~~~~~~~~~~~~~~^^
  File 
"/usr/lib/python3/dist-packages/sage/schemes/elliptic_curves/ell_rational_field.py",
 line 634, in pari_curve
    self._pari_curve = pari(self.a_invariants()).ellinit()
                       ~~~~^^^^^^^^^^^^^^^^^^^^^
  File "sage/misc/lazy_import.pyx", line 413, in 
sage.misc.lazy_import.LazyImport.__call__
    return self.get_object()(*args, **kwds)
  File "cypari2/pari_instance.pyx", line 837, in 
cypari2.pari_instance.Pari.__call__
  File "cypari2/gen.pyx", line 4801, in cypari2.gen.objtogen
  File "cypari2/gen.pyx", line 4786, in cypari2.gen.objtogen
  File "sage/rings/rational.pyx", line 3805, in 
sage.rings.rational.Rational.__pari__
    return new_gen_from_rational(self)
  File "sage/libs/pari/convert_sage.pyx", line 433, in 
sage.libs.pari.convert_sage.new_gen_from_rational
    cpdef Gen new_gen_from_rational(Rational self):
  File "sage/libs/pari/convert_sage.pyx", line 442, in 
sage.libs.pari.convert_sage.new_gen_from_rational
    return new_gen_from_mpq_t(self.value)
  File "sage/libs/pari/convert_gmp.pyx", line 104, in 
sage.libs.pari.convert_gmp.new_gen_from_mpq_t
    sig_on()
cysignals.signals.SignalError: Segmentation fault

**** Error in Sage code on line 75 of example.tex! Traceback follows.

**** Running Sage on example.sage failed! Fix example.tex and try again.
make[2]: *** [Makefile:23: example.pdf] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:68: execute_after_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:33: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to