https://bugs.winehq.org/show_bug.cgi?id=52773
Bug ID: 52773 Summary: winwprefix is not to ready to use after running wineboot Product: Wine Version: 7.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: ralf.habacker@freenet.de Distribution: ---
Created attachment 72145 --> https://bugs.winehq.org/attachment.cgi?id=72145 Wine 7.5 related log file showing the issue
On building a package in a qemu-kvm environment wine 7.5 shows an unusual behavior compared with older wine versions, when running winboot to initialize a wine prefix followed by running wintricks to change wine settings.
With wine 6.0, which is working, there is printed (wineboot is started without a display to avoid showing any gui dialog)
[ 211s] ++ command -v wineboot [ 211s] ++ test -n /home/abuild/.mingw32-cross-wine [ 211s] ++ test -d /home/abuild/.mingw32-cross-wine [ 211s] ++ wineboot -fi [ 211s] wine: created the configuration directory '/home/abuild/.mingw32-cross-wine' [ 211s] 0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\.\DISPLAY1". [ 211s] 0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002 [ 211s] 0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002 [ 211s] 0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002 [ 211s] 002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 211s] 002c:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. [ 211s] 0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 211s] 0050:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. [ 211s] 0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0 [ 211s] 0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0 [ 211s] 0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007 [ 211s] 0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x800736b7 [ 211s] 0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x800736b7 [ 211s] 0050:err:ole:apartment_get_local_server_stream Failed: 0x800736b7 [ 211s] 0050:err:ole:start_rpcss Failed to open RpcSs service [ 211s] 0040:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 211s] 0040:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. [ 213s] 0060:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 213s] 0060:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. [ 213s] 0068:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 213s] 0068:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. [ 213s] Could not find Wine Gecko. HTML rendering will be disabled. [ 214s] wine: configuration in L"/home/abuild/.mingw32-cross-wine" has been updated.
Then winetricks is called to change settings
[ 214s] ++ winetricks nocrashdialog autostart_winedbg=disabled [ 214s] ------------------------------------------------------ [ 214s] winetricks latest version check update disabled [ 214s] ------------------------------------------------------ [ 214s] Executing mkdir -p /home/abuild [ 215s] Using winetricks 20210206-next - sha256sum: 57ff30bced6c84e79932d5d98993a6361f12331b3a33f51cc1e65d8c9af2656c with wine-6.0 and WINEARCH=win32 [ 216s] Executing w_do_call nocrashdialog [ 216s] Executing mkdir -p /home/abuild [ 216s] Executing load_nocrashdialog [ 216s] Disabling graphical crash dialog [ 216s] Executing cd /home/abuild/.mingw32-cross-wine/dosdevices/c:/windows/temp [ 216s] Executing wine regedit crashdialog.reg [ 216s] Using override for following DLLs: autostart_winedbg [ 216s] Executing wine regedit C:\windows\Temp_disabled\override-dll.reg
This works out of the box.
Processing the same with wine-7.5 shows
[ 154s] ++ wineboot -fi [ 154s] wine: created the configuration directory '/home/abuild/.mingw32-cross-wine' [ 154s] 002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) [ 154s] 0048:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) [ 154s] 0050:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) [ 154s] 0048:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 154s] 0048:err:winediag:nodrv_CreateWindow L"The explorer process failed to start." [ 154s] 0048:err:systray:initialize_systray Could not create tray window [ 154s] 0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002 [ 154s] 0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002 [ 154s] 0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002 [ 154s] 002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 154s] 002c:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly." [ 154s] 0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 154s] 0050:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly." [ 154s] 0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 3 [ 154s] 0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0 [ 154s] 0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007 [ 154s] 0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x800736b7 [ 154s] 0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x800736b7 [ 154s] 0050:err:ole:apartment_get_local_server_stream Failed: 0x800736b7 [ 154s] 0050:err:ole:start_rpcss Failed to open RpcSs service [ 154s] 0040:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 154s] 0040:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly." [ 154s] 0084:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 154s] 0084:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly." [ 156s] 008c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 156s] 008c:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly." [ 157s] wine: configuration in L"/home/abuild/.mingw32-cross-wine" has been updated.
To this point nothing is different
[ 157s] ++ winetricks nocrashdialog autostart_winedbg=disabled [ 157s] ------------------------------------------------------ [ 157s] winetricks latest version check update disabled [ 157s] ------------------------------------------------------ [ 157s] Executing mkdir -p /home/abuild [ 158s] grep: /home/abuild/.mingw32-cross-wine/*.reg: No such file or directory [ 158s] ------------------------------------------------------
The issue is, that the newly created wine prefix is not ready for usage.
[ 158s] WINEPREFIX INFO: [ 158s] Drive C: total 24 [ 158s] drwxr-xr-x 6 abuild abuild 4096 Apr 4 22:11 . [ 158s] drwxr-xr-x 4 abuild abuild 4096 Apr 4 22:11 .. [ 158s] drwxr-xr-x 6 abuild abuild 4096 Apr 4 22:11 Program Files [ 158s] drwxr-xr-x 3 abuild abuild 4096 Apr 4 22:11 ProgramData [ 158s] drwxr-xr-x 4 abuild abuild 4096 Apr 4 22:11 users [ 158s] drwxr-xr-x 16 abuild abuild 4096 Apr 4 22:11 windows [ 158s] [ 158s] Registry info: [ 158s] /home/abuild/.mingw32-cross-wine/*.reg: [ 158s] ------------------------------------------------------ [ 158s] ------------------------------------------------------ [ 158s] warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message "" [ 158s] ------------------------------------------------------