marisa 0.3.1-1.1: missing RTTI symbol breaks librime #289
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Seems like librime (1:1.16.1-8.1, x86-64-v3) fails to load at runtime because libmarisa.so from marisa (0.3.1-1.1, x86-64-v3) doesn't export the typeinfo for
marisa::Exceptionsymbol.fcitx5 logs:
Confirmed the symbol is needed by librime but absent from the ALHP build:
Downgrading to extra/marisa and extra/librime is a workaround for now, are the x86-64-v3 build flags are stripping RTTI visibility for this symbol?
I also found a similar issue in CachyOS forum
That sounds like a LTO issue. Let me have a look.
I requeued the package and force-disabled LTO on it, lets see if this solves it.
Can you try
0.3.1-1.2?Thanks for the fast responses! I just tried but on my end I still don't see the symbol,
ldd -r /usr/lib/librime.sostill says it's undefined. Also I'm not familiar with ALHP but I checked the dashboard and it seems like it's still built with LTO?Yea right, forgot to reload the lto list 🙃 Try .3 as soon as its build.
Hmm, still the same on .3
Doesn't work or the status page? Might be that the status page is just a visual bug. Let me confirm tho.
Doesn't work as
_ZTIN6marisa9ExceptionEis still not found, here's a quick sanity check on my end as wellI added
librimeas well, lets see if that does the trick. Otherwise I need to dive deeper into the issue, might be easier to just exclude it for now.While waiting for the package to propagate to my mirror I looked up a little, it seems like marisa changed their Exception to just alias to
std::exception[1] so it doesn't emit any typeinfo. So it might not be an LTO issue, maybe librime just needed a rebuild against the new marisa headers. That also sounds in line with the linked issue on CachyOS.But I'll see if the librime rebuild works!EDIT yep it works!1
Would also be possible yes. Rebuild for librime is done.
In case you missed the edit, yep the rebuilt version works.
So lets try a LTO build version of the two. I'll remove them from the list again, sec.
EDIT: done, should be included in the next cycle.
Just tested, works. Sorry my initial report implied the issue was with marisa 😅
All good, thats sometimes not clear what causes the symbol miss. Nice that we could resolve it :)