Opened 2 months ago

Closed 2 months ago

#70774 closed defect (fixed)

gtk2 +quartz fails to build on Sequoia

Reported by: MaurizioLoreti Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc: breiter (Brian Reiter), markemer (Mark Anderson), Bradford-Miller (Bradford Miller)
Port: gtk2

Description

As said. Log file attached; the relevant line is:

info:build gdkimage-quartz.c:150:39: error: 'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead.
{{{
}}}

Attachments (1)

main.log (1.2 MB) - added by MaurizioLoreti 2 months ago.
main.log

Download all attachments as: .zip

Change History (9)

Changed 2 months ago by MaurizioLoreti

Attachment: main.log added

main.log

comment:1 Changed 2 months ago by breiter (Brian Reiter)

Cc: breiter added

comment:2 Changed 2 months ago by breiter (Brian Reiter)

I think this is the same underlying issue as #70709 where the solution is to build targeting macOS 14 SDK.

platform darwin 24 {
   macosx_deployment_target 14.0
}

comment:3 in reply to:  2 Changed 2 months ago by MaurizioLoreti

Replying to breiter:

I think this is the same underlying issue as #70709 where the solution is to build targeting macOS 14 SDK.

platform darwin 24 {
   macosx_deployment_target 14.0
}

So, what am I supposed to do? To edit the portfile adding these lines somewhere? Or to wait for a new release, since this is a known problem?

comment:4 Changed 2 months ago by jmroot (Joshua Root)

Cc: mascguy@… removed
Owner: set to mascguy
Status: newassigned

comment:5 Changed 2 months ago by markemer (Mark Anderson)

I'm on it, I've been chasing this one all over.

comment:6 Changed 2 months ago by markemer (Mark Anderson)

Cc: markemer added

comment:7 Changed 2 months ago by Bradford-Miller (Bradford Miller)

Cc: Bradford-Miller added

comment:8 Changed 2 months ago by markemer (Mark Anderson)

Resolution: fixed
Status: assignedclosed

In ca67d6648c082f7910ae24f84bc8743e1f42e435/macports-ports (master):

gtk2: fix for macOS 15 (https://github.com/macports/macports-ports/pull/25847)

  • Another victim of the ScreenCaptureKit requirement, CGWindowListCreateImage is removed in SDK 15
  • Set macosx_deployment_target to 14

Closes: #70774

Note: See TracTickets for help on using tickets.