-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
build glibc into appimage #11103
Comments
Related #1932 |
You can build the appimage yourself using tools like this for example. |
There is this appimagetool which has a deploy everything mode that bundles glibc in the appimage that makes the appimage be able to run in any distro, be it very old distros or even musl distros. It also uses a static runtime which prevents the no libfuse2 issues in newer distros. I just tested converting the existing appimage by extracting it and then running Ideally you would build with a statically linked musl and then deploy everything. |
Yes, can we please get a binary in the Releases page that would allow me to just download it and run it on any old linux system? I'm on an unfamiliar machine right now without many permissions. I'd love to just wget the hx binary and start using it but I'm getting the message that glibc is too old. I've been totally spoiled by Go and assume everything can just be a single binary that just works. 😭 |
I just made what I think are the necessary changes However how do you start the CI here so that I can verify that everything builds correctly? I don't want to make the PR without testing |
I'm not sure we want this. #1932 (comment) But this up to a maintainer to review to decide if that still stands. |
In this case you are not actually supporting an old version of glibc, you are simply bundling the glibc of the CI into the appimage, which for all purpose has the same result as the appimage being able to run in very old distributions and has the plus that it can also run in musl distributions as well. I already linked the diff above showing the needed changes, in any case you don't want to maintain that let me know so I can setup a repo that builds said appimage for the people that need it. |
If you make a PR that changes the release.yml workflow it will trigger a dryrun release. You can open up a draft PR and inspect the outputs. If it doesn't add too much time to the workflow and doesn't bloat the appimage itself too much I think it's ok to add this |
Updated artifact: https://github.com/helix-editor/helix/actions/runs/10049369085/artifacts/1728836018 The appimage with a bundled glibc is the one that contains If your distribution has Oddly enough the size increase ended up being less than 1 MiB with bundled glibc in the anylinux appimage. |
I want to try helix on Ubuntu 20.04, but glibc version is too low. It would be better if providing a self contained version of appimage.
The text was updated successfully, but these errors were encountered: