🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
2 messages
2 total messages Started by Santiago Vila Mon, 12 Oct 2026 17:20
Bug#1150709: sagetex: FTBFS: FileNotFoundError: [Errno 2] No such file or directory: 'E2.sobj'
#431
Author: Santiago Vila
Date: Mon, 12 Oct 2026 17:20
109 lines
7178 bytes
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
--------------------------------------------------------------------------------
Bug#1150709: sagetex: FTBFS: FileNotFoundError: [Errno 2] No such file or directory: 'E2.sobj'
#441
Author: Maximiliano Curia
Date: Mon, 12 Oct 2026 19:50
50 lines
4169 bytes
--F04K7q8c51nAL9sp
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

=A1Hola Jerome!

El 2026-10-12 a las 19:52 +0200, Jerome BENOIT escribi=F3:
>Hi Santiago, thanks for this new report.
>
>This is indeed a new issue which seems related to the recent minor upgrade=
 of the package
>pari to version 2.19.0-1 . It looks like that sagemath needs some tweaks.

I've been working on this, I've updated cypari2 to adapt it to support
pari2 2.19, and I'm preparing sagemath 10.10, currently I'm checking a
problem with the karatsuba tests (the pure-python degree 3 reach the
timeout with no solution).

Among other changes I had to adapt some doctests to handle the new
default precision (128 bits instead of 53 bits)

Happy hacking,
--=20
"Fighting patents one by one will never eliminate the danger of software=20
patents, any more than swatting mosquitoes will eliminate malaria."
-- Richard M. Stallman
Saludos /\/\ /\ >< `/

--F04K7q8c51nAL9sp
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE+JIdOnQEyG4RNSIVxxl2mbKbIyoFAmrNOM0ACgkQxxl2mbKb
Iyp6tA/6A1p3fwRIMBTUoSUTgjfTOTEjeRb0OMlYddtA7AjLZDTNDX++0s+H6waL
nj0qqW+lL+NVDvktIkBB4IwKXuGNGQ2XWQxJ1JZFTM0vTWg1fZpa78DdOBM92c1C
uSfbxLZaxBbRsIarXCF6Ch+yrWKyOI6dUtmtCzXcSQfikDPieVM74W7Jv9/3It1i
QyJYNfiWjSB4+xvujniVx0bVvtnpNYL1KF0ubIXsOn62IpUGrsUENBZf2drC71MC
pHsaFvHGEpTwdh1BJJsEqPL5Ch+MnLzzTpQNWNg4Du0vyqVBm6vw9gq3Qm75cHZC
dGemF9DAw+37yLls/hxyAwdljNfa7twUhilShzjlKAOZkW/6SsdhNPXdj7LTHa1y
eQxd/KMA8qUcnr6dquE/qII2tP6YCm1lV9CjSP5bGk301fo38dyUMwVcuh0Lil/q
KmG2FzPF8Y9hVxzrbJM3t2sLL1yjWP4hQpLsHIAGfLR+3Q1pL0W4bl/82t2sANFd
Zjbtl3bbKa4K1cK5/YM16M65epUP4VYiGhqat3Dieiqq/3w2p6Qjl6sNvtItywEB
48arGJhlJDCHEbavmpvzyl6H5N7WE7v3vEvZbatWcF5wPrF9U2S9RvvYW7fvICaH
QVz1i9/fx9ZtSK3JvXdAZ9V3/qRhOo3MKGoh5gFzvAFXmf0I+ds=
=+Ekq
-----END PGP SIGNATURE-----

--F04K7q8c51nAL9sp--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads