Bug 279015 - emulators/wine version 9.0_1,1 broken
Summary: emulators/wine version 9.0_1,1 broken
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Gerald Pfeifer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-15 21:52 UTC by Eduardo C.
Modified: 2024-07-02 09:22 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eduardo C. 2024-05-15 21:52:47 UTC
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
Comment 1 Gerald Pfeifer freebsd_committer freebsd_triage 2024-05-17 13:24:29 UTC
> 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?
Comment 2 Eduardo C. 2024-05-17 23:08:10 UTC
(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.
Comment 3 Ale 2024-05-18 03:55:57 UTC
(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
Comment 5 Ale 2024-06-30 15:07:58 UTC
(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
Comment 6 Ale 2024-06-30 15:12:44 UTC
I run winecfg after renaming ~/.wine and it starts!
Comment 7 Ale 2024-06-30 15:13:29 UTC
So I guess I should do the same rebuilding it again without patch...
Comment 8 Gerald Pfeifer freebsd_committer freebsd_triage 2024-06-30 21:09:15 UTC
(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.
Comment 9 Ale 2024-07-01 17:29:45 UTC
(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.
Comment 10 commit-hook freebsd_committer freebsd_triage 2024-07-02 09:04:25 UTC
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(+)
Comment 11 Gerald Pfeifer freebsd_committer freebsd_triage 2024-07-02 09:22:18 UTC
(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).