Me too on macOS Sonoma 14.4 (23E214) M2. What's the way out?
brew -v install apple/apple/game-porting-toolkit
bison -o dlls/d3dcompiler_33/asmshader.tab.c -d /private/tmp/game-porting-toolkit-20240324-68513-1jm8mg/wine/dlls/d3dcompiler_43/asmshader.y
/private/tmp/game-porting-toolkit-20240324-68513-1jm8mg/wine/dlls/crypt32/unixlib.c:629:11: error: unknown type name 'SecTrustSettingsDomain'
const SecTrustSettingsDomain domains[] = {
^
flex -odlls/d3dcompiler_33/asmshader.yy.c /private/tmp/game-porting-toolkit-20240324-68513-1jm8mg/wine/dlls/d3dcompiler_43/asmshader.l
/private/tmp/game-porting-toolkit-20240324-68513-1jm8mg/wine/dlls/crypt32/unixlib.c:630:9: error: use of undeclared identifier 'kSecTrustSettingsDomainSystem'
kSecTrustSettingsDomainSystem,
^
bison -o dlls/d3dcompiler_34/asmshader.tab.c -d /private/tmp/game-porting-toolkit-20240324-68513-1jm8mg/wine/dlls/d3dcompiler_43/asmshader.y
flex -odlls/d3dcompiler_34/asmshader.yy.c /private/tmp/game-porting-toolkit-20240324-68513-1jm8mg/wine/dlls/d3dcompiler_43/asmshader.l
/private/tmp/game-porting-toolkit-20240324-68513-1jm8mg/wine/dlls/crypt32/unixlib.c:631:9: error: use of undeclared identifier 'kSecTrustSettingsDomainAdmin'
kSecTrustSettingsDomainAdmin,
^
/private/tmp/game-porting-toolkit-20240324-68513-1jm8mg/wine/dlls/crypt32/unixlib.c:632:9: error: use of undeclared identifier 'kSecTrustSettingsDomainUser'
kSecTrustSettingsDomainUser
^
/private/tmp/game-porting-toolkit-20240324-68513-1jm8mg/wine/dlls/crypt32/unixlib.c:640:18: warning: this function declaration is not a prototype [-Wstrict-prototypes]
status = SecTrustSettingsCopyCertificates(domains[domain], &certs);
^
/private/tmp/game-porting-toolkit-20240324-68513-1jm8mg/wine/dlls/crypt32/unixlib.c:641:23: error: use of undeclared identifier 'noErr'
if (status == noErr)
^
/private/tmp/game-porting-toolkit-20240324-68513-1jm8mg/wine/dlls/crypt32/unixlib.c:647:31: warning: this function declaration is not a prototype [-Wstrict-prototypes]
if ((status = SecItemExport(cert, kSecFormatX509Cert, 0, NULL, &certData)) == noErr)
^
bison -o dlls/d3dcompiler_35/asmshader.tab.c -d /private/tmp/game-porting-toolkit-20240324-68513-1jm8mg/wine/dlls/d3dcompiler_43/asmshader.y
/private/tmp/game-porting-toolkit-20240324-68513-1jm8mg/wine/dlls/crypt32/unixlib.c:647:51: error: use of undeclared identifier 'kSecFormatX509Cert'
if ((status = SecItemExport(cert, kSecFormatX509Cert, 0, NULL, &certData)) == noErr)
^
/private/tmp/game-porting-toolkit-20240324-68513-1jm8mg/wine/dlls/crypt32/unixlib.c:647:95: error: use of undeclared identifier 'noErr'
if ((status = SecItemExport(cert, kSecFormatX509Cert, 0, NULL, &certData)) == noErr)
^
2 warnings and 7 errors generated.
make: *** [dlls/crypt32/unixlib.o] Error 1
make: *** Waiting for unfinished jobs....
==> Formula
Tap: apple/apple
Path: /usr/local/Homebrew/Library/Taps/apple/homebrew-apple/Formula/game-porting-toolkit.rb
==> Configuration
HOMEBREW_VERSION: 4.2.14
ORIGIN: https://github.com/Homebrew/brew
HEAD: f6a4f42cc346694fac94fa1643bc2809d383b6f1
Last commit: 4 days ago
Core tap JSON: 23 Mar 19:26 UTC
Core cask tap JSON: 23 Mar 19:26 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.RPKzMABY5N/org.xquartz:0
HOMEBREW_MAKE_JOBS: 12
HOMEBREW_NO_ANALYTICS: set
Homebrew Ruby: 3.1.4 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: dodeca-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-x86_64
CLT: 15.3.0.0.1.1708646388
Xcode: 15.3
Rosetta 2: true
Post
Replies
Boosts
Views
Activity
Working for me too with Xcode 15.1. Thank you all!