[MacPorts] #74025: harfbuzz-14.2.0 does not build on PPC Leopard, Mac OS X 10.5.8, because of error: 'CTFontManagerCreateFontDescriptorsFromURL' was not declared in this scope
MacPorts
noreply at macports.org
Sat May 23 11:42:18 UTC 2026
#74025: harfbuzz-14.2.0 does not build on PPC Leopard, Mac OS X 10.5.8, because of
error: 'CTFontManagerCreateFontDescriptorsFromURL' was not declared in this
scope
-------------------------+----------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.12.5
Keywords: ppc leopard | Port: harfbuzz
-------------------------+----------------------
{{{
[60/425] /opt/local/bin/g++-mp-15 -Isrc/libharfbuzz.0.dylib.p -Isrc
-I../harfbuzz-14.2.0/src -I. -I../harfbuzz-14.2.0
-I/opt/local/include/freetype2 -I/opt/local/include/libpng16
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1
-Wall -Winvalid-pch -fno-exceptions -std=c++11 -O2 -g -fno-exceptions
-fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden
-DHAVE_CONFIG_H -pipe -Os -DHB_NO_PRAGMA_GCC_DIAGNOSTIC_ERROR
-D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -MD -MQ src/libharfbuzz.0.dylib.p/hb-
coretext.cc.o -MF src/libharfbuzz.0.dylib.p/hb-coretext.cc.o.d -o
src/libharfbuzz.0.dylib.p/hb-coretext.cc.o -c ../harfbuzz-14.2.0/src/hb-
coretext.cc
FAILED: [code=1] src/libharfbuzz.0.dylib.p/hb-coretext.cc.o
/opt/local/bin/g++-mp-15 -Isrc/libharfbuzz.0.dylib.p -Isrc
-I../harfbuzz-14.2.0/src -I. -I../harfbuzz-14.2.0
-I/opt/local/include/freetype2 -I/opt/local/include/libpng16
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1
-Wall -Winvalid-pch -fno-exceptions -std=c++11 -O2 -g -fno-exceptions
-fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden
-DHAVE_CONFIG_H -pipe -Os -DHB_NO_PRAGMA_GCC_DIAGNOSTIC_ERROR
-D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -MD -MQ src/libharfbuzz.0.dylib.p/hb-
coretext.cc.o -MF src/libharfbuzz.0.dylib.p/hb-coretext.cc.o.d -o
src/libharfbuzz.0.dylib.p/hb-coretext.cc.o -c ../harfbuzz-14.2.0/src/hb-
coretext.cc
In file included from ../harfbuzz-14.2.0/src/hb-coretext.hh:35,
from ../harfbuzz-14.2.0/src/hb-coretext.cc:35:
../harfbuzz-14.2.0/src/hb-coretext.h:33:5: warning: 'TARGET_OS_IPHONE' is
not defined, evaluates to '0' [-Wundef]
33 | #if TARGET_OS_IPHONE
| ^~~~~~~~~~~~~~~~
../harfbuzz-14.2.0/src/hb-coretext.cc: In function 'const __CTFont*
create_ct_font(CGFontRef, CGFloat)':
../harfbuzz-14.2.0/src/hb-coretext.cc:297:29: warning: the address of
'uint32_t CTGetCoreTextVersion()' will never be NULL [-Waddress]
297 | if (&CTGetCoreTextVersion != nullptr && CTGetCoreTextVersion() <
0x00070000) {
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from
/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:53,
from ../harfbuzz-14.2.0/src/hb-coretext.h:37:
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h:50:10:
note: 'uint32_t CTGetCoreTextVersion()' declared here
50 | uint32_t CTGetCoreTextVersion( void )
AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
| ^~~~~~~~~~~~~~~~~~~~
../harfbuzz-14.2.0/src/hb-coretext.cc: In function 'hb_face_t*
hb_coretext_face_create_from_file_or_fail(const char*, unsigned int)':
../harfbuzz-14.2.0/src/hb-coretext.cc:412:29: error:
'CTFontManagerCreateFontDescriptorsFromURL' was not declared in this scope
412 | auto ct_font_desc_array =
CTFontManagerCreateFontDescriptorsFromURL (url);
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../harfbuzz-14.2.0/src/hb-coretext.cc: In function 'hb_font_t*
hb_coretext_font_create(CTFontRef)':
../harfbuzz-14.2.0/src/hb-coretext.cc:544:31: warning: narrowing
conversion of 'tag' from 'int' to 'hb_tag_t' {aka 'unsigned int'}
[-Wnarrowing]
544 | hb_variation_t var = {tag, value};
| ^~~
ninja: build stopped: subcommand failed.
Command failed: cd "/opt/local/var/macports/build/harfbuzz-
c150e93c/work/build" && /opt/local/bin/ninja -j1 -v
Exit code: 1
Error: Failed to build harfbuzz: command execution failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/74025>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list