New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined symbol in libgap on archlinux #27372
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
Note: I was sitting next to Aloys machine; deleting the libgap workspace did not help. |
comment:3
Potential cause: dynamic modules are not yet well supported in libgap, right? See #27218 |
comment:4
Amusing, I should try in sage-on-gentoo. I packaged all that but I haven't done a real live test of installing it. |
comment:5
Replying to @nthiery:
That is correct. This is fixed by #26930, so I would propose closing this as a duplicate, do you agree? The fact is that without this fix, if some GAP packages are being loaded by default that in turn cause a shared module to be loaded it will fail. |
comment:7
I had noticed that basic building in sage-on-gentoo meant that |
comment:8
Replying to @kiwifb:
Yep. In the future all compiled GAP packages should link with libgap. Currently they don't, because until recently there was no libgap. And for the case of using GAP directly it isn't necessary because the |
comment:9
I would tend to wait for the fix to have percolated down to arch-linux to make sure everything is fine there (despite potential specific build idiosyncrasies). But otherwise, yes! Thanks for your answer and all the quick progress. |
comment:10
Linking all binary packages to libgap fixes this particular issue. However, this uncovers another problem: now I'm getting
This line in gap.py corresponds to the error code 13: GAP is trying to send a Window command, which points to the xgap package. |
comment:11
Answering to myself: yes, this seems to be intentional https://github.com/sagemath/sage-prod/blob/master/src/sage/interfaces/gap.py#L1581 So xgap should definitely be blacklisted here. |
comment:12
Actually, the problem is not that it tries to load xgap: that seems to be dealt with in SAGE_EXTCODE/gap/sage.g. The problem is with packages that have xgap in SuggestedPackages, namely sonata and cryst: apparently the sage.g blacklist doesn't work in that case and they still try to load xgap. I've worked around this downstream by removing xgap from SuggestedPackages in sonata and cryst for now, but this should be fixed in sage itself so that it doesn't try to load xgap under any circumstances. |
comment:13
I'm not sure if that can be fixed in Sage without some mechanism from upstream to make it easier to completely prevent a package from being loaded. Also, the problem with xgap only impacts the pexpect interface to GAP. There are some tickets elsewhere about reducing, and ultimately eliminating dependence on that in the core Sage library. |
comment:14
Perhaps, also, the pexpect interface could be improved somewhat to actually "speak" the xgap window manager protocol and provide some dummy responses from the "window manager" when it asks for them =_= |
comment:15
Let's close it as outdated |
On Archlinux (updated on 27-03-2019), SageMath version 8.6, Release Date: 2019-01-15 ;
CC: @nthiery @embray
Component: interfaces
Issue created by migration from https://trac.sagemath.org/ticket/27372
The text was updated successfully, but these errors were encountered: