I was able to build 10.9beta7 with gcc 10 in a linux docker image, after removing the new gmp patch for gcc15 compaiibility, which also seems to break gcc 10 compatibility.
However, the documentation build fails on the [knots ] package (and on other packages - that is just the first one). A traceback for that first failure is pasted from the log below,. (I am not allowed to attach files.)
I think the relevant part is at the end:
[spkg-install] [knots ] File
"/var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/groups/free_group.py",
line 741, in __init__
[spkg-install] [knots ] gap_group = libgap.FreeGroup(generator_names)
[spkg-install] [knots ] File "sage/libs/gap/element.pyx", line 2698, in sage.libs.gap.element.GapElement_Function.__call__
[spkg-install] [knots ] GAP_Enter()
[spkg-install] [knots ] sage.libs.gap.util.GAPError: Error, FreeGroup: function is not yet defined [docutils]
There are similar failures in other plots. For example:
sage.categories.finite_coxeter_groups.FiniteCoxeterGroups.ParentMethods.permutahedron:50: WARNING: Exception occurred in plotting finite_coxeter_groups-1
I think all of the exceptions I am seeing involve missing GAP functions. For another example, with a missing method:
[spkg-install] [categorie] File "sage/libs/gap/element.pyx", line 2698, in sage.libs.gap.element.GapElement_Function.__call__
[spkg-install] [categorie] GAP_Enter()
[spkg-install] [categorie] sage.libs.gap.util.GAPError: Error, no method found! Error, no 1st choice method found for `RealPart' on 1 arguments [docutils]
- Marc
========================= One full traceback ==========================================
[spkg-install] [knots ] /var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/knots/knot.py:docstring of sage.knots.knot.Knot:26: WARNING: Exception occurred in plotting knot-1
[spkg-install] [knots ] from /var/tmp/sage-10.9/build/sage-distro/src/doc/en/reference/knots/sage/knots/knot.rst:
[spkg-install] [knots ] Traceback (most recent call last):
[spkg-install] [knots ] File "/var/tmp/sage-10.9/local/lib/python3.14/site-packages/matplotlib/sphinxext/plot_directive.py", line 552, in _run_code
[spkg-install] [knots ] exec(code, ns)
[spkg-install] [knots ] ~~~~^^^^^^^^^^
[spkg-install] [knots ] File "<string>", line 1, in <module>
[spkg-install] [knots ] File "sage/misc/lazy_import.pyx", line 413, in sage.misc.lazy_import.LazyImport.__call__
[spkg-install] [knots ] return self.get_object()(*args, **kwds)
[spkg-install] [knots ] File "/var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/groups/braid.py", line 3659, in BraidGroup
[spkg-install] [knots ] return BraidGroup_class(names)
[spkg-install] [knots ] File "sage/misc/classcall_metaclass.pyx", line 320, in sage.misc.classcall_metaclass.ClasscallMetaclass.__call__
[spkg-install] [knots ] return cls.classcall(cls, *args, **kwds)
[spkg-install] [knots ] File "sage/misc/cachefunc.pyx", line 1045, in sage.misc.cachefunc.CachedFunction.__call__
[spkg-install] [knots ] w = self.f(*args, **kwds)
[spkg-install] [knots ] File "/var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/structure/unique_representation.py", line 1195, in __classcall__
[spkg-install] [knots ] return super().__classcall__(cls, *args, **options)
[spkg-install] [knots ] ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
[spkg-install] [knots ] File "/var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/structure/unique_representation.py", line 598, in __classcall__
[spkg-install] [knots ] instance = typecall(cls, *args, **options)
[spkg-install] [knots ] File "sage/misc/classcall_metaclass.pyx", line 471, in sage.misc.classcall_metaclass.typecall
[spkg-install] [knots ] return (<PyTypeObject*>type).tp_call(cls, args, kwds)
[spkg-install] [knots ] File "/var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/groups/braid.py", line 2683, in __init__
[spkg-install] [knots ] free_group = FreeGroup(names)
[spkg-install] [knots ] File "/var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/groups/free_group.py", line 700, in FreeGroup
[spkg-install] [knots ] return FreeGroup_class(names, **kwds)
[spkg-install] [knots ] File "sage/misc/classcall_metaclass.pyx", line 320, in sage.misc.classcall_metaclass.ClasscallMetaclass.__call__
[spkg-install] [knots ] return cls.classcall(cls, *args, **kwds)
[spkg-install] [knots ] File "sage/misc/cachefunc.pyx", line 1045, in sage.misc.cachefunc.CachedFunction.__call__
[spkg-install] [knots ] w = self.f(*args, **kwds)
[spkg-install] [knots ] File "/var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/structure/unique_representation.py", line 1195, in __classcall__
[spkg-install] [knots ] return super().__classcall__(cls, *args, **options)
[spkg-install] [knots ] ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
[spkg-install] [knots ] File "/var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/structure/unique_representation.py", line 598, in __classcall__
[spkg-install] [knots ] instance = typecall(cls, *args, **options)
[spkg-install] [knots ] File "sage/misc/classcall_metaclass.pyx", line 471, in sage.misc.classcall_metaclass.typecall
[spkg-install] [knots ] return (<PyTypeObject*>type).tp_call(cls, args, kwds)
[spkg-install] [knots ] File "/var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/groups/free_group.py", line 741, in __init__
[spkg-install] [knots ] gap_group = libgap.FreeGroup(generator_names)
[spkg-install] [knots ] File "sage/libs/gap/element.pyx", line 2698, in sage.libs.gap.element.GapElement_Function.__call__
[spkg-install] [knots ] GAP_Enter()
[spkg-install] [knots ] sage.libs.gap.util.GAPError: Error, FreeGroup: function is not yet defined [docutils]
[spkg-install] [knots ] /var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/knots/knot.py:docstring of sage.knots.knot.Knot.connected_sum:23: WARNING: Exception occurred in plotting knot-2
[spkg-install] [knots ] from /var/tmp/sage-10.9/build/sage-distro/src/doc/en/reference/knots/sage/knots/knot.rst:
[spkg-install] [knots ] Traceback (most recent call last):
[spkg-install] [knots ] File "/var/tmp/sage-10.9/local/lib/python3.14/site-packages/matplotlib/sphinxext/plot_directive.py", line 552, in _run_code
[spkg-install] [knots ] exec(code, ns)
[spkg-install] [knots ] ~~~~^^^^^^^^^^
[spkg-install] [knots ] File "<string>", line 1, in <module>
[spkg-install] [knots ] File "sage/misc/lazy_import.pyx", line 413, in sage.misc.lazy_import.LazyImport.__call__
[spkg-install] [knots ] return self.get_object()(*args, **kwds)
[spkg-install] [knots ] File "/var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/groups/braid.py", line 3659, in BraidGroup
[spkg-install] [knots ] return BraidGroup_class(names)
[spkg-install] [knots ] File "sage/misc/classcall_metaclass.pyx", line 320, in sage.misc.classcall_metaclass.ClasscallMetaclass.__call__
[spkg-install] [knots ] return cls.classcall(cls, *args, **kwds)
[spkg-install] [knots ] File "sage/misc/cachefunc.pyx", line 1045, in sage.misc.cachefunc.CachedFunction.__call__
[spkg-install] [knots ] w = self.f(*args, **kwds)
[spkg-install] [knots ] File "/var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/structure/unique_representation.py", line 1195, in __classcall__
[spkg-install] [knots ] return super().__classcall__(cls, *args, **options)
[spkg-install] [knots ] ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
[spkg-install] [knots ] File "/var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/structure/unique_representation.py", line 598, in __classcall__
[spkg-install] [knots ] instance = typecall(cls, *args, **options)
[spkg-install] [knots ] File "sage/misc/classcall_metaclass.pyx", line 471, in sage.misc.classcall_metaclass.typecall
[spkg-install] [knots ] return (<PyTypeObject*>type).tp_call(cls, args, kwds)
[spkg-install] [knots ] File "/var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/groups/braid.py", line 2683, in __init__
[spkg-install] [knots ] free_group = FreeGroup(names)
[spkg-install] [knots ] File "/var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/groups/free_group.py", line 700, in FreeGroup
[spkg-install] [knots ] return FreeGroup_class(names, **kwds)
[spkg-install] [knots ] File "sage/misc/classcall_metaclass.pyx", line 320, in sage.misc.classcall_metaclass.ClasscallMetaclass.__call__
[spkg-install] [knots ] return cls.classcall(cls, *args, **kwds)
[spkg-install] [knots ] File "sage/misc/cachefunc.pyx", line 1045, in sage.misc.cachefunc.CachedFunction.__call__
[spkg-install] [knots ] w = self.f(*args, **kwds)
[spkg-install] [knots ] File "/var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/structure/unique_representation.py", line 1195, in __classcall__
[spkg-install] [knots ] return super().__classcall__(cls, *args, **options)
[spkg-install] [knots ] ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
[spkg-install] [knots ] File "/var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/structure/unique_representation.py", line 598, in __classcall__
[spkg-install] [knots ] instance = typecall(cls, *args, **options)
[spkg-install] [knots ] File "sage/misc/classcall_metaclass.pyx", line 471, in sage.misc.classcall_metaclass.typecall
[spkg-install] [knots ] return (<PyTypeObject*>type).tp_call(cls, args, kwds)
[spkg-install] [knots ] File "/var/tmp/sage-10.9/local/lib/python3.14/site-packages/sage/groups/free_group.py", line 741, in __init__
[spkg-install] [knots ] gap_group = libgap.FreeGroup(generator_names)
[spkg-install] [knots ] File "sage/libs/gap/element.pyx", line 2698, in sage.libs.gap.element.GapElement_Function.__call__
[spkg-install] [knots ] GAP_Enter()
[spkg-install] [knots ] sage.libs.gap.util.GAPError: Error, FreeGroup: function is not yet defined [docutils]