Opened 2 months ago

Last modified 2 weeks ago

#69378 assigned defect

gtk3 @3.24.38: ERROR: Dependency "appleframeworks" not found, tried framework (IOSurface)

Reported by: rmottola (Riccardo) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard Cc: Dave-Allured (Dave Allured), cooljeanius (Eric Gallager)
Port: gtk3

Description

gdk/quartz/meson.build:2: WARNING: add_languages is missing native:, assuming languages are wanted for both host and build.
Objective-C compiler for the host machine: /opt/local/bin/clang-mp-11 (clang 11.1.0)
Objective-C linker for the host machine: /opt/local/bin/clang-mp-11 ld64 127.2
Run-time dependency appleframeworks found: NO (tried framework)
Run-time dependency appleframeworks found: YES (AppKit)
Run-time dependency appleframeworks found: YES (Cocoa)
Run-time dependency appleframeworks found: YES (Carbon)
Run-time dependency appleframeworks found: YES (QuartzCore)
Run-time dependency appleframeworks found: NO (tried framework)

gdk/quartz/meson.build:53:16: ERROR: Dependency "appleframeworks" not found, tried framework

what is this appleframework? I am not good at meson output.. but apparently it prints out what it finds but not what it misses?

Change History (4)

comment:1 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to mascguy
Status: newassigned
Summary: gtk3 @3.24.38 fails to configure for missing appleframeworks (Leopard 10.5)gtk3 @3.24.38: ERROR: Dependency "appleframeworks" not found, tried framework (IOSurface)

"appleframeworks" appears to be gtk3's generic name for any Apple framework. According to the source code, it is looking for the frameworks CoreGraphics, AppKit, Cocoa, Carbon, QuartzCore, and IOSurface, and all of them are marked required.

Although CoreGraphics was available in earlier Mac OS X versions as part of the ApplicationServices framework, it was not a top-level framework until OS X 10.8, and meson can only find top-level frameworks, therefore we use a patchfile that makes CoreGraphics optional. That's the first "NO (tried framework)" in your output and is fine.

AppKit, Cocoa, Carbon, and QuartzCore were all found, so that's fine.

IOSurface was introduced in Mac OS X 10.6, which is the second "NO (tried framework)" in your output. Since IOSurface is still marked as required, this is why your build fails on Mac OS X 10.5. I don't know how gtk3 uses IOSurface so I don't know whether it can be made optional.

comment:2 in reply to:  1 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign:

I don't know how gtk3 uses IOSurface so I don't know whether it can be made optional.

It looks like this merge request is where the IOSurface work went in. You can read about what it's used for there.

comment:3 Changed 6 weeks ago by Dave-Allured (Dave Allured)

Cc: Dave-Allured added

comment:4 Changed 2 weeks ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.