-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Gitea can't run due to GLIBC version incompatibility #14576
Comments
A quick fix is to use musl libc with the following build command:
I can send a patch for that. But I am not sure if I should integrate it into the default build target, or add a new make target. |
Is this a Golang related problem? |
@lunny I don't think so. It's not strictly a Gitea problem either. But it does upset users when it happened to them (read: me) and the root cause is not obvious in the first place. All it shows is Gitea broken after an upgrade. |
You're actually missing a few other tags that should be added for completely static builds. |
Fix go-gitea#14576 Signed-off-by: Andrew Thornton <[email protected]>
@zeripath Thanks for the information. I was not aware of those build tags. |
Fix #14576 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
Git version:
2.26
Operating system:
Ubuntu 20.04.2 LTS
Database (use
[x]
):Description
I built Gitea for my Synology NAS and it can't run.
I suspect this would affect all users who run Gitea on older embedded devices (and unable to upgrade the system).
The text was updated successfully, but these errors were encountered: