Open msberk opened 5 months ago
I took a stab at this in https://github.com/fapdash/parinfer-rust-emacs/tree/manylinux2014 / https://github.com/fapdash/parinfer-rust-emacs/commit/42e12cad97e0b8971d4ef84335c79afe2893e947.
Currently it fails because of https://github.com/dtolnay/rust-toolchain/issues/122. We could install the rust-toolchain ourselves but I hope we don't have to.
I've built parinfer-rust-emacs inside of the manylinux2014 container on my local machine and it works with the Emacs snap version.
The release artifacts generated using the latest Ubuntu image directly require
glibc 2.33
which is newer than theglibc
in the Emacs 29.3 snap that is based oncore2020
which hasglibc_2.32
.See snippet of error below when
parinfer-mode
is turned on:'GLIBC_2.33' not found (required by /home/redacted/.config/emacs/.local/etc/parinfer-rust/parinfer-rust-linux.so))
I tried a quick fix (replace
ubuntu-latest
in your Github Actions withubuntu-20.04
and rebuilt locally withact
) and replaced the library on my machine and it worked in the snap. The "better" fix is probably to set up Github Actions to build inmanylinux2014
or similar so that theglibc
linkages are as old as possible for Rust (2.17). Unfortunately I'm pretty uneducated in Github Actions so don't know the best way to accomplish that, and switching to 20.04 solved my immediate issue.Thanks for your work on this extension! I'm a huge fan of
parinfer