Opened 2 years ago

Last modified 14 months ago

#71150 reopened defect

py311-wxpython-4.0: error: 'CGDisplayCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit

Reported by: Rumpelstil (Wolfgang Brandner) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: sequoia Cc: cooljeanius (Eric Gallager)
Port: py-wxpython-4.0

Attachments (2)

py311-wxpython-4.0_main.log​ (736.8 KB) - added by jedokaplan (Jed O. Kaplan) 23 months ago.
build log for py311-wxpython-4.0
py312-wxpython-4.0_main.log​ (736.4 KB) - added by jedokaplan (Jed O. Kaplan) 23 months ago.
Build log for py312-wxpython-4.0

Download all attachments as: .zip

Change History (14)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Keywords: sequoia added
Port: py-wxpython-4.0 added; py311-wxpython-4.0 removed
Summary: error: 'CGDisplayCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit → py311-wxpython-4.0: error: 'CGDisplayCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit

comment:2 Changed 2 years ago by nilason (Nicklas Larsson)

The pull request ​PR-26906 will possibly solve this (py-wxpython-4.0 4.2.2 comes with xwWidgets 3.2.6).

comment:3 Changed 2 years ago by nilason (Nicklas Larsson)

py-wxpython-4.0 is now updated to version 4.2.2, please try again on macOS 15.

comment:4 Changed 2 years ago by pawleeq

I gave it a go, but failed again. Please check ​https://www.pawleeq.com/pub/main.log.zip Another thing: py-wxpython-4.0 installs py312-wxpython-4.0 which actually fails, but py311-wxpython-4.0 is needed because grass-gui depends on it.

comment:5 Changed 2 years ago by nilason (Nicklas Larsson)

The upstream fix for macOS 15 was added after the release of wxWidgets 3.2.6, and thus not included in wxPython 4.2.2. The commit 96dd7c4 aims to address this, please try yet again.

Last edited 23 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:6 Changed 2 years ago by pawleeq

It works. Thank you!

comment:7 Changed 2 years ago by reneeotten (Renee Otten)

Resolution: → fixed
Status: new → closed

comment:8 Changed 23 months ago by jedokaplan (Jed O. Kaplan)

Resolution: fixed
Status: closed → reopened

Unfortunately, I still have exactly this problem building both py311-wxpython-4.0 and py312-wxpython-4.0 even though the Portfile for py-wxpython-4.0 I am using has been updated with the commit 96dd7c4.

Is there somewhere else that this configuration also needs to be changed?

comment:9 Changed 23 months ago by reneeotten (Renee Otten)

Please make sure you have updated your Ports tree, cleaned the build and tried again. If it still fails please attach the log.

Last edited 23 months ago by reneeotten (Renee Otten) (previous) (diff)

Changed 23 months ago by jedokaplan (Jed O. Kaplan)

Attachment: py311-wxpython-4.0_main.log​ added

build log for py311-wxpython-4.0

Changed 23 months ago by jedokaplan (Jed O. Kaplan)

Attachment: py312-wxpython-4.0_main.log​ added

Build log for py312-wxpython-4.0

comment:10 Changed 23 months ago by jedokaplan (Jed O. Kaplan)

I can confirm that even after running

port selfupdate
port clean --all py311-wxpython-4.0
port clean --all py312-wxpython-4.0

I have the same errors upon building. I have uploaded the build logs for both ports above.

Thanks for the help!

comment:11 Changed 15 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:12 in reply to:  10 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to jedokaplan:

I have the same errors upon building. I have uploaded the build logs for both ports above.

The new logs don't show the same error; the error they show is now being tracked in #73071.

Note: See TracTickets for help on using tickets.