wine-9.0_1,1 still broken, after running winecfg I get this: $ winecfg 0024:fixme:ntdll:create_logical_proc_info stub 0024:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002. 002c:fixme:ntdll:create_logical_proc_info stub 002c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002. wine: failed to open L"C:\\windows\\system32\\wineboot.exe": c0000135 0024:err:environ:run_wineboot failed to start wineboot c0000135 0034:fixme:ntdll:create_logical_proc_info stub 0034:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002. wine: failed to open L"C:\\windows\\system32\\conhost.exe": c0000135 003c:fixme:ntdll:create_logical_proc_info stub 003c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002. 003c:err:module:import_dll Library coml2.dll (which is needed by L"C:\\windows\\syswow64\\ole32.dll") not found 003c:err:module:import_dll Library ole32.dll (which is needed by L"C:\\windows\\syswow64\\winecfg.exe") not found 003c:err:module:import_dll Library coml2.dll (which is needed by L"C:\\windows\\syswow64\\ole32.dll") not found 003c:err:module:import_dll Library ole32.dll (which is needed by L"C:\\windows\\syswow64\\winmm.dll") not found 003c:err:module:import_dll Library winmm.dll (which is needed by L"C:\\windows\\syswow64\\winecfg.exe") not found 003c:err:module:loader_init Importing dlls for L"C:\\windows\\syswow64\\winecfg.exe" failed, status c0000135
> wine-9.0_1,1 still broken, after running winecfg I get this Yes, but this is not the current revision, but the previous one. And the change from 9.0_1,1 to 9.0_2,1 specifically was meant to address the kind of issue you are reporting. Can you please test against that?
(In reply to Gerald Pfeifer from comment #1) Using pkg to install and not ports, that's the latest revision available, I just have to wait a little more for the package to become available.
(In reply to Gerald Pfeifer from comment #1) I think I have the same error. $ pkg info -E wine wine-9.0_2,1 built from ports. Full error here: https://pastebin.com/NcbEcppi
Does the patch from https://github.com/shkhln/freebsd-wine/blob/636364c3dbd1b7cfec3d78a810b925a6666f738c/emulators/wine-devel/files/patch-include-wine-asm.h make a difference?
(In reply to Gerald Pfeifer from comment #4) That's the output after rebuilding the port with the patch. $ winecfg 0024:fixme:ntdll:create_logical_proc_info stub 0024:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002. 002c:fixme:ntdll:create_logical_proc_info stub 002c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002. 002c:err:module:import_dll Library ucrtbase.dll (which is needed by L"C:\\windows\\system32\\sechost.dll") not found 002c:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") not found 002c:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\wineboot.exe") not found 002c:err:module:import_dll Library ucrtbase.dll (which is needed by L"C:\\windows\\system32\\wineboot.exe") not found 002c:err:module:import_dll Library ucrtbase.dll (which is needed by L"C:\\windows\\system32\\ws2_32.dll") not found 002c:err:module:import_dll Library ws2_32.dll (which is needed by L"C:\\windows\\system32\\wineboot.exe") not found 002c:err:module:loader_init Importing dlls for L"C:\\windows\\system32\\wineboot.exe" failed, status c0000135 0024:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") not found 0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\shell32.dll") not found 0024:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") not found 0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found 0024:err:module:import_dll Library ucrtbase.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found 0024:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") not found 0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library ucrtbase.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library win32u.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library user32.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found 0024:err:module:import_dll Library win32u.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found 0024:err:module:import_dll Library gdi32.dll (which is needed by L"C:\\windows\\system32\\shell32.dll") not found 0024:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") not found 0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\shlwapi.dll") not found 0024:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") not found 0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found 0024:err:module:import_dll Library ucrtbase.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found 0024:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") not found 0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library ucrtbase.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library win32u.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library user32.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found 0024:err:module:import_dll Library win32u.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found 0024:err:module:import_dll Library gdi32.dll (which is needed by L"C:\\windows\\system32\\shlwapi.dll") not found 0024:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") not found 0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\shcore.dll") not found 0024:err:module:import_dll Library ucrtbase.dll (which is needed by L"C:\\windows\\system32\\shcore.dll") not found 0024:err:module:import_dll Library shcore.dll (which is needed by L"C:\\windows\\system32\\shlwapi.dll") not found 0024:err:module:import_dll Library ucrtbase.dll (which is needed by L"C:\\windows\\system32\\shlwapi.dll") not found 0024:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") not found 0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") not found 0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found 0024:err:module:import_dll Library ucrtbase.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found 0024:err:module:import_dll Library win32u.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found 0024:err:module:import_dll Library gdi32.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library ucrtbase.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library win32u.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library user32.dll (which is needed by L"C:\\windows\\system32\\shlwapi.dll") not found 0024:err:module:import_dll Library shlwapi.dll (which is needed by L"C:\\windows\\system32\\shell32.dll") not found 0024:err:module:import_dll Library ucrtbase.dll (which is needed by L"C:\\windows\\system32\\shell32.dll") not found 0024:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") not found 0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") not found 0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found 0024:err:module:import_dll Library ucrtbase.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found 0024:err:module:import_dll Library win32u.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found 0024:err:module:import_dll Library gdi32.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library ucrtbase.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library win32u.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library user32.dll (which is needed by L"C:\\windows\\system32\\shell32.dll") not found 0024:err:module:import_dll Library shell32.dll (which is needed by L"C:\\windows\\system32\\start.exe") not found 0024:err:module:import_dll Library ucrtbase.dll (which is needed by L"C:\\windows\\system32\\start.exe") not found 0024:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") not found 0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") not found 0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found 0024:err:module:import_dll Library ucrtbase.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found 0024:err:module:import_dll Library win32u.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found 0024:err:module:import_dll Library gdi32.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library sechost.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library ucrtbase.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library win32u.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found 0024:err:module:import_dll Library user32.dll (which is needed by L"C:\\windows\\system32\\start.exe") not found 0024:err:module:loader_init Importing dlls for L"C:\\windows\\system32\\start.exe" failed, status c0000135
I run winecfg after renaming ~/.wine and it starts!
So I guess I should do the same rebuilding it again without patch...
(In reply to Ale from comment #7) > So I guess I should do the same rebuilding it again without patch... That would be great - and if you could summarize your findings of what works and what does not so that we can document it and/or see to make code changes.
(In reply to Gerald Pfeifer from comment #8) It also works after rebuilding it without the patch. I'm not a great wine user...probably it was not working because my ~/.wine date back to when the version in ports was the 32bit binary (?, if I remember correctly), so probably I'm not the best tester. I was just using it to test firefox+flash (useless nowadays) and to sometimes to play Quake2. Quake2 still starts but it often crashes (and it seems replicable), while on the 32bit version, as far as I can remember, it crashed just a couple of time while playing it from the beginning to the end. Let me know If you are interested in detail about the crash.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=633d97fca5a4ed540893468f4fbbdc29715b0ca1 commit 633d97fca5a4ed540893468f4fbbdc29715b0ca1 Author: Gerald Pfeifer <gerald@FreeBSD.org> AuthorDate: 2024-07-02 09:01:32 +0000 Commit: Gerald Pfeifer <gerald@FreeBSD.org> CommitDate: 2024-07-02 09:03:14 +0000 emulators/wine: Add a trouble shooting note to pkg-message PR: 279015 emulators/wine/files/pkg-message.in | 3 +++ 1 file changed, 3 insertions(+)
(In reply to Ale from comment #9) > I'm not a great wine user...probably it was not working because > my ~/.wine date back to when the version in ports was the 32bit > binary (?, if I remember correctly) This is a good point; I just added a note to the pkg-message of the port. Please advise if some different wording would have helped you. > Let me know If you are interested in detail about the crash. I wouldn't be able to do anything with it, realistically. Also Wine on FreeBSD adds a level of trickiness to Wine on Linux (which is already quite a tricky feat).