---> Building py314-uharfbuzz
Executing: cd "/opt/local/var/macports/build/py314-uharfbuzz-a241e12b/work/uharfbuzz-0.55.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.14/bin/python3.14 -m build --no-isolation --wheel --outdir /opt/local/var/macports/build/py314-uharfbuzz-a241e12b/work
* Getting build dependencies for wheel...
Compiling src/uharfbuzz/_harfbuzz.pyx because it changed.
Compiling src/uharfbuzz/_harfbuzz_test.pyx because it changed.
[1/2] Cythonizing src/uharfbuzz/_harfbuzz.pyx
[2/2] Cythonizing src/uharfbuzz/_harfbuzz_test.pyx
* Building wheel...
/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/setuptools_scm/_integration/version_inference.py:51: UserWarning: version of uharfbuzz already set
warnings.warn(self.message)
running bdist_wheel
running build
running build_py
creating build/lib.macosx-10.6-ppc-cpython-314/uharfbuzz
copying src/uharfbuzz/__init__.py -> build/lib.macosx-10.6-ppc-cpython-314/uharfbuzz
copying src/uharfbuzz/_version.py -> build/lib.macosx-10.6-ppc-cpython-314/uharfbuzz
running build_ext
building 'uharfbuzz._harfbuzz' extension
creating build/temp.macosx-10.6-ppc-cpython-314/harfbuzz/src
creating build/temp.macosx-10.6-ppc-cpython-314/src/uharfbuzz
/opt/local/bin/g++-mp-16 -Os -arch ppc -isysroot/ -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHB_HAS_SUBSET=1 -DHB_HAS_RASTER=1 -DPy_LIMITED_API=0x030A0000 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHB_HAS_CORETEXT=1 -Iharfbuzz/src -I/opt/local/Library/Frameworks/Python.framework/Versions/3.14/include/python3.14 -c harfbuzz/src/harfbuzz-world.cc -o build/temp.macosx-10.6-ppc-cpython-314/harfbuzz/src/harfbuzz-world.o -std=c++11 -g0
In file included from harfbuzz/src/harfbuzz-world.cc:82:
harfbuzz/src/hb-shape.cc:162:44: error: macro 'verify' passed 5 arguments, but takes just 1
162 | shaper_list))
| ^
In file included from //System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h:219,
from //System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:113,
from //System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from //System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
from //System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:20,
from harfbuzz/src/hb-coretext.h:37,
from harfbuzz/src/hb-face.cc:41,
from harfbuzz/src/harfbuzz-world.cc:43:
/usr/include/AssertMacros.h:1338:25: note: macro 'verify' defined here
1338 | #define verify(assertion) __Verify(assertion)
| ^~~~~~
In file included from harfbuzz/src/harfbuzz-world.cc:36:
harfbuzz/src/hb-blob.cc: In function 'int _open_resource_fork(const char*, hb_mapped_file_t*)':
harfbuzz/src/hb-blob.cc:573:12: warning: argument to 'sizeof' in 'char* strncpy(char*, const char*, size_t)' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
573 | sizeof (_PATH_RSRCFORKSPEC));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
harfbuzz/src/hb-shape.cc: In function 'hb_bool_t hb_shape_full(hb_font_t*, hb_buffer_t*, const hb_feature_t*, unsigned int, const char* const*)':
harfbuzz/src/hb-shape.cc:158:25: error: cannot convert 'hb_buffer_t::verify' from type 'bool (hb_buffer_t::)(hb_buffer_t*, hb_font_t*, const hb_feature_t*, unsigned int, const char* const*)' to type 'bool'
158 | && !buffer->verify (text_buffer,
| ^~~~~~
harfbuzz/src/hb-shape.cc:158:25: error: in argument to unary !
158 | && !buffer->verify (text_buffer,
| ~~~~~~~~^~~~~~
In file included from harfbuzz/src/harfbuzz-world.cc:96:
harfbuzz/src/hb-coretext-font.cc: In function 'hb_bool_t hb_coretext_get_glyph_extents(hb_font_t*, void*, hb_codepoint_t, hb_glyph_extents_t*, void*)':
harfbuzz/src/hb-coretext-font.cc:308:25: error: narrowing conversion of 'glyph' from 'hb_codepoint_t' {aka 'unsigned int'} to 'CGGlyph' {aka 'short unsigned int'} [-Werror=narrowing]
308 | CGGlyph glyphs[1] = { glyph };
| ^~~~~
In file included from harfbuzz/src/harfbuzz-world.cc:97:
harfbuzz/src/hb-coretext-shape.cc: In function 'hb_bool_t _hb_coretext_shape(hb_shape_plan_t*, hb_font_t*, hb_buffer_t*, const hb_feature_t*, unsigned int)':
harfbuzz/src/hb-coretext-shape.cc:571:23: warning: implicit conversion from 'CGFloat' {aka 'float'} to 'double' to match other operand of binary expression [-Wdouble-promotion]
571 | advances_so_far -= CTLineGetTrailingWhitespaceWidth (line);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from harfbuzz/src/harfbuzz-world.cc:98:
harfbuzz/src/hb-coretext.cc: In function 'const __CTFont* create_ct_font(CGFontRef, CGFloat)':
harfbuzz/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:
//System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h:59:10: note: 'uint32_t CTGetCoreTextVersion()' declared here
59 | uint32_t CTGetCoreTextVersion( void ) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
| ^~~~~~~~~~~~~~~~~~~~
harfbuzz/src/hb-coretext.cc: In function 'hb_font_t* hb_coretext_font_create(CTFontRef)':
harfbuzz/src/hb-coretext.cc:544:31: error: narrowing conversion of 'tag' from 'int' to 'hb_tag_t' {aka 'unsigned int'} [-Werror=narrowing]
544 | hb_variation_t var = {tag, value};
| ^~~
cc1plus: some warnings being treated as errors
error: command '/opt/local/bin/g++-mp-16' failed with exit code 1
ERROR Backend subprocess exited when trying to invoke build_wheel
Command failed: cd "/opt/local/var/macports/build/py314-uharfbuzz-a241e12b/work/uharfbuzz-0.55.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.14/bin/python3.14 -m build --no-isolation --wheel --outdir /opt/local/var/macports/build/py314-uharfbuzz-a241e12b/work
Exit code: 1