wineboot --init fails on Alpine 3.14.0, 3.14.1, and 3.14.2
To reproduce the issue using Docker:
docker run -it alpine:3.14.0 sh -c 'apk add freetype ncurses wine && wineboot --init ; echo "EXIT: $?"'
With alpine 3.14.0, 3.14.1, and 3.14.2, the output ends with this failure:
wine: created the configuration directory '/root/.wine'
002c:err:module:DelayLoadFailureHook failed to delay load user32.dll.CreateDialogParamW
wine: Call from 000000007B0368EF to unimplemented function user32.dll.CreateDialogParamW, aborting
wine: Unimplemented function user32.dll.CreateDialogParamW called at address 000000007B0368EF (thread 002c), starting debugger...
0040:err:module:LdrInitializeThunk "gdi32.dll" failed to initialize, aborting
0040:err:module:LdrInitializeThunk Initializing dlls for L"C:\\windows\\system32\\rundll32.exe" failed, status c0000005
002c:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 40 68" (2)
Read the Wine Developers Guide on how to set up winedbg or another debugger
0048:err:module:LdrInitializeThunk "gdi32.dll" failed to initialize, aborting
0048:err:module:LdrInitializeThunk Initializing dlls for L"C:\\windows\\system32\\conhost.exe" failed, status c0000005
0024:err:module:DelayLoadFailureHook failed to delay load shell32.dll.SHGetFolderPathW
wine: Call from 000000007B0368EF to unimplemented function shell32.dll.SHGetFolderPathW, aborting
wine: Unimplemented function shell32.dll.SHGetFolderPathW called at address 000000007B0368EF (thread 0024), starting debugger...
0024:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 32 92" (2)
Read the Wine Developers Guide on how to set up winedbg or another debugger
EXIT: 1
with alpine 3.13.5, the command succeeds with this output:
wine: created the configuration directory '/root/.wine'
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0014:err:ole:get_local_server_stream Failed: 80004002
0012:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0012:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0012:err:ole:apartment_createwindowifneeded CreateWindow failed with error 183
0012:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x800736b7
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 800736b7
0012:err:ole:get_local_server_stream Failed: 800736b7
0010:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0010:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
000b:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
000b:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0010:err:winediag:gnutls_initialize failed to load libgnutls, no support for encryption
0016:err:winediag:gnutls_initialize failed to load libgnutls, no support for encryption
0016:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0016:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0018:err:winediag:gnutls_initialize failed to load libgnutls, no support for encryption
0018:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0018:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/root/.wine' has been updated.
EXIT: 0