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
i3 doesn't compile on musl #1859
Comments
I don’t see a link to logs.i3wm.org. Did you follow http://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.) |
I don’t see a version number. Could you please copy & paste the output of |
GLOB_TILDE is not a GNU-ism, it’s also available on FreeBSD, NetBSD and other systems. Please send a pull request if you care about getting this fixed. |
I don't think there's any value in keeping a ticket open for this. As Michael pointed out, if you want this to be fixed, send a pull request. |
I got this to compile and run for i3status 2.13 on alpine 3.10 by adding This is extremely hacky, but got it to compile and run. What would be the appropriate fix? I can implement it and submit a pull request. |
The appropriate fix would be to re-implement the current behavior without using GLOB_TILDE. |
i3 currently doesn't compile on a musl libc system. The only function that seem to cause troubles is the
resolve_tilde
function fromlibi3/resolve_tilde.c
. This function usesGLOB_TILDE
which is a GNUism and (probably) only available in glibc.This is the output of make on the next branch:
The text was updated successfully, but these errors were encountered: