Github runners for Ubuntu 20.04 have been removed, trouble with rustler-precompiled and compatibility

I have a typst package on hex that uses rustler-precompiled, I used the github action from Explorer to create my release action.
When I tried to make a new version yesterday it failed as GH decided to take the runners for Ubuntu 20.04 out as of April 15th.
I switched mine to Ubuntu 24.04 but this makes the package incompatible for users on certainly Debian Bookworm, due to differences in the version of GLIBC.

I assume Explorer will run into similar issues…

Anyone know a solution?

2 Likes

Can you use 22.04 instead?

Yes I can and I will. But before I did, I wanted to make sure this was the only option. And see if someone in the community might offer a “better” solution.

I guess I will need to publish a new version as well?

This seems to be the same problem I faced here. Hopefully the opened PR can help you solve your issue as well. :crossed_fingers:t2:

2 Likes

Can confirm, after @Hermanverschooten changed to 22.04 it now works on Debian Bullseye. Thanks everyone!

I think the “correct” solution to this problem is to do the build in a docker container.