MIvanchev / static-wine32

A Docker recipe for building a statically compiled 32-bit Wine for x86_64
BSD 3-Clause "New" or "Revised" License
71 stars 3 forks source link

Support of Ubuntu Noble 24.04 #13

Open tirolerstefan opened 5 months ago

tirolerstefan commented 5 months ago

I have tested a build using the 24.04 base image and it looks promising. I will create a PR.

MIvanchev commented 5 months ago

Good work @tirolerstefan, did you test the resulting Wine? I'll check out the GLIBC version and go for a newer image. Usually it makes some sense to be compatible to older GLIBC versions but maybe we can add some mechanism to select it. I see also you added --break-system-packages so maybe I can just switch to the system packages :smile:.

tirolerstefan commented 4 months ago

Hi, I only had time to test whether it returns an output.

./bin/wine
Usage: wine PROGRAM [ARGUMENTS...]   Run the specified program
       wine --help                   Display this help and exit
       wine --version                Output version information and exit
tirolerstefan commented 4 months ago

I see also you added --break-system-packages so maybe I can just switch to the system packages 😄.

Yes, if those packages are available, you should. I only did this the short way to get it running.

tirolerstefan commented 4 months ago

Ok, there seems to be missing something:

$ winecfg
wine: created the configuration directory '/home/test/.wine'
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
004c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
004c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
004c:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
004c:err:systray:initialize_systray Could not create tray window
004c:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
004c:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
004c:err:ole:apartment_get_local_server_stream Failed: 0x80004002
002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
002c:err:winediag:nodrv_CreateWindow L"The graphics driver is missing. Check your build!"
0054:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0054:err:winediag:nodrv_CreateWindow L"The graphics driver is missing. Check your build!"
0054:err:ole:apartment_createwindowifneeded CreateWindow failed with error 3
0054:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0054:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007
0054:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x800736b7
0054:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x800736b7
0054:err:ole:apartment_get_local_server_stream Failed: 0x800736b7
0054:err:ole:start_rpcss Failed to open RpcSs service
0044:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0044:err:winediag:nodrv_CreateWindow L"The graphics driver is missing. Check your build!"
0090:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0090:err:winediag:nodrv_CreateWindow L"The graphics driver is missing. Check your build!"
0090:err:module:import_dll Library winspool.drv (which is needed by L"C:\\windows\\system32\\comdlg32.dll") not found
0090:err:module:import_dll Library comdlg32.dll (which is needed by L"C:\\windows\\system32\\cryptui.dll") not found
0090:err:module:import_dll Library cryptui.dll (which is needed by L"C:\\windows\\system32\\cryptdlg.dll") not found
0098:err:module:import_dll Library winspool.drv (which is needed by L"C:\\windows\\system32\\comdlg32.dll") not found
0098:err:module:import_dll Library comdlg32.dll (which is needed by L"C:\\windows\\system32\\appwiz.cpl") not found
0090:err:module:import_dll Library winspool.drv (which is needed by L"C:\\windows\\system32\\spool\\prtprocs\\w32x86\\wineps.drv") not found
0090:err:module:import_dll Library winspool.drv (which is needed by L"C:\\windows\\system32\\spool\\prtprocs\\w32x86\\winprint.dll") not found
wine: configuration in L"/home/test/.wine" has been updated.
0134:err:module:import_dll Library winspool.drv (which is needed by L"C:\\windows\\system32\\comdlg32.dll") not found
0134:err:module:import_dll Library comdlg32.dll (which is needed by L"C:\\windows\\system32\\winecfg.exe") not found
0134:err:module:loader_init Importing dlls for L"C:\\windows\\system32\\winecfg.exe" failed, status c0000135
MIvanchev commented 4 months ago

This is expected because your server probably doesn't have X11 running so winedbg cannot start a window.