🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #431

Bug#1150709: sagetex: FTBFS: FileNotFoundError: [Errno 2] No such file or directory: 'E2.sobj'

#431
From: 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
--------------------------------------------------------------------------------
Technical Details
Message-ID: <NNrQR-5704-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1150709: sagetex: FTBFS: FileNotFoundError: [Errno 2] No such file or directory: 'E2.sobj'
Date: Mon, 12 Oct 2026 19:20:01 +0200
Message-ID: <NNrQR-5704-5@gated-at.bofh.it>
X-Original-To: Debian BTS <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Mon Oct 12 17:14:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Santiago Vila <sanvila@debian.org>, 1150709@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sanvila@debian.org, debian-tex-maint@lists.debian.org
X-Debian-Pr-Message: report 1150709
X-Debian-Pr-Package: src:sagetex
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: sagetex
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/834319
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 109
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 12 Oct 2026 16:35:42 +0000
X-Original-Message-ID: <E1xGJ02-003iMu-2z@paradis.debian.org>