Windows CI: prefer Git for Windows' mingw64 over Flutter's mingit #36

Merged
such-gitea merged 1 commits from github-such-software/hash-wallet:dev into dev 2026-05-21 21:10:54 -04:00
Owner

Flutter ships a 2017-vintage mingit (its bundled Git), whose
libwinpthread-1.dll predates the pthread_cond_timedwait64 export that
modern MinGW-w64 libpthread emits and that the monero_c prebuilt
wallet DLLs use. Wallet creation crashed at runtime:
The procedure entry point pthread_cond_timedwait64 could not be
located in the dynamic link library libwownero_wallet2_api_c.dll.
Git for Windows' bundled mingw64/bin/libwinpthread-1.dll dates from
2026-04 — modern enough to have the symbol. Reorder the runtime-DLL
search to prefer Git for Windows first, Flutter mingit last.

Issue Number (if Applicable): Fixes #

Description

Please include a summary of the changes and which issue is fixed / feature is added.

Pull Request - Checklist

  • Initial Manual Tests Passed
  • Double check modified code and verify it with the feature/task requirements
  • Format code
  • Look for code duplication
  • Clear naming for variables and methods
  • Manual tests in accessibility mode (TalkBack on Android) passed
Flutter ships a 2017-vintage mingit (its bundled Git), whose libwinpthread-1.dll predates the pthread_cond_timedwait64 export that modern MinGW-w64 libpthread emits and that the monero_c prebuilt wallet DLLs use. Wallet creation crashed at runtime: The procedure entry point pthread_cond_timedwait64 could not be located in the dynamic link library libwownero_wallet2_api_c.dll. Git for Windows' bundled mingw64/bin/libwinpthread-1.dll dates from 2026-04 — modern enough to have the symbol. Reorder the runtime-DLL search to prefer Git for Windows first, Flutter mingit last. Issue Number (if Applicable): Fixes # # Description Please include a summary of the changes and which issue is fixed / feature is added. # Pull Request - Checklist - [ ] Initial Manual Tests Passed - [ ] Double check modified code and verify it with the feature/task requirements - [ ] Format code - [ ] Look for code duplication - [ ] Clear naming for variables and methods - [ ] Manual tests in accessibility mode (TalkBack on Android) passed
such-gitea added 1 commit 2026-05-21 21:10:49 -04:00
Flutter ships a 2017-vintage mingit (its bundled Git), whose
libwinpthread-1.dll predates the pthread_cond_timedwait64 export that
modern MinGW-w64 libpthread emits and that the monero_c prebuilt
wallet DLLs use. Wallet creation crashed at runtime:
  The procedure entry point pthread_cond_timedwait64 could not be
  located in the dynamic link library libwownero_wallet2_api_c.dll.
Git for Windows' bundled mingw64/bin/libwinpthread-1.dll dates from
2026-04 — modern enough to have the symbol. Reorder the runtime-DLL
search to prefer Git for Windows first, Flutter mingit last.
such-gitea merged commit f7d5e14e89 into dev 2026-05-21 21:10:54 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Builds/hash-wallet#36