https://bugs.winehq.org/show_bug.cgi?id=47133
--- Comment #48 from Michael ZeroBeat@gmx.de --- Very interesting. Sooner or later, your recommendation https://wiki.winehq.org/Regression_Testing
will lead to this error winebuild: /usr/bin/ld failed with status 1 winegcc: ../../tools/winebuild/winebuild failed make[1]: *** [Makefile:628: crypt32.dll.so] Error 2 make[1]: Leaving directory '/home/zerobeat/temp/wine-git/dlls/crypt32' make: *** [Makefile:8553: dlls/crypt32] Error 2
If I set git head (checkout -b ...) to the same commit, everything compiles fine and "Wine build complete."
If it is ok for you, I leave your recommendation and use git checkout -b instead. It will take a little bit longer, but doesn't lead to that ugly error.