"wine" has some issues with loading its dependencies on all supported architectures and especially on x86_64 with 32-bit support enabled. So, while I hope I'm not overstepping, I opened this bug to propose some solutions for the long-standing wine bugs in one place as they all have the same source, namely the wine.spec file not properly setting requirements/loading of system libraries. Reference bugs: bug#28814, bug#28840, bug#30462(closed but some lingering issues remain) As wine spec file is a little stuffy, this should be solved/reviewed in three steps: 1. fix wine32 rpm package setup/settings. 2. fix dependencies on mingw libraries during build and install. 3. some clean up/clarification of the building flags options and stages. For each step I will upload a patch for the wine.spec file. These patches should be independent of each other and the order of applying them should not matter. Patches will be against wine.spec revision=2042087 for Cauldron. I've been running wine with these kind of changes for a long time with no issues and unfortunately I can only confirm successful building for aarch64.
Created attachment 14462 [details] wine.spec patch to fix wine32 package Patch 001* changes/fixes: - wine32 dependencies - loading the right wine-gecko library for each architecture - the warning/notice to load wine32 for 32-bit support as it makes sense only for x86_64 systems - the double listings of some manual files.
Created attachment 14463 [details] wine.spec patch to fix mingw dependencies Patch 002* changes/fixes: - wine32/wine64 properly require their 32/64-bit mingw packages - use "%bcond_with mingw" for less nested/cluttered conditionals - enabling/disabling mingw build will properly generate a PE/native build of wine - rearrange/clean the rpm file list generated with or without using mingw.
Created attachment 14464 [details] wine for crosscompiling with mingw This is an additional patch that enables use of Mageia mingw libraries instead of wine bundled libraries.
Created attachment 14465 [details] wine.spec patch build/compiling options Patch 003* changes/fixes: - clean/rearrange build options - Use rpm macros to set/disable compiler and linker options(fortify, stack-protector ...) - explicitly disable "oss", "capi" support in wine build( Mageia settings - oss too old, capi disabled) - simplify "chrpath"
Well, thank you for all this work. Assigning to tv who normally deals with Wine; CC'ing papoteur who pt up v9.0.
CC: (none) => yvesbrungardAssignee: bugsquad => thierry.vignaud