-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
musl build tests failing #913
Comments
The patch simply disables a bunch of tests and this issue wasn't brought up before, so nothing was updated for musl (if anything needs to be updated). Building for musl is done by using Edit: I might provide a shorter patch, I found the line which causes the crash to occur. |
No, it's not shorter, but at least it doesn't disable any tests: vifm-v0.13-musl-tests.patch.txt (ridiculously, GitHub doesn't recognize
|
@xaizek it looks like, after testing on alpine in a docker container, that these two asserts fails on x86_64 musl: |
I don't know if something like
Did the tests pass? This test is not a new one. |
No, there are two failing asserts on musl in merge_directories_creating_intermediate_parent_dirs_copy
I am trying to understand what the tests does. I am not comfortable disabling the tests because the same tests pass with another libc on the same kernel (on my laptop). I added a stat on the source and on the output:
What I actually measured: |
The test verifies that on copying What version of musl (mine is 1.2.4) is that and does Alpine use |
Tried it in |
Workaround for bug in busybox: vifm/vifm#913
TIL: an excellent way to share a .patch file on the GitHub platform - simply link the commit with a .patch suffix! https://github.com/vifm/vifm/commit/c97f144231afbeb4215659d5c685fdf1e3fe5612.patch |
Nice, but not applicable in this case because that commit doesn't apply without conflicts to v0.13 release. |
I guess this issue can be closed as changes were committed. Thanks for the effort, too bad Void maintainers are like that... |
I tried to package Vifm 0.13 for Void Linux but got a build error on the musl x86_64 platform.
It seems one of the tests crashed without any good feedback:
https://github.com/void-linux/void-packages/actions/runs/5475460923/jobs/9975694493?pr=44870
Can anyone help me try running the tests on a musl 64-bit platform?
EDIT: There was a patch for 0.12 regarding the tests, I have not spoken to the previous packager why these patches existed to begin with. I was hoping it was something transient, something not required for 0.13, but maybe it still is required for the musl libc platform?
https://github.com/void-linux/void-packages/pull/44870/files#diff-bb99e12ed397c231f929eb74749a60b62857847bff471de7d2ad8b2cffe2dfca
The text was updated successfully, but these errors were encountered: