As I suggested earlier, there are ways to make this more consistent, and faster. The current slowdown is in meson's computing doc dependencies - something that needs to be looked at by people who understand Sage's legacy non-standard use of sphinx (at least they should step forward and document all these inventories, how these are built, what depends on what, etc). This should also allow to work on making quick doc updates, on per document basis.
1) one can disable doc building (simply by commenting out the last line in src/meson.build - although it should be possible to properly wrap this into options - meson as well as ./configure's), then the delay will go away - see https://github.com/sagemath/sage/issues/41160 2) sage -b and -br should be fixed. https://github.com/sagemath/sage/issues/41161 (I only understand the default, editable, install) Should we/can we do anything for the editable case? In particular, 1-2) should be enough to alleviate the fears about a sudden slow strartup Dima On Mon, Nov 10, 2025 at 3:13 AM 'Martin R' via sage-devel < [email protected]> wrote: > I guess that this is related to the recent change to meson. My sage tries > to start since several minutes. I did the following: > > * add a file src/sage/combinat/posets/chute_move.py > * start sage > > this fails with an error that sage cannot be rebuild > > * add `chute_move.py` to the list in src/sage/combinat/posets/meson.build > * export MESONPY_EDITABLE_VERBOSE=1 > * start sage > > this works, but took about 5 minutes. > > I am afraid of having such a situation at a presentation. > > Here is the output: > > meson-python: building sagemath: /usr/bin/ninja > [0/1] Regenerating build files > The Meson build system > Version: 1.8.3 > Source dir: /home/martin/sage > Build dir: /home/martin/sage/build/sage-distro > Build type: native build > Project name: SageMath > Project version: 10.8.beta8 > C compiler for the host machine: gcc (gcc 13.3.0 "gcc (Ubuntu > 13.3.0-6ubuntu2~24.04) 13.3.0") > C linker for the host machine: gcc ld.bfd 2.42 > C++ compiler for the host machine: g++ -std=gnu++11 (gcc 13.3.0 "g++ > (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0") > C++ linker for the host machine: g++ -std=gnu++11 ld.bfd 2.42 > Cython compiler for the host machine: cython (cython 3.1.3) > Host machine cpu family: x86_64 > Host machine cpu: x86_64 > Program python found: YES > (/home/martin/sage/local/var/lib/sage/venv-python3.12/bin/python3) > Program python (pytest) found: YES > (/home/martin/sage/local/var/lib/sage/venv-python3.12/bin/python3) modules: > pytest > Dependency numpy found: YES 2.3.2 (cached) > Dependency gmp found: YES 6.3.0 (cached) > Library pari found: YES > Dependency mpfr found: YES 4.2.1 (cached) > Dependency flint found: YES 3.0.1 (cached) > Library flint found: YES > Dependency mkl found: YES 0.3.26 (cached) > Dependency gsl found: YES 2.7.1 (cached) > Dependency gdlib found: YES 2.3.3 (cached) > Library m found: YES > Dependency m4ri found: YES 20250128 (cached) > Dependency m4rie found: YES 20250128 (cached) > Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1 > Found CMake: /usr/bin/cmake (3.28.3) > Run-time dependency libmtx found: NO (tried pkgconfig and cmake) > Has header "meataxe.h" : NO (cached) > Dependency libpng found: YES 1.6.43 (cached) > Dependency zlib found: YES 1.3 (cached) > Dependency eclib found: YES 20250627 (cached) > Library ecm found: YES > Dependency gmpxx found: YES 6.3.0 (cached) > Dependency fflas-ffpack found: YES 2.5.0 (cached) > Dependency givaro found: YES 4.2.1 (cached) > Dependency linbox found: YES 1.7.0 (cached) > Library mpc found: YES > Library mpfi found: YES > Dependency libgap found: YES 4.14.0 (cached) > Dependency Singular found: YES 4.4.1 (cached) > Library ntl found: YES > Run-time dependency Boost (missing: graph) found: NO (tried system) > Run-time dependency Boost (missing: graph) found: NO (tried system) > 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. > Program ecl-config found: YES (/usr/bin/ecl-config) > Dependency openmp found: YES 4.5 (cached) > Program gap found: YES (/home/martin/sage/local/bin/gap) > Program ecm found: YES (/usr/bin/ecm) > Program directg found: NO > Program nauty-directg found: YES (/usr/bin/nauty-directg) > Program gentourng found: NO > Program nauty-gentourng found: YES (/usr/bin/nauty-gentourng) > Program geng found: NO > Program nauty-geng found: YES (/usr/bin/nauty-geng) > Program genbg found: NO > Program nauty-genbg found: YES (/usr/bin/nauty-genbg) > Program gentreeg found: NO > Program nauty-gentreeg found: YES (/usr/bin/nauty-gentreeg) > Program genktreeg found: NO > Program nauty-genktreeg found: YES (/usr/bin/nauty-genktreeg) > Program genposetg found: NO > Program nauty-genposetg found: YES (/usr/bin/nauty-genposetg) > Run-time dependency libsirocco found: NO (tried pkgconfig and cmake) > Library sirocco found: NO > Library ecl found: YES > Program ecl found: YES (/usr/bin/ecl) > Program maxima found: YES (/home/martin/sage/local/bin/maxima) > Dependency libbraiding found: YES 1.3.1 (cached) > Dependency bdw-gc-threaded found: YES 8.2.6 (cached) > Run-time dependency libhomfly found: NO (tried pkgconfig and cmake) > Has header "homfly.h" : YES (cached) > Library homfly found: YES > Library coxeter3 found: NO > Dependency lcalc found: YES 2.1.0 (cached) > Run-time dependency symmetrica found: NO (tried pkgconfig and cmake) > Library symmetrica found: YES > Library bliss found: NO > Has header "mcqd.h" : NO (cached) > Run-time dependency libcliquer found: NO (tried pkgconfig and cmake) > Library cliquer found: YES > Dependency libplanarity found: YES 4.0.0.0 (cached) > Has header "treedec/combinations.hpp" : NO (cached) > Library rw found: YES > Library iml found: YES > Library glpk found: YES > Dependency brial found: YES 1.2.14 (cached) > Library brial_groebner found: YES > Configuring kernel.json using configuration > Configuring config.py using configuration > ../../src/sage/meson.build:178: WARNING: The variable(s) > 'FOURTITWO_CIRCUITS', 'FOURTITWO_GRAVER', 'FOURTITWO_GROEBNER', > 'FOURTITWO_HILBERT', 'FOURTITWO_MARKOV', 'FOURTITWO_PPI', > 'FOURTITWO_QSOLVE', 'FOURTITWO_RAYS', 'FOURTITWO_ZSOLVE', > 'SAGE_MATHJAX_DIR', 'SAGE_ROOT', 'SAGE_VENV', 'configure_input' in the > input file 'src/sage/config.py.in' are not present in the given > configuration data. > Program python (sphinx) found: YES > (/home/martin/sage/local/var/lib/sage/venv-python3.12/bin/python3) modules: > sphinx > Build targets in project: 1678 > > SageMath 10.8.beta8 > > User defined options > Native files : > /home/martin/sage/build/sage-distro/meson-python-native-file.ini > SAGE_LOCAL : /home/martin/sage/local > b_ndebug : if-release > b_vscrt : md > buildtype : release > default_library: static > > Found ninja-1.11.1 at /usr/bin/ninja > Cleaning... 0 files. > [1/25] Generating src/sage/ext/interpreters/sage.ext.interpreters with a > custom command > Generating interpreters for fast_callable in src/sage/ext/interpreters > ┌────────────────────────────────────────────────────────────────────┐ > │ SageMath version 10.8.beta8, Release Date: 2025-10-27 │ > │ Using Python 3.12.3. Type "help()" for help. │ > └────────────────────────────────────────────────────────────────────┘ > ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ > ┃ Warning: this is a prerelease version, and it may be unstable. ┃ > ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ > /home/martin/sage/local/var/lib/sage/venv-python3.12/lib/python3.12/site-packages/line_profiler/toml_config.py:111: > DeprecationWarning: path is deprecated. Use files() instead. Refer to > https://importlib-resources.readthedocs.io/en/late > st/using.html#migrating-from-legacy for migration advice. > with importlib.resources.path(package + '.rc', > sage: > > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/sage-devel/66a95feb-6f9e-403a-982a-36371acba248n%40googlegroups.com > <https://groups.google.com/d/msgid/sage-devel/66a95feb-6f9e-403a-982a-36371acba248n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq32p8BApoWkf4deaM%3D53XJ4wk%3Dk4K4%3Dhn8Gzqvk3VAHNw%40mail.gmail.com.
