https://bugs.winehq.org/show_bug.cgi?id=53848
Bug ID: 53848 Summary: wine: Bad CPU type in executable (Apple Silicon M1) Product: Wine-staging Version: 7.19 Hardware: aarch64 OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: b1779506@trbvn.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
user@users-Apple-M1 ~ % brew tap homebrew/cask-versions
Running `brew update --auto-update`... ==> Auto-updated Homebrew! Updated 2 taps (homebrew/core and homebrew/cask). ==> New Casks anytype
==> Tapping homebrew/cask-versions Cloning into '/opt/homebrew/Library/Taps/homebrew/homebrew-cask-versions'... remote: Enumerating objects: 250611, done. remote: Counting objects: 100% (250611/250611), done. remote: Compressing objects: 100% (76523/76523), done. remote: Total 250611 (delta 173598), reused 250577 (delta 173577), pack-reused Receiving objects: 100% (250611/250611), 64.00 MiB | 3.71 MiB/s, done. Resolving deltas: 100% (173598/173598), done. Tapped 230 casks (261 files, 71MB). user@users-Apple-M1 ~ % brew install --cask --no-quarantine wine-staging ==> Caveats wine-staging supports both 32-bit and 64-bit. It is compatible with an existing 32-bit wine prefix, but it will now default to 64-bit when you create a new wine prefix. The architecture can be selected using the WINEARCH environment variable which can be set to either win32 or win64.
To create a new pure 32-bit prefix, you can run: $ WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
See the Wine FAQ for details: https://wiki.winehq.org/FAQ#Wineprefixes
==> Downloading https://github.com/Gcenx/macOS_Wine_builds/releases/download/7.1 ==> Downloading from https://objects.githubusercontent.com/github-production-rel ######################################################################## 100.0% ==> Installing Cask wine-staging Warning: macOS's Gatekeeper has been disabled for this Cask ==> Moving App 'Wine Staging.app' to '/Applications/Wine Staging.app' ==> Linking Binary 'appdb' to '/opt/homebrew/bin/appdb' ==> Linking Binary 'winehelp' to '/opt/homebrew/bin/winehelp' ==> Linking Binary 'msiexec' to '/opt/homebrew/bin/msiexec' ==> Linking Binary 'notepad' to '/opt/homebrew/bin/notepad' ==> Linking Binary 'regedit' to '/opt/homebrew/bin/regedit' ==> Linking Binary 'regsvr32' to '/opt/homebrew/bin/regsvr32' ==> Linking Binary 'wine' to '/opt/homebrew/bin/wine' ==> Linking Binary 'wine64' to '/opt/homebrew/bin/wine64' ==> Linking Binary 'wineboot' to '/opt/homebrew/bin/wineboot' ==> Linking Binary 'winecfg' to '/opt/homebrew/bin/winecfg' ==> Linking Binary 'wineconsole' to '/opt/homebrew/bin/wineconsole' ==> Linking Binary 'winedbg' to '/opt/homebrew/bin/winedbg' ==> Linking Binary 'winefile' to '/opt/homebrew/bin/winefile' ==> Linking Binary 'winemine' to '/opt/homebrew/bin/winemine' ==> Linking Binary 'winepath' to '/opt/homebrew/bin/winepath' ==> Linking Binary 'wineserver' to '/opt/homebrew/bin/wineserver' ???? wine-staging was successfully installed! user@users-Apple-M1 ~ % winecfg /opt/homebrew/bin/winecfg: line 46: /opt/homebrew/bin/wine: Bad CPU type in executable /opt/homebrew/bin/winecfg: line 46: /opt/homebrew/bin/wine: Undefined error: 0 user@users-Apple-M1 ~ % wine --version zsh: bad CPU type in executable: wine user@users-Apple-M1 ~ % wine zsh: bad CPU type in executable: wine user@users-Apple-M1 ~ % brew list --versions|grep wine wine-staging 7.19
https://bugs.winehq.org/show_bug.cgi?id=53848
Otto b1779506@trbvn.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS|Linux |Mac OS X
https://bugs.winehq.org/show_bug.cgi?id=53848
Otto b1779506@trbvn.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P1
--- Comment #1 from Otto b1779506@trbvn.com --- Instructions according to: https://wiki.winehq.org/MacOS
https://bugs.winehq.org/show_bug.cgi?id=53848
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=53848
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID CC| |dark.shadow4@web.de Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Not an export on macOS, but I'm pretty sure those builds are x86. You can try running them with Rosetta 2.
I don't see a bug here, the forums can help with user support though!
https://bugs.winehq.org/show_bug.cgi?id=53848
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Gijs Vermeulen gijsvrm@gmail.com --- Closing INVALID.