I am building an AppImage for Sage 10.8. I have successfully built Sage 10.8 on my manylinux docker image and I can run it on my Ubuntu 24.04 system. But I have run into issues with libgap, and possibly other parts of sage.
First, I cannot build the documentation because segfaults occur during the doc build. Actually there are several, many of which occur during sphinxplot. But I was able to track down at least one segfault in gap/
element.cpython-313-x86_64-linux-gnu.so. Based on disassembly, it seems to happen in make_gap_list.
I then tried running some example code from libgap, and I get weird errors. For example:
libgap(vector((1/3, 0.8, 3)))
produces:
GAPError: Error, Variable: <<unknown>> must have an assigned value
On my 10.7 AppImage, which was built on the same docker image, the result of that command is, as expected:
[ 0.333333, 0.8, 3. ]
For another example, the command:
libgap.AlternatingGroup(4)
produces
GAPError: Error, no method found! Error, no 1st choice method found for `AlternatingGroupCons' on 2 arguments
Again, that works fine on the 10.7 Appimage, producing the expected result:
Alt( [ 1 .. 4 ] )
And, to add one more, the command:
sage: libgap.eval('5/3 + 7*E(3)').sage()
produces:
GAPError: Error, CoeffsCyc: function is not yet defined
while the following command seems to work:
libgap.eval('5/3 + 7*E(3)')
16/3*E(3)-5/3*E(3)^2
Does anyone know anything which might give a hint about what is going on here?
- Marc