Opened 14 months ago

Last modified 13 months ago

#72973 assigned defect

game-porting-toolkit: Building game-porting-toolkit requires the MacOSX13.sdk to be present

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Gcenx
Priority: Normal Milestone:
Component: ports Version: 2.11.5
Keywords: sequoia Cc:
Port: game-porting-toolkit

Description

game-porting-toolkit fails to build on macOS 15:

​https://build.macports.org/builders/ports-15_x86_64-builder/builds/36072/steps/install-port/logs/stdio

Error: Failed to fetch game-porting-toolkit: Building game-porting-toolkit requires the MacOSX13.sdk to be present in /Applications/Xcode.app/Contents/Developer/SDKs/
DEBUG: Error code: NONE

No version of Xcode or the command line tools for macOS 15 provides the macOS 13 SDK.

If you really do need the macOS 13 SDK when building on macOS 15, we can ​add a MacOSX13.sdk subport to the MacOSX.sdk port and then you would depend on it and manually configure the sdk variables to point to it.

Attachments (1)

main.log​ (455.0 KB) - added by Gcenx 14 months ago.
game-porting-toolkit built using MacOSX15.5.sdk

Download all attachments as: .zip

Change History (9)

comment:1 Changed 14 months ago by Gcenx

If you get that merged then I’ll deal with the other problems.

comment:2 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

It's not on my to-do list right now.

Could you show the error you were getting with newer SDKs?

Changed 14 months ago by Gcenx

Attachment: main.log​ added

game-porting-toolkit built using MacOSX15.5.sdk

comment:3 Changed 14 months ago by Gcenx

My personal version of game-porting-toolkit is different from the MacPorts version, it uses an older version of cctools/ld64 installed into the same prefix as llvm-cx and uses GStreamer.framework instead of MacPorts gstreamer1 ports. I also downgraded mingw-binutils as the current version has a known issue for older versions of wine.

comment:4 Changed 14 months ago by Gcenx

Checking my notes we could build using Xcode 15.1 but the breakage happened with Xcode 15.3 so something changed with MacOSX14.4.sdk that caused the build to fail.

comment:5 Changed 14 months ago by fspkwon (Anthony Robert Brown)

i tried pulling the new MacOSX.sdk port and get a 404 error when installing i specifically but it lets you install the MacOSX13.sdk subport, but the game-porting-toolkit thinks its not there still, im on Tahoe, the only reason i'd use it is because i have specifically Versionless Beta 3 with Intel Support still there apparently... Then says for something or anything using Metal requires 16gb of ram i have only 8gb ... its an unupgradeable iMac

Version 1, edited 14 months ago by fspkwon (Anthony Robert Brown) (previous) (next) (diff)

comment:6 in reply to:  5 Changed 14 months ago by Gcenx

Replying to fspkwon:

i tried pulling the new MacOSX.sdk port and get a 404 error when installing i specifically but it lets you install the MacOSX13.sdk subport, but the game-porting-toolkit thinks its not there still, im on Tahoe, the only reason i'd use it is because i have specifically Versionless Beta 3 with Intel Support still there apparently... Then says for something or anything using Metal requires 16gb of ram i have only 8gb ... its an unupgradeable iMac rom 2017....

game-porting-toolkit is only designed for Apple Silicon systems not Intel systems.

comment:7 Changed 14 months ago by Gcenx

The latest version of binutils resolved there problem so opened ​https://github.com/macports/macports-ports/pull/29536

Once that gets merged what remains is MacOSX13.sdk then I can fix game-porting-toolkit if we want it to build on each macOS version.

comment:8 Changed 13 months ago by Dean M Greer <38226388+Gcenx@…>

In 5f9ae85f77ab804a2e7ff2bfcf9dcfa9f9aa1263/macports-ports (master):

game-porting-toolkit: GCC 15 defaults to gnu23 so force gnu17

Also allow any MacPorts bot built package be used on later macOS versions see: #72973

To build from source locally will still require MacOSX13.sdk, we currently don't have a subport for this.

Note: See TracTickets for help on using tickets.