https://bugs.winehq.org/show_bug.cgi?id=57016
--- Comment #9 from zlice zlice@crtdrift.us --- (In reply to Zeb Figura from comment #6)
(In reply to zlice from comment #5)
Created attachment 76964 [details] patch_fail
This is done in a chroot technically with Void's build system.
But the `dlls/advapi32/tests/security.c` file as originally attached, does not have the same line numbers as the patches in wine's staging patch dir it seems.
This seems to be part of some broader build system, given the "post_patch". That kind of thing really needs to be stated up front. Can you reproduce the failure using commands directly?
Also, there's something odd about the output, it's interleaved in a nonsensical way. Is patchinstall.py somehow being run in parallel?
It does work extracting manually. It looks like gitapply.sh has a `nogit` var that doesn't get set. Setting this to 1 by default will result in the same error on `dlls/advapi32/tests/security.c`