Skip to content
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

Support for musl #15

Open
ethanaobrien opened this issue Aug 14, 2024 · 3 comments
Open

Support for musl #15

ethanaobrien opened this issue Aug 14, 2024 · 3 comments

Comments

@ethanaobrien
Copy link

ethanaobrien commented Aug 14, 2024

I'd like to be able to natively compile and run on alpine, which uses the musl target.

With this patch, the application(s) will build (natively, cross compilation doesnt work for whatever reason) on 64 bit alpine. However, the related wine binaries are downloaded for glibc/gnu rather than musl. Adding support to download for musl as well would be nice.

Please let me know if there are any questions

@ethanaobrien
Copy link
Author

ethanaobrien commented Aug 15, 2024

Closing as not planned -- apparently not even steam has musl support, and I doubt proton does (wine itself should(?), though it doesn't look like the maintainer of the wine staging repo used wants to support it.)

Installing through flatpak does work, though I didn't want to have to download 600mb of gnome dependency stuff.

@ethanaobrien ethanaobrien closed this as not planned Won't fix, can't repro, duplicate, stale Aug 15, 2024
@ethanaobrien
Copy link
Author

ethanaobrien commented Aug 15, 2024

Edit: It does appear this may be possible. I've managed to compile wine-staging-tkg on alpine and now it gets past the part where it fails executing wine. It now fails at apply DXVK, though I believe I may have just missed a flag when compiling wine (only wine64 binary created, no wine itself). I will update as progress goes on

Re-opening

Edit pt2: Apparently wine is literally a copy of the wine64 executable. DXVK still fails with the error Failed to apply DXVK: Failed to find wine path: . Is it possible to print to stdout for this command?

Edit pt3: Setting LD_LIBRARY_PATH=/home/$USER/.local/share/honkers-launcher/runners/wine-9.12-staging-tkg-amd64/lib/wine/x86_64-unix/ fixes the DXVK issue (seems to maybe be an alpine issue? Or probably musl specific: link)

@ethanaobrien ethanaobrien reopened this Aug 15, 2024
@ethanaobrien ethanaobrien changed the title Support for x86_64-unknown-linux-musl Support for musl Aug 15, 2024
@ethanaobrien
Copy link
Author

ethanaobrien commented Aug 15, 2024

And.. Its alive! Though it appears to crash when it tries to do the movie rendering. This may be because of a messed up patch or some memory issues. I'll clean this up and report later

I setup an example repo with a build script, artifacts are also uploaded: https://git.ethanthesleepy.one/ethanaobrien/wine-staging-tkg-musl/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant