Gcenx / macports-wine

Updated wine Portfiles for macports
88 stars 11 forks source link

Game launches with prebuilt `wine-devel-8.21`, but crashes with self-built one #102

Closed ZeppLu closed 7 months ago

ZeppLu commented 7 months ago

There is a game comming with its own launcher, when using prebuilt wine-8.21, it runs all the way to license agreement dialog. However, when using wine-8.21 built by this overlay and GitHub Actions, the program just crashes. I wonder if these is anything missing in the Portfile?

Steps to reproduce

  1. Download the game launcher from here (~1.9 MiB)
  2. Use the wine offered by you, a launcher window should appear with a modal dialog after progress bar finished, you may click the button on the right to dismiss and quit image
  3. Change $PATH and $WINEPREFIX to use the wine built by macports, instead a wine debugger would show up after progress bar finished, complaining access violation

Additional info

When building wine, I use commit 585ac78f3e921fad403a81ba9eca21466a5029dd since the latest overlay builds wine 9.0-rc.

And my macOS system info:

~ sw_vers 
ProductName:            macOS
ProductVersion:         14.1.2
BuildVersion:           23B92
~ uname -a
Darwin zepps-MacBook-Air.local 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct  9 21:27:27 PDT 2023; root:xnu-10002.41.9~6/RELEASE_X86_64 x86_64
~ machine 
x86_64h
Gcenx commented 7 months ago

The prebuilt packages contain some additional patchsets to workaround Rosetta2 bugs, where as this overlay builds wine without hacks additional hacks.

ZeppLu commented 7 months ago

The prebuilt packages contain some additional patchsets to workaround Rosetta2 bugs

I'm afraid the rosetta thing is not related here, since I'm running on a x86_64 system. Or those patches affect more than just rosetta? It'll be helpful if you can disclose some possible patches to fix these kind of problems.

Gcenx commented 7 months ago

I'm afraid the rosetta thing is not related here, since I'm running on a x86_64 system. Or those patches affect more than just rosetta?

It’s entirely possible some of those hacks helped.

It'll be helpful if you can disclose some possible patches to fix these kind of problems.

These patchsets are outright hacks so can’t be upstreamed, Julliard agreed to my applying them simply to make wine function under Rosetta2.

I’d not requested permission to provide them publicly

ZeppLu commented 7 months ago

Well that makes sense. Since this bug is not related to rosetta or downstream packaging, I think the place to discuss it should be wine bugzilla instead.