Having problems with the game porting toolkit

So I'm installing the toolkit but during the process the terminal just gives me this:

Last 15 lines from /Users/quiqu/Library/Logs/Homebrew/game-porting-toolkit/01.configure: --enable-win64 --with-gnutls --with-freetype --with-gstreamer CC=/usr/local/opt/game-porting-toolkit-compiler/bin/clang CXX=/usr/local/opt/game-porting-toolkit-compiler/bin/clang++

checking build system type... x86_64-apple-darwin23.5.0 checking host system type... x86_64-apple-darwin23.5.0 checking whether make sets $(MAKE)... yes checking for gcc... /usr/local/opt/game-porting-toolkit-compiler/bin/clang checking whether the C compiler works... no configure: error: in /private/tmp/game-porting-toolkit-20240928-16869-7g5o5t/wine64-build': configure: error: C compiler cannot create executables See config.log' for more details

If reporting this issue please do so to (not Homebrew/brew or Homebrew/homebrew-core): apple/apple

quiqu@Quiques-Laptop ~ %

  • please if someone could help I have a tournament this weekend and I need this to work

I have the same issue. Found config.log here:

~/Library/Logs/Homebrew/game-porting-toolkit/wine64-build

log:


InstalledDir: /Users/user/homebrew/opt/game-porting-toolkit-compiler/bin
configure:5077: $? = 0
configure:5066: /Users/user/homebrew/opt/game-porting-toolkit-compiler/bin/clang -V >&5
clang-8: error: argument to '-V' is missing (expected 1 value)
clang-8: error: no input files
configure:5077: $? = 1
configure:5066: /Users/user/homebrew/opt/game-porting-toolkit-compiler/bin/clang -qversion >&5
clang-8: error: unknown argument '-qversion', did you mean '--version'?
clang-8: error: no input files
configure:5077: $? = 1
configure:5066: /Users/user/homebrew/opt/game-porting-toolkit-compiler/bin/clang -version >&5
clang-8: error: unknown argument '-version', did you mean '--version'?
clang-8: error: no input files
configure:5077: $? = 1
configure:5097: checking whether the C compiler works
configure:5119: /Users/user/homebrew/opt/game-porting-toolkit-compiler/bin/clang -I/Users/user/homebrew/opt/zlib/include -I/Users/user/homebrew/opt/freetype/include -I/Users/user/homebrew/opt/sdl2/include -I/Users/user/homebrew/opt/libgphoto2/include -I/Users/user/homebrew/opt/faudio/include -I/Users/user/homebrew/opt/jpeg/include -I/Users/user/homebrew/opt/libpng/include -I/Users/user/homebrew/opt/mpg123/include -I/Users/user/homebrew/opt/libtiff/include -I/Users/user/homebrew/opt/libgsm/include -I/Users/user/homebrew/opt/glib/include -I/Users/user/homebrew/opt/gnutls/include -I/Users/user/homebrew/opt/libusb/include -I/Users/user/homebrew/opt/gettext/include -I/Users/user/homebrew/opt/openssl@1.1/include -I/Users/user/homebrew/opt/sane-backends/include -O3 -Wno-implicit-function-declaration -Wno-format -Wno-deprecated-declarations -Wno-incompatible-pointer-types  -L/Users/user/homebrew/opt/zlib/lib -L/Users/user/homebrew/opt/freetype/lib -L/Users/user/homebrew/opt/sdl2/lib -L/Users/user/homebrew/opt/libgphoto2/lib -L/Users/user/homebrew/opt/faudio/lib -L/Users/user/homebrew/opt/jpeg/lib -L/Users/user/homebrew/opt/libpng/lib -L/Users/user/homebrew/opt/mpg123/lib -L/Users/user/homebrew/opt/libtiff/lib -L/Users/user/homebrew/opt/libgsm/lib -L/Users/user/homebrew/opt/glib/lib -L/Users/user/homebrew/opt/gnutls/lib -L/Users/user/homebrew/opt/libusb/lib -L/Users/user/homebrew/opt/gettext/lib -L/Users/user/homebrew/opt/openssl@1.1/lib -L/Users/user/homebrew/opt/sane-backends/lib -lSystem -L/Users/user/homebrew/lib -Wl,-rpath,/Users/user/homebrew/lib -Wl,-rpath,@executable_path/../lib/external conftest.c  >&5
-macosx_version_min has been renamed to -macos_version_min
dyld[10626]: Symbol not found: _lto_codegen_debug_options_array
  Referenced from: <E33DCAC4-3116-3019-8003-432FB3E66FB4> /Library/Developer/CommandLineTools/usr/bin/ld
  Expected in:     <51CDDA4C-8BA9-3C80-A4B9-301C4D6109F4> /Users/user/homebrew/Cellar/game-porting-toolkit-compiler/0.1/lib/libLTO.dylib
clang-8: error: unable to execute command: Abort trap: 6
clang-8: error: linker command failed due to signal (use -v to see invocation)
configure:5123: $? = 254
configure:5163: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "7.7"
| #define PACKAGE_STRING "Wine 7.7"
| #define PACKAGE_BUGREPORT "wine-devel@winehq.org"
| #define PACKAGE_URL "https://www.winehq.org"
| /* end confdefs.h.  */
| 
| int
| main (void)
| {
| 
|   ;
|   return 0;
| }
configure:5168: error: in `/private/tmp/game-porting-toolkit-20241004-10197-4dhhky/wine64-build':
configure:5170: error: C compiler cannot create executables
Having problems with the game porting toolkit
 
 
Q