Game porting toolkit build error

I followed the instruction from this page

https://www.applegamingwiki.com/wiki/Game_Porting_Toolkit#Game_compatibility_list

to install the toolkit. Everything worked fine until I ran the command brew -v install apple/apple/game-porting-toolkit. It threw the following error:

Error: apple/apple/game-porting-toolkit 1.0 did not build
Logs:
     /Users/user_name/Library/Logs/Homebrew/game-porting-toolkit/00.options.out
     /Users/user_name/Library/Logs/Homebrew/game-porting-toolkit/wine64-build
     /Users/user_name/Library/Logs/Homebrew/game-porting-toolkit/01.configure.cc
     /Users/user_name/Library/Logs/Homebrew/game-porting-toolkit/02.make.cc
     /Users/user_name/Library/Logs/Homebrew/game-porting-toolkit/01.configure
     /Users/user_name/Library/Logs/Homebrew/game-porting-toolkit/02.make
Do not report this issue to Homebrew/brew or Homebrew/homebrew-core!


Error: You are using macOS 14.
We do not provide support for this pre-release version.
It is expected behaviour that some formulae will fail to build in this pre-release version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

Did anyone have the same issue and found a fix for it?

At least in my case I think it's because of malware since Avast antivirus detects it and deletes it but it may also be that the most recent GitHub file is not being used and that the command believes that it is the most recent but I have no idea the same error happens to me and I still can't solve it but I think it may be one of those things that causes

I am having the exact same issue. I have no idea what is happening. Initially I thought it was because of the new version of game porting toolkit, but you were using the original version, so I don't think that is the issue. Let me know if you find a solution.

Same issue here. Can't get the toolkit installed. Using latest 1.0.2 version:

Error: apple/apple/game-porting-toolkit 1.0.2 did not build
Logs:
     /Users/user_name/Library/Logs/Homebrew/game-porting-toolkit/00.options.out
     /Users/user_name/Library/Logs/Homebrew/game-porting-toolkit/wine64-build
     /Users/user_name/Library/Logs/Homebrew/game-porting-toolkit/01.configure.cc
     /Users/user_name/Library/Logs/Homebrew/game-porting-toolkit/02.make.cc
     /Users/user_name/Library/Logs/Homebrew/game-porting-toolkit/01.configure
     /Users/user_name/Library/Logs/Homebrew/game-porting-toolkit/02.make
Do not report this issue to Homebrew/brew or Homebrew/homebrew-core!


Error: You are using macOS 14.
We do not provide support for this pre-release version.
It is expected behaviour that some formulae will fail to build in this pre-release version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

Same here. If you scroll a few screens upwards in the log outputs, you see the/one reason:

_
ld: unknown options: -segaddr 
clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [loader/wine64-preloader] Error 1
make: *** Waiting for unfinished jobs...._

and further up...

_-macosx_version_min has been renamed to -macos_version_min
ld: warning: ignoring duplicate library '-lSystem'
-macosx_version_min has been renamed to -macos_version_min
ld: warning: ignoring duplicate library '-lSystem'
-macosx_version_min has been renamed to -macos_version_min
ld: warning: ignoring duplicate library '-lSystem'_

so anyone with a clue of how to work around this - pls. post your hints...

Seeing exact same issue here as well on M1 Max using Ventura 13.4.1, trying to install update 1.0.2.

I have files a bug report using the official link they give inside the toolkit at http://feedbackssistnt.apple.com as it actually has an entry for the game porting toolkit. However, I don’t know if that will get any faster response on the issue. There doesn’t seem to be defacto standard way in uninstalling the toolkit however I game it a try by removing brew, and the searching for anything with game porting toolkit related files and directories, being careful,to avoid removing any brew stuff related to the default install with the os.

after spending 2 full days on trying to fix this, I guess I’m in a holding pattern with everyone else until teh fix or new version comes out that rememwdies this. In the meantime, zero m1 gaming.

I'm having the exact same issue on a fresh install of Sonoma Beta3 with Command Line Tools for Xcode 15Beta3 ...

Tap: apple/apple
Path: /usr/local/Homebrew/Library/Taps/apple/homebrew-apple/Formula/game-porting-toolkit.rb
==> Configuration
HOMEBREW_VERSION: 4.0.28
ORIGIN: https://github.com/Homebrew/brew
HEAD: 2b4cfb033757b63ab0b128d01c58db76480956f9
Last commit: 2 days ago
Core tap JSON: 08 Jul 01:36 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit westmere
Clang: 15.0.0 build 1500
Git: 2.39.2 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 8.1.2 => /usr/bin/curl
macOS: 14.0-x86_64
CLT: 15.0.0.0.1.1688363443
Xcode: 15.0 => /Applications/Xcode-beta.app/Contents/Developer
Rosetta 2: true

Any help would be welcome!

Same here. macOS 14 beta3 with GPT 1.0.2.
Running the command brew -v install apple/apple/game-porting-toolkit, and encountered the error below.

-macosx_version_min has been renamed to -macos_version_min
ld: warning: ignoring duplicate library '-lSystem'
-macosx_version_min has been renamed to -macos_version_min
ld: warning: ignoring duplicate library '-lSystem'
/usr/local/opt/game-porting-toolkit-compiler/bin/clang -m64 -o loader/wine64-preloader loader/preloader.o loader/preloader_mac.o -Wl,-no_pie -mmacosx-version-min=10.7 \
  -nostartfiles -nodefaultlibs -e _start -ldylib1.o \
  -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000 \
  -L/usr/local/opt/zlib/lib -L/usr/local/opt/freetype/lib -L/usr/local/opt/sdl2/lib -L/usr/local/opt/libgphoto2/lib -L/usr/local/opt/faudio/lib -L/usr/local/opt/jpeg/lib -L/usr/local/opt/libpng/lib -L/usr/local/opt/mpg123/lib -L/usr/local/opt/libtiff/lib -L/usr/local/opt/libgsm/lib -L/usr/local/opt/glib/lib -L/usr/local/opt/gnutls/lib -L/usr/local/opt/libusb/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sane-backends/lib -lSystem -L/usr/local/lib -Wl,-rpath,/usr/local/lib -Wl,-rpath,@executable_path/../lib/external
-macosx_version_min has been renamed to -macos_version_min
ld: unknown options: -segaddr 
clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [loader/wine64-preloader] Error 1
make: *** Waiting for unfinished jobs....
...
Error: apple/apple/game-porting-toolkit 1.0.2 did not build
Logs:
     /Users/kevin/Library/Logs/Homebrew/game-porting-toolkit/00.options.out
     /Users/kevin/Library/Logs/Homebrew/game-porting-toolkit/wine64-build
     /Users/kevin/Library/Logs/Homebrew/game-porting-toolkit/01.configure.cc
     /Users/kevin/Library/Logs/Homebrew/game-porting-toolkit/02.make.cc
     /Users/kevin/Library/Logs/Homebrew/game-porting-toolkit/01.configure
     /Users/kevin/Library/Logs/Homebrew/game-porting-toolkit/02.make
Do not report this issue to Homebrew/brew or Homebrew/homebrew-core!

I'm having the same issue...

Try downgrading to Xcode Beta 2, install it, reboot, and start installation process again under proper shell.

I encountered the same error "apple/apple/game-porting-toolkit 1.0.2 did not build" while attempting to build it using the guide provided by applegamingwiki for the apple porting toolkit. However, I managed to resolve the issue by following these steps:

  1. Delete the appstore Xcode and beta 3 Xcode.
  2. Uninstall the beta 3 Xcode command line tools.
  3. Install beta 2 Xcode along with the corresponding command line tools.
  4. Remember to restart your system after completing the installation.

By following these steps, I was able to successfully overcome the error and proceed with the build process.

10

Anyone tested the newer Xcode Beta 4 for compiling/installing the game porting kit? Still as buggy as Beta 3 in that regard or does that work now?

Still seems to be broken on Xcode/tools beta 4.

'Command Line Tools for Xcode 15 beta 4' has the same issue. Downgrading to Beta 2 circumvents the errors installing version 1.0.2. I'm on Sonoma 14.0 beta 3 update/build 23A5286i July 11th public beta release.

I found the problem. we need serious update in brew with arm64_86.zsh.

Downgrading to Beta 2 did not help for me. Running Sonoma 14.0 on a M1 Max w/ 64GB RAM. Here is the error message :

Error: apple/apple/game-porting-toolkit-compiler 0.1 did not build
Logs:
     /Users/user-name/Library/Logs/Homebrew/game-porting-toolkit-compiler/02.cmake.cc
     /Users/user-name/Library/Logs/Homebrew/game-porting-toolkit-compiler/00.options.out
     /Users/user-name/Library/Logs/Homebrew/game-porting-toolkit-compiler/clang-build
     /Users/user-name/Library/Logs/Homebrew/game-porting-toolkit-compiler/02.cmake
     /Users/user-name/Library/Logs/Homebrew/game-porting-toolkit-compiler/01.tar
Do not report this issue to Homebrew/brew or Homebrew/homebrew-core!


Error: You are using macOS 14.
We do not provide support for this pre-release version.
It is expected behaviour that some formulae will fail to build in this pre-release version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.
Game porting toolkit build error
 
 
Q