New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/pull/34030#issuecomment-976010587 Comment: Doctest failures in `x86_64-musl`: ``` ---------------------------------------------------------------------- sage -t --random-seed=263343733075529654576520741661576957914 src/sage/functions/min_max.py # 2 doctests failed sage -t --random-seed=263343733075529654576520741661576957914 src/sage/tests/cmdline.py # 1 doctest failed sage -t --random-seed=263343733075529654576520741661576957914 src/sage/lfunctions/sympow.py # 3 doctests failed sage -t --random-seed=263343733075529654576520741661576957914 src/sage/misc/gperftools.py # 1 doctest failed ---------------------------------------------------------------------- ``` The first two are just the same as in glibc. The second one is actually fixed by just not installing pytest which I'll do in the next commit. The third one is ``` sage -t --random-seed=263343733075529654576520741661576957914 src/sage/lfunctions/sympow.py ********************************************************************** File "src/sage/lfunctions/sympow.py", line 279, in sage.lfunctions.sympow.Sympow.analytic_rank Failed example: sympow.analytic_rank(EllipticCurve('389a')) Expected: (2, '7.59317e-01') Got: (2, '7.59316e-01') ********************************************************************** File "src/sage/lfunctions/sympow.py", line 281, in sage.lfunctions.sympow.Sympow.analytic_rank Failed example: sympow.analytic_rank(EllipticCurve('5077a')) Expected: (3, '1.73185e+00') Got: (3, '1.73184e+00') ********************************************************************** File "src/sage/lfunctions/sympow.py", line 283, in sage.lfunctions.sympow.Sympow.analytic_rank Failed example: sympow.analytic_rank(EllipticCurve([1, -1, 0, -79, 289])) Expected: (4, '8.94385e+00') Got: (4, '8.94384e+00') ********************************************************************** 1 item had failures: 3 of 6 in sage.lfunctions.sympow.Sympow.analytic_rank [10 tests, 3 failures, 0.90 s] ``` Seems like a mishandling of fpu control words in sympow that affects musl printing routines (I doubt is anything more than printing since all is computed at least to double precision which is ~18 digits it would be unexpected to get a difference in the 6th decimal place). The last one is ``` sage -t --random-seed=263343733075529654576520741661576957914 src/sage/misc/gperftools.py ********************************************************************** File "src/sage/misc/gperftools.py", line 118, in sage.misc.gperftools.Profiler._libc Failed example: Profiler()._libc() Exception raised: Traceback (most recent call last): File "/usr/lib/sage-9.5.beta7/local/var/lib/sage/venv-python3.9.7/lib/python3.9/site-packages/sage/doctest/forker.py", line 694, in _run self.compile_and_execute(example, compiler, test.globs) File "/usr/lib/sage-9.5.beta7/local/var/lib/sage/venv-python3.9.7/lib/python3.9/site-packages/sage/doctest/forker.py", line 1088, in compile_and_execute exec(compiled, globs) File "", line 1, in Profiler()._libc() File "/usr/lib/sage-9.5.beta7/local/var/lib/sage/venv-python3.9.7/lib/python3.9/site-packages/sage/misc/gperftools.py", line 129, in _libc raise ImportError('failed to open libc') ImportError: failed to open libc ********************************************************************** 1 item had failures: 1 of 3 in sage.misc.gperftools.Profiler._libc [35 tests, 1 failure, 0.89 s] ``` I'll look into it.