Opened 7 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:
Port: py-wxpython-4.0

Attachments (2)

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

Download all attachments as: .zip

Change History (12)

comment:1 Changed 7 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 ScreenCaptureKitpy311-wxpython-4.0: error: 'CGDisplayCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit

comment:2 Changed 5 months 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 5 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 5 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 5 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.

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

comment:6 Changed 5 months ago by pawleeq

It works. Thank you!

comment:7 Changed 5 months ago by reneeotten (Renee Otten)

Resolution: fixed
Status: newclosed

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

Resolution: fixed
Status: closedreopened

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 4 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 4 months ago by reneeotten (Renee Otten) (previous) (diff)

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

Attachment: py311-wxpython-4.0_main.log added

build log for py311-wxpython-4.0

Changed 4 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 4 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!

Note: See TracTickets for help on using tickets.