As usual, more can be said from config.log and install.log - please share them. All your examples just work for me. I guess it might be a clash with GAP installed system-wide on the box, and GAP built by Sage. I'd be happy to try your build scripts, but I don't know where to look.
Dima On Wed, Dec 31, 2025 at 3:34 PM Marc Culler <[email protected]> wrote: > > 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 > > -- > 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/0de5b35b-2ac5-4987-97d5-b8cdfb2e301bn%40googlegroups.com. -- 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/CAAWYfq0k8FZnNb495xSmd%2BJPpRBsWZxu1h7cons5xFuUh-bbFw%40mail.gmail.com.
