Skip to content

Meson cannot find database_cremona_mini_ellcurve on ArchLinux #40822

@tobiasdiez

Description

@tobiasdiez
sage-runtests --warn-long 5.0 --random-seed=152968712520705932327769862647833592212 src/doc/de/tutorial/tour_advanced.rst
**********************************************************************
File "src/doc/de/tutorial/tour_advanced.rst", line 131, in doc.de.tutorial.tour_advanced
Failed example:
    EllipticCurve('37a')
Exception raised:
    Traceback (most recent call last):
      File "/__w/sage/sage/src/sage/doctest/forker.py", line 733, in _run
        self.compile_and_execute(example, compiler, test.globs)
        ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/__w/sage/sage/src/sage/doctest/forker.py", line 1157, in compile_and_execute
        exec(compiled, globs)
        ~~~~^^^^^^^^^^^^^^^^^
      File "<doctest doc.de.tutorial.tour_advanced[3]>", line 1, in <module>
        EllipticCurve('37a')
        ~~~~~~~~~~~~~^^^^^^^
      File "factory.pyx", line 371, in sage.structure.factory.UniqueFactory.__call__
      File "/__w/sage/sage/src/sage/schemes/elliptic_curves/constructor.py", line 440, in create_key_and_extra_args
        x, data = CremonaDatabase().coefficients_and_data(x)
                  ~~~~~~~~~~~~~~~^^
      File "/__w/sage/sage/src/sage/databases/cremona.py", line 1719, in CremonaDatabase
        return MiniCremonaDatabase(name)
      File "/__w/sage/sage/src/sage/databases/cremona.py", line 666, in __init__
        db_path = DatabaseCremona(name=name).absolute_filename()
      File "/__w/sage/sage/src/sage/features/__init__.py", line 841, in absolute_filename
        raise FeatureNotPresentError(self, reason=reason, resolution=self.resolution())
    sage.features.FeatureNotPresentError: database_cremona_mini_ellcurve is not available.
    'cremona_mini.db' not found in any of ['/github/home/.local/share/sagemath/cremona', '/github/home/.local/share/uv/python/cpython-3.13.7-linux-x86_64-gnu/share/cremona', '/usr/local/share/cremona', '/github/home/.sage/db/cremona', '/github/home/.local/share/cremona', '/usr/local/share/sagemath/cremona', '/github/home/.local/share/uv/python/cpython-3.13.7-linux-x86_64-gnu/share/sagemath/cremona']
    To install database_cremona_mini_ellcurve using the arch package manager, you can try to run:
    !sudo pacman -Sy 
      !sudo pacman -S sage-data-elliptic_curves
    No equivalent system packages for pip are known to Sage.
    Further installation instructions might be available at https://github.com/JohnCremona/ecdata.
**********************************************************************

https://github.com/sagemath/sage/actions/runs/17704328152/job/50314064814?pr=40816#step:9:46

And during build:

Message: Warning: The specified datadir does not contain the necessary Cremona database. Either specify a different datadir or specify a correct the correct path via the environment variable SAGE_SHARE during runtime.

https://github.com/sagemath/sage/actions/runs/17704328152/job/50314064814?pr=40816#step:8:462

and the data package was installed previously:
https://github.com/sagemath/sage/actions/runs/17704328152/job/50314064814?pr=40816#step:7:587

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions