I am now running the latest macOS v26. 

When compiling harfbuzz I am getting the following error:

Build targets in project: 8

harfbuzz 11.5.1

  Directories
    prefix                    : /usr/local
    bindir                    : bin
    libdir                    : lib
    includedir                : include
    datadir                   : share
    cmakepackagedir           : lib/cmake

  Unicode callbacks (you want at least one)
    Builtin                   : YES
    Glib                      : NO
    ICU                       : YES

  Font callbacks (the more the merrier)
    Builtin                   : YES
    FreeType                  : NO
    Fontations                : NO

  Dependencies used for command-line utilities
    Cairo                     : NO
    Chafa                     : NO

  Additional shapers
    Graphite2                 : YES
    WebAssembly (experimental): NO

  Platform / other shapers (not normally needed)
    CoreText                  : NO
    DirectWrite               : NO
    GDI/Uniscribe             : NO
    HarfRust                  : NO
    kbts                      : NO

  Other features
    Utilities                 : NO
    Documentation             : NO
    GObject bindings          : NO
    Cairo integration         : NO
    Introspection             : NO
    Experimental APIs         : NO

  Testing
    Tests                     : NO
    Benchmark                 : NO

  User defined options
    auto_features             : disabled
    buildtype                 : debug
    cpp_std                   : c++20
    default_library           : static
    graphite2                 : enabled
    icu                       : enabled
    icu_builtin               : true
    tests                     : disabled
    utilities                 : disabled

Found ninja-1.13.1 at /opt/homebrew/bin/ninja
ninja: Entering directory 
`/Users/christophersherlock/lode/dev/core/workdir/UnpackedTarball/harfbuzz/builddir'
ninja: Jobserver mode detected: rs -j8 
--jobserver-auth=fifo:/var/folders/zz/ry0lmvh94bq6t99pzycvg8j00000gn/T//GMfifo33466
[1/58] Compiling C++ object src/libharfbuzz.a.p/hb-aat-layout.cc.o
FAILED: [code=1] src/libharfbuzz.a.p/hb-aat-layout.cc.o
/Users/christophersherlock/lode/opt/bin/ccache 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
 -target arm64-apple-macos -stdlib=libc++ -mmacosx-version-min=11.0 -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk
 -Isrc/libharfbuzz.a.p -Isrc -I../src -I. -I.. 
-I/Users/christophersherlock/lode/dev/core/workdir/UnpackedTarball/graphite/include
 
-I/Users/christophersherlock/lode/dev/core/workdir/UnpackedTarball/icu/source/i18n
 
-I/Users/christophersherlock/lode/dev/core/workdir/UnpackedTarball/icu/source/common
 -fvisibility=hidden -fdiagnostics-color=always -D_LIBCPP_ENABLE_ASSERTIONS=1 
-Wall -Winvalid-pch -fno-exceptions -std=c++20 -O0 -g -fno-exceptions -fno-rtti 
-fno-threadsafe-statics -fvisibility-inlines-hidden -DHAVE_CONFIG_H 
-DGRAPHITE2_STATIC -MD -MQ src/libharfbuzz.a.p/hb-aat-layout.cc.o -MF 
src/libharfbuzz.a.p/hb-aat-layout.cc.o.d -o 
src/libharfbuzz.a.p/hb-aat-layout.cc.o -c ../src/hb-aat-layout.cc
In file included from ../src/hb-aat-layout.cc:28:
In file included from ../src/hb.hh:191:
In file included from ../src/hb.h:31:
In file included from ../src/hb-blob.h:34:
In file included from ../src/hb-common.h:66:
In file included from 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/c++/v1/inttypes.h:241:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/c++/v1/__config:49:6:
 error: "_LIBCPP_ENABLE_ASSERTIONS has been removed, please use 
_LIBCPP_HARDENING_MODE instead"
   49 | #    error "_LIBCPP_ENABLE_ASSERTIONS has been removed, please use 
_LIBCPP_HARDENING_MODE instead"
      |      ^
1 error generated.
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /opt/homebrew/bin/ninja -C 
/Users/christophersherlock/lode/dev/core/workdir/UnpackedTarball/harfbuzz/builddir
 lib
make[1]: *** 
[/Users/christophersherlock/lode/dev/core/external/harfbuzz/ExternalProject_harfbuzz.mk:51:
 
/Users/christophersherlock/lode/dev/core/workdir/ExternalProject/harfbuzz/build]
 Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:301: build] Error 2

Any ideas how to fix this?

Chris

Reply via email to