Error When Building Game Porting Toolkit 1.1

Does anyone know what this might be?

/private/tmp/game-porting-toolkit-20240516-2293-dagdsr/wine/dlls/wow64cpu/cpu.c:356:18: error: assignment to 'DWORD64' {aka 'long long unsigned int'} from 'PVOID' {aka 'void '} makes integer from pointer without a cast [-Wint-conversion] 356 | context->Rsp = NtCurrentTeb()->TlsSlots[2]; / WOW64_TLS_WINEHYBRID_RESERVED_R14 */ | ^ make: *** [dlls/wow64cpu/cpu.cross.o] Error 1 make: *** Waiting for unfinished jobs....

Path: /usr/local/Homebrew/Library/Taps/apple/homebrew-apple/Formula/game-porting-toolkit.rb ==> Configuration HOMEBREW_VERSION: 4.3.0 ORIGIN: https://github.com/Homebrew/brew HEAD: 8378cc825d83acffd125fb0fec041793df378a57 Last commit: 3 days ago Core tap JSON: 17 May 05:28 UTC Core cask tap JSON: 17 May 05:28 UTC HOMEBREW_PREFIX: /usr/local HOMEBREW_CASK_OPTS: [] HOMEBREW_MAKE_JOBS: 10 Homebrew Ruby: 3.1.4 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby CPU: 10-core 64-bit westmere Clang: 15.0.0 build 1500 Git: 2.39.3 => /Library/Developer/CommandLineTools/usr/bin/git Curl: 8.4.0 => /usr/bin/curl macOS: 14.4.1-x86_64 CLT: 15.1.0.0.1.1700200546 Xcode: 15.1 => /Users/raiderpig/Downloads/Xcode.app/Contents/Developer Rosetta 2: true

I got the same error message here. for Xcode and CLI are 15.1 version.


x86_64-w64-mingw32-gcc -c -o dlls/wow64win/gdi.cross.o /private/tmp/game-porting-toolkit-20240518-18765-vnc35t/wine/dlls/wow64win/gdi.c -I dlls/wow64win -I /private/tmp/game-porting-toolkit-20240518-18765-vnc35t/wine/dlls/wow64win -I include -I /private/tmp/game-porting-toolkit-20240518-18765-vnc35t/wine/include -I /private/tmp/game-porting-toolkit-20240518-18765-vnc35t/wine/include/msvcrt -D__WINESRC__ -D_MSVCR_VER=0 -D__WINE_PE_BUILD -Wall -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op -Wabsolute-value -Wno-format -Wformat-overflow -Wnonnull -mcx16 -gdwarf-4 -Wformat -g -O2 /private/tmp/game-porting-toolkit-20240518-18765-vnc35t/wine/dlls/wow64cpu/cpu.c: In function 'BTCpuResetToConsistentState': /private/tmp/game-porting-toolkit-20240518-18765-vnc35t/wine/dlls/wow64cpu/cpu.c:356:18: error: assignment to 'DWORD64' {aka 'long long unsigned int'} from 'PVOID' {aka 'void '} makes integer from pointer without a cast [-Wint-conversion] 356 | context->Rsp = NtCurrentTeb()->TlsSlots[2]; / WOW64_TLS_WINEHYBRID_RESERVED_R14 */ | ^ make: *** [dlls/wow64cpu/cpu.cross.o] Error 1 make: *** Waiting for unfinished jobs....

HOMEBREW_VERSION: 4.3.0 ORIGIN: https://github.com/Homebrew/brew HEAD: 8378cc825d83acffd125fb0fec041793df378a57 Last commit: 4 days ago Core tap JSON: 18 May 05:05 UTC Core cask tap JSON: 18 May 05:05 UTC HOMEBREW_PREFIX: /usr/local HOMEBREW_CASK_OPTS: [] HOMEBREW_MAKE_JOBS: 10 Homebrew Ruby: 3.1.4 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby CPU: 10-core 64-bit westmere Clang: 15.0.0 build 1500 Git: 2.39.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git Curl: 8.4.0 => /usr/bin/curl macOS: 14.4.1-x86_64 CLT: 15.1.0.0.1.1700200546 Xcode: 15.1 Rosetta 2: true

The same issue I have with Command Line Tools 15.1

...
x86_64-w64-mingw32-gcc -c -o dlls/wow64win/gdi.cross.o /private/tmp/game-porting-toolkit-20240519-67767-vttn0g/wine/dlls/wow64win/gdi.c \
  -I dlls/wow64win -I /private/tmp/game-porting-toolkit-20240519-67767-vttn0g/wine/dlls/wow64win -I \
  include -I /private/tmp/game-porting-toolkit-20240519-67767-vttn0g/wine/include -I \
  /private/tmp/game-porting-toolkit-20240519-67767-vttn0g/wine/include/msvcrt -D__WINESRC__ \
  -D_MSVCR_VER=0 -D__WINE_PE_BUILD -Wall -fno-strict-aliasing -Wdeclaration-after-statement \
  -Wempty-body -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 \
  -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith \
  -Wlogical-op -Wabsolute-value -Wno-format -Wformat-overflow -Wnonnull -mcx16 -gdwarf-4 -Wformat \
  -g -O2
/private/tmp/game-porting-toolkit-20240519-67767-vttn0g/wine/dlls/wow64cpu/cpu.c: In function 'BTCpuResetToConsistentState':
/private/tmp/game-porting-toolkit-20240519-67767-vttn0g/wine/dlls/wow64cpu/cpu.c:356:18: error: assignment to 'DWORD64' {aka 'long long unsigned int'} from 'PVOID' {aka 'void *'} makes integer from pointer without a cast [-Wint-conversion]
  356 |     context->Rsp = NtCurrentTeb()->TlsSlots[2]; /* WOW64_TLS_WINEHYBRID_RESERVED_R14 */
      |                  ^
x86_64-w64-mingw32-gcc -c -o dlls/wow64win/syscall.cross.o /private/tmp/game-porting-toolkit-20240519-67767-vttn0g/wine/dlls/wow64win/syscall.c \
  -I dlls/wow64win -I /private/tmp/game-porting-toolkit-20240519-67767-vttn0g/wine/dlls/wow64win -I \
  include -I /private/tmp/game-porting-toolkit-20240519-67767-vttn0g/wine/include -I \
  /private/tmp/game-porting-toolkit-20240519-67767-vttn0g/wine/include/msvcrt -D__WINESRC__ \
  -D_MSVCR_VER=0 -D__WINE_PE_BUILD -Wall -fno-strict-aliasing -Wdeclaration-after-statement \
  -Wempty-body -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 \
  -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith \
  -Wlogical-op -Wabsolute-value -Wno-format -Wformat-overflow -Wnonnull -mcx16 -gdwarf-4 -Wformat \
  -g -O2
make: *** [dlls/wow64cpu/cpu.cross.o] Error 1
make: *** Waiting for unfinished jobs....

.....

Error: apple/apple/game-porting-toolkit 1.1 did not build
Logs:
     /Users/igor/Library/Logs/Homebrew/game-porting-toolkit/00.options.out
     /Users/igor/Library/Logs/Homebrew/game-porting-toolkit/01.configure
     /Users/igor/Library/Logs/Homebrew/game-porting-toolkit/01.configure.cc
     /Users/igor/Library/Logs/Homebrew/game-porting-toolkit/02.make
     /Users/igor/Library/Logs/Homebrew/game-porting-toolkit/wine64-build
If reporting this issue please do so to (not Homebrew/brew or Homebrew/homebrew-core):
  apple/apple

Is there any update on this ? I'm having the same issue on newly bought Mac book pro 14 inch....

Error When Building Game Porting Toolkit 1.1
 
 
Q