Opened 4 weeks ago
Last modified 3 weeks ago
#71905 assigned defect
gimp3-devel +quartz: error: 'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead.
Reported by: | DominusExult (Dominik Reichardt) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.5 |
Keywords: | sequoia | Cc: | |
Port: | gimp3-devel |
Description
macOS 15.2
sudo port install gimp3-devel +quartz
I cleaned on the first occurrence of the error and ran it again to produce the attached log
:info:build ld: warning: ignoring duplicate libraries: '-lgio-2.0', '-lglib-2.0', '-lgmodule-2.0', '-lgobject-2.0', '-lintl' :info:build ninja: build stopped: subcommand failed. :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gimp3-devel/gimp3-devel/work/build" && /opt/local/bin/ninja -j16 -v :info:build Exit code: 1 :error:build Failed to build gimp3-devel: command execution failed :debug:build Error code: CHILDSTATUS 72631 1 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec -callback portprogress::target_progress_callback build" :debug:build (procedure "portbuild::build_main" line 10) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gimp3-devel/gimp3-devel/main.log for details.
Attachments (2)
Change History (5)
Changed 4 weeks ago by DominusExult (Dominik Reichardt)
Attachment: | main.log.tar.bz2 added |
---|
comment:1 Changed 4 weeks ago by mascguy (Christopher Nielsen)
Owner: | set to mascguy |
---|---|
Status: | new → assigned |
comment:2 Changed 3 weeks ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | sequoia added |
---|---|
Summary: | gimp3-devel +quartz fails on building with a ninja subcommand → gimp3-devel +quartz: error: 'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead. |
The relevant error in the log seems to be:
../gimp-3.0.0-RC1/libgimpwidgets/gimppickbutton-quartz.c:187:20: error: 'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead. 187 | root_image_ref = CGWindowListCreateImage (NSRectToCGRect(rect), | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGWindow.h:271:33: note: 'CGWindowListCreateImage' has been explicitly marked unavailable here 271 | CG_EXTERN CGImageRef __nullable CGWindowListCreateImage(CGRect screenBounds, | ^
See SequoiaProblems#ScreenCaptureKitRequirementwithmacOS15SDK
comment:3 Changed 3 weeks ago by DominusExult (Dominik Reichardt)
Thank you, I can confirm that it builds with
if {${os.platform} eq "darwin" && [vercmp ${macosx_deployment_target} >= 15.0]} { macosx_deployment_target 14.0 }
But then gets stuck later on. Is this caused by me adding a new local portindex (new log attached)?
Edit: Same error when I dared to edit the macports port file. BUT looking at the logs it seems that during the build it wants to do something with the libgimp dylibs but can't find those (as it hasn't been installed yet). So I copied those from the build folder, cleaned the port and ran it again. Except for installing failing because the libgimp dylibs were already there, it completely built and forcing activation made the install complete.
Btw. There is now a RC2 for Gimp3-devel (though on first look it doesn't seem as if upstream is aware of ScreenCaptureKit problem)
Changed 3 weeks ago by DominusExult (Dominik Reichardt)
Attachment: | new-main.log.tar.bz2 added |
---|
new main log, failing at a different point
main.log