Opened 15 months ago
Last modified 4 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 |
Description
See https://github.com/prusa3d/PrusaSlicer/issues/13423 and https://github.com/wxWidgets/wxWidgets/issues/24724
The current version at https://github.com/wxWidgets/wxWidgets should contain the fix.
Attachments (2)
Change History (14)
comment:1 Changed 15 months 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 14 months ago by nilason (Nicklas Larsson)
comment:3 Changed 14 months 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 14 months 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 14 months 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.
comment:7 Changed 14 months ago by reneeotten (Renee Otten)
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:8 Changed 13 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 13 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.
Changed 13 months ago by jedokaplan (Jed O. Kaplan)
| Attachment: | py311-wxpython-4.0_main.log added |
|---|
build log for py311-wxpython-4.0
Changed 13 months ago by jedokaplan (Jed O. Kaplan)
| Attachment: | py312-wxpython-4.0_main.log added |
|---|
Build log for py312-wxpython-4.0
comment:10 follow-up: 12 Changed 13 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 5 months ago by cooljeanius (Eric Gallager)
| Cc: | cooljeanius added |
|---|
comment:12 Changed 4 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.

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