For some context, the original maintainer of org.winehq.Wine has left about 2 years ago and the Flatpak was in low maintenance mode until early this year.
I really didn’t want to see it rot and potentially removed, so in March I became maintainer of org.winehq.Wine. It’s also used by a lot of popular apps on Flathub as their baseapp.
Consequentially, I also had to step up and maintain org.freedesktop.Sdk.Extension.mingw-w64, which is needed by Wine for building its PE/dll files, since it was also abandoned by the original maintainer.
I can handle org.winehq.Wine just fine, but maintaining the mingw-w64 extension hasn’t been a smooth ride.
Particularly, the issue is that whenever I try to update Binutils to anything newer than 2.43.1 and/or mpfr 4.2.1 to 4.2.2, it causes the new Wine built against the updated version of mingw to throw the following errors, hinting at some ABI incompatibility:
wine: created the configuration directory ‘/var/data/wine’
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
wine: Unhandled page fault on write access to 0000000140020AD8 at address 00006FFFFFF550F8 (thread 002c), starting debugger…
002c:err:seh:start_debugger Couldn’t start debugger L"winedbg --auto 40 80" (2)
Read the Wine Developers Guide on how to set up winedbg or another debugger
wine: could not load kernel32.dll, status c0000135
004c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
wine: Unhandled page fault on write access to 000000014001EB38 at address 00006FFFFFF550F8 (thread 004c), starting debugger…
004c:err:seh:start_debugger Couldn’t start debugger L"winedbg --auto 72 168" (2)
Read the Wine Developers Guide on how to set up winedbg or another debugger
wine: Unhandled page fault on write access to 00006FFFFF8B5C10 at address 00006FFFFFF550F8 (thread 0044), starting debugger…
0044:err:seh:start_debugger Couldn’t start debugger L"winedbg --auto 64 128" (2)
Read the Wine Developers Guide on how to set up winedbg or another debugger
It has happened to me a few months ago and now, when I created the 25.08 branch for mingw-w64.
I tried to investigate that and also get various help, but I still have no clue why it happens.
I’m currently downgrading these dependencies again, which should finally make working Wine 25.08 builds, but this isn’t sustainable for the far future, as these dependencies will still have to be updated at some point for compatibility with future mingw/Wine versions.
That’s why I’m asking for help. If you happen to have the required knowledge to properly maintain mingw-w64, you’re welcome to join and become co-maintainer.