missing FT_Color error
Context: I'm compiling cairo (and it's dependencies) for web assembly and get a missing FT_Color error.
I can fix this by adding an #include FT_COLOR_H
to cairo-ft.h
(under #include FT_FREETYPE_H
) but I'm not sure if this is the correct approach. If it is, happy to create a PR for this bug.
Build error for reference:
Already up to date.
~/git/cairo-emscripten/cairo/libcairo ~/git/cairo-emscripten/cairo
⚠️ meson is already on your PATH and installed at /home/erik/.local/bin/meson. Downloading and running anyway.
The Meson build system
Version: 1.2.1
Source dir: /home/erik/git/cairo-emscripten/cairo/libcairo
Build dir: /home/erik/git/cairo-emscripten/cairo/libcairo/build
Build type: cross build
Program version.py found: YES (/home/erik/git/cairo-emscripten/cairo/libcairo/version.py)
Project name: cairo
Project version: 1.17.9
C compiler for the host machine: /home/erik/git/emsdk/upstream/emscripten/emcc (emscripten 3.1.42 "emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.42 (6ede0b8fc1c979bb206148804bfb48b472ccc3da)")
C linker for the host machine: /home/erik/git/emsdk/upstream/emscripten/emcc ld.wasm 17.0.0
C++ compiler for the host machine: /home/erik/git/emsdk/upstream/emscripten/em++ (emscripten 3.1.42 "emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.42 (6ede0b8fc1c979bb206148804bfb48b472ccc3da)")
C++ linker for the host machine: /home/erik/git/emsdk/upstream/emscripten/em++ ld.wasm 17.0.0
C compiler for the build machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0")
C linker for the build machine: cc ld.bfd 2.40
C++ compiler for the build machine: c++ (gcc 12.3.0 "c++ (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0")
C++ linker for the build machine: c++ ld.bfd 2.40
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: wasm32
Host machine cpu: mvp
Target machine cpu family: wasm32
Target machine cpu: mvp
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Werror-implicit-function-declaration: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -Wsign-compare: YES
Compiler for C supports arguments -Wpacked: YES
Compiler for C supports arguments -Wswitch-enum: YES
Compiler for C supports arguments -Wmissing-format-attribute: YES
Compiler for C supports arguments -Wvolatile-register-var: YES
Compiler for C supports arguments -Wstrict-aliasing=2: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wunsafe-loop-optimizations: NO
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-attributes: YES
Compiler for C supports arguments -Wno-long-long: YES
Compiler for C supports arguments -Winline: YES
Compiler for C supports arguments -Wno-unused-but-set-variable: YES
Compiler for C supports arguments -Wno-enum-conversion: YES
Compiler for C supports arguments -fno-strict-aliasing: YES
Compiler for C supports arguments -fno-common: YES
Program python3 found: YES (/home/erik/.local/pipx/.cache/94cacc601a819eb/bin/python)
Library m found: YES
Dependency gtk+-2.0 skipped: feature gtk2-utils disabled
Compiler for C supports link arguments -Wl,-Bsymbolic-functions: NO
Fetching value of define "__FLOAT_WORD_ORDER__" :
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Found CMake: NO
Run-time dependency lzo2 found: NO (tried pkgconfig and cmake)
Library dl found: YES
Checking for function "dlsym" with dependency -ldl: YES
Dependency zlib skipped: feature zlib disabled
Dependency libpng skipped: feature png disabled
Run-time dependency fontconfig found: YES 2.14.2
Program ttx found: NO
Run-time dependency freetype2 found: YES 26.0.20
Checking if "FT has color" with dependency freetype2: links: YES
Checking for function "FT_Get_Color_Glyph_Paint" with dependency freetype2: YES
Dependency x11 skipped: feature xlib disabled
Dependency xext skipped: feature xlib disabled
Dependency xcb skipped: feature xcb disabled
Dependency xcb-render skipped: feature xcb disabled
Dependency gobject-2.0 skipped: feature glib disabled
Dependency glib-2.0 skipped: feature glib disabled
Library bfd skipped: feature symbol-lookup disabled
Run-time dependency pixman-1 found: YES 0.42.3
Checking for size of "void *" : 4
Checking for size of "int" : 4
Checking for size of "long" : 4
Checking for size of "long long" : 8
Checking for size of "size_t" : 4
Has header "stdint.h" : YES
Has header "inttypes.h" : YES
Has header "sys/int_types.h" : NO
Has header "fcntl.h" : YES
Has header "unistd.h" : YES
Has header "signal.h" : YES
Has header "sys/stat.h" : YES
Has header "sys/socket.h" : YES
Has header "poll.h" : YES
Has header "sys/poll.h" : YES
Has header "sys/un.h" : YES
Has header "sched.h" : YES
Has header "sys/mman.h" : YES
Has header "time.h" : YES
Has header "libgen.h" : YES
Has header "byteswap.h" : YES
Has header "signal.h" : YES (cached)
Has header "setjmp.h" : YES
Has header "fenv.h" : YES
Has header "sys/wait.h" : YES
Has header "sys/stat.h" : YES (cached)
Has header "io.h" : NO
Has header "fenv.h" : YES (cached)
Has header "xlocale.h" : YES
Has header "sys/ioctl.h" : YES
Has header "intsafe.h" : NO
Checking for type "uint64_t" : YES
Checking for type "uint128_t" : NO
Checking for type "__uint128_t" : YES
Checking for function "alarm" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "ctime_r" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "localtime_r" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "gmtime_r" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "drand48" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "flockfile" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "funlockfile" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "getline" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "link" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "fork" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "waitpid" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "raise" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "newlocale" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "strtod_l" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "FcInit" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: NO
Checking for function "FcFini" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: NO
Checking for function "FT_Get_X11_Font_Format" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "FT_GlyphSlot_Embolden" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "FT_GlyphSlot_Oblique" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "FT_Load_Sfnt_Table" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "FT_Library_SetLcdFilter" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "FT_Get_Var_Design_Coordinates" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "FT_Done_MM_Var" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "FT_Palette_Select" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "sched_getaffinity" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: NO
Checking for function "mmap" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "clock_gettime" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "feenableexcept" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: NO
Checking for function "fedisableexcept" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: NO
Checking for function "feclearexcept" with dependencies -lm, -ldl, fontconfig, freetype2, pixman-1: YES
Checking for function "strndup" : YES
Checking if "pthreads" : links: YES
Checking if "Atomic ops: cxx11" : links: YES
Library rt found: YES
Checking for function "shm_open" with dependency -lrt: YES
Compiler for C supports arguments -Wno-attributes: YES (cached)
Compiler for C supports arguments -Wno-unused-but-set-variable: YES (cached)
Compiler for C supports arguments -Wno-missing-field-initializers: YES (cached)
Compiler for C supports arguments -Wno-unused-parameter: YES (cached)
Compiler for C supports arguments -Wno-long-long: YES (cached)
Configuring cairo-features.h using configuration
Program sh found: YES (/usr/bin/sh)
Has header "execinfo.h" : NO
Configuring config.h using configuration
Build targets in project: 2
cairo 1.17.9
Surface Backends
Image : YES
Recording : YES
Observer : YES
Mime : YES
Tee : NO
Xlib : NO
Xlib Xrender : NO
Quartz : NO
Quartz-image : NO
XCB : NO
Win32 : NO
CairoScript : NO
PostScript : NO
PDF : NO
SVG : NO
Font Backends
User : YES
FreeType : YES
Fontconfig : YES
Win32 : NO
Win32 DWrite : NO
Quartz : NO
Functions
PNG functions : NO
X11-xcb : NO
XCB-shm : NO
Features and Utilities
cairo-trace: : NO
cairo-script-interpreter: NO
API reference : NO
User defined options
Cross files : ../../emscripten-build.ini
pkg_config_path : /home/erik/git/cairo-emscripten/cairo/libcairo/../../pkg/lib/pkgconfig
prefix : /home/erik/git/cairo-emscripten/cairo/libcairo/../../pkg
wrap_mode : nodownload
dwrite : disabled
glib : disabled
gtk2-utils : disabled
gtk_doc : false
png : disabled
quartz : disabled
spectre : disabled
symbol-lookup : disabled
tee : disabled
tests : disabled
xcb : disabled
xlib : disabled
xlib-xcb : disabled
zlib : disabled
Found ninja-1.11.1 at /usr/bin/ninja
WARNING: Cross file does not specify strip binary, result will not be stripped.
WARNING: Cross file does not specify strip binary, result will not be stripped.
ninja: Entering directory `build/'
[42/122] Compiling C object src/libcairo.a.p/cairo-image-surface.c.o
../src/cairo-image-surface.c:95:13: warning: enumeration value 'PIXMAN_r8g8b8_sRGB' not explicitly handled in switch [-Wswitch-enum]
95 | switch (pixman_format) {
| ^~~~~~~~~~~~~
1 warning generated.
[118/122] Compiling C object src/libcairo.a.p/cairo-ft-font.c.o
FAILED: src/libcairo.a.p/cairo-ft-font.c.o
/home/erik/git/emsdk/upstream/emscripten/emcc -Isrc/libcairo.a.p -Isrc -I../src -I. -I.. -I/home/erik/git/cairo-emscripten/fontconfig/libfontconfig/../../pkg/include -I/home/erik/git/cairo-emscripten/freetype/libfreetype/../../pkg/include/freetype2 -I/home/erik/git/cairo-emscripten/expat/libexpat/expat/../../../pkg/include -I/home/erik/git/cairo-emscripten/pixman/libpixman/../../pkg/include/pixman-1 -fvisibility=hidden -fcolor-diagnostics -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Oz -g -Wmissing-declarations -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wsign-compare -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wno-unused-but-set-variable -Wno-enum-conversion -fno-strict-aliasing -fno-common -D_GNU_SOURCE -pthread -Wno-attributes -Wno-unused-but-set-variable -Wno-missing-field-initializers -Wno-unused-parameter -Wno-long-long -D_REENTRANT -DCAIRO_COMPILATION -MD -MQ src/libcairo.a.p/cairo-ft-font.c.o -MF src/libcairo.a.p/cairo-ft-font.c.o.d -o src/libcairo.a.p/cairo-ft-font.c.o -c ../src/cairo-ft-font.c
In file included from ../src/cairo-ft-font.c:46:
../src/cairo-ft-private.h:87:30: error: unknown type name 'FT_Color'
87 | FT_Color *palette,
| ^
1 error generated.
emcc: error: '/home/erik/git/emsdk/upstream/bin/clang -target wasm32-unknown-emscripten -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_SHARED_MEMORY__=1 -DEMSCRIPTEN -Werror=implicit-function-declaration --sysroot=/home/erik/git/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/fakesdl -Xclang -iwithsysroot/include/compat -Isrc/libcairo.a.p -Isrc -I../src -I. -I.. -I/home/erik/git/cairo-emscripten/fontconfig/libfontconfig/../../pkg/include -I/home/erik/git/cairo-emscripten/freetype/libfreetype/../../pkg/include/freetype2 -I/home/erik/git/cairo-emscripten/expat/libexpat/expat/../../../pkg/include -I/home/erik/git/cairo-emscripten/pixman/libpixman/../../pkg/include/pixman-1 -fvisibility=hidden -fcolor-diagnostics -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Oz -g3 -Wmissing-declarations -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wsign-compare -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wno-unused-but-set-variable -Wno-enum-conversion -fno-strict-aliasing -fno-common -D_GNU_SOURCE -pthread -Wno-attributes -Wno-unused-but-set-variable -Wno-missing-field-initializers -Wno-unused-parameter -Wno-long-long -D_REENTRANT -DCAIRO_COMPILATION -MD -MQ src/libcairo.a.p/cairo-ft-font.c.o -MF src/libcairo.a.p/cairo-ft-font.c.o.d -c -matomics -mbulk-memory ../src/cairo-ft-font.c -o src/libcairo.a.p/cairo-ft-font.c.o' failed (returned 1)
[119/122] Compiling C object src/libcairo.a.p/cairo-colr-glyph-render.c.o
FAILED: src/libcairo.a.p/cairo-colr-glyph-render.c.o
/home/erik/git/emsdk/upstream/emscripten/emcc -Isrc/libcairo.a.p -Isrc -I../src -I. -I.. -I/home/erik/git/cairo-emscripten/fontconfig/libfontconfig/../../pkg/include -I/home/erik/git/cairo-emscripten/freetype/libfreetype/../../pkg/include/freetype2 -I/home/erik/git/cairo-emscripten/expat/libexpat/expat/../../../pkg/include -I/home/erik/git/cairo-emscripten/pixman/libpixman/../../pkg/include/pixman-1 -fvisibility=hidden -fcolor-diagnostics -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Oz -g -Wmissing-declarations -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wsign-compare -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wno-unused-but-set-variable -Wno-enum-conversion -fno-strict-aliasing -fno-common -D_GNU_SOURCE -pthread -Wno-attributes -Wno-unused-but-set-variable -Wno-missing-field-initializers -Wno-unused-parameter -Wno-long-long -D_REENTRANT -DCAIRO_COMPILATION -MD -MQ src/libcairo.a.p/cairo-colr-glyph-render.c.o -MF src/libcairo.a.p/cairo-colr-glyph-render.c.o.d -o src/libcairo.a.p/cairo-colr-glyph-render.c.o -c ../src/cairo-colr-glyph-render.c
In file included from ../src/cairo-colr-glyph-render.c:37:
../src/cairo-ft-private.h:87:30: error: unknown type name 'FT_Color'
87 | FT_Color *palette,
| ^
1 error generated.
emcc: error: '/home/erik/git/emsdk/upstream/bin/clang -target wasm32-unknown-emscripten -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_SHARED_MEMORY__=1 -DEMSCRIPTEN -Werror=implicit-function-declaration --sysroot=/home/erik/git/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/fakesdl -Xclang -iwithsysroot/include/compat -Isrc/libcairo.a.p -Isrc -I../src -I. -I.. -I/home/erik/git/cairo-emscripten/fontconfig/libfontconfig/../../pkg/include -I/home/erik/git/cairo-emscripten/freetype/libfreetype/../../pkg/include/freetype2 -I/home/erik/git/cairo-emscripten/expat/libexpat/expat/../../../pkg/include -I/home/erik/git/cairo-emscripten/pixman/libpixman/../../pkg/include/pixman-1 -fvisibility=hidden -fcolor-diagnostics -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Oz -g3 -Wmissing-declarations -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wsign-compare -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wno-unused-but-set-variable -Wno-enum-conversion -fno-strict-aliasing -fno-common -D_GNU_SOURCE -pthread -Wno-attributes -Wno-unused-but-set-variable -Wno-missing-field-initializers -Wno-unused-parameter -Wno-long-long -D_REENTRANT -DCAIRO_COMPILATION -MD -MQ src/libcairo.a.p/cairo-colr-glyph-render.c.o -MF src/libcairo.a.p/cairo-colr-glyph-render.c.o.d -c -matomics -mbulk-memory ../src/cairo-colr-glyph-render.c -o src/libcairo.a.p/cairo-colr-glyph-render.c.o' failed (returned 1)
[120/122] Compiling C object src/libcairo.a.p/cairo-svg-glyph-render.c.o
FAILED: src/libcairo.a.p/cairo-svg-glyph-render.c.o
/home/erik/git/emsdk/upstream/emscripten/emcc -Isrc/libcairo.a.p -Isrc -I../src -I. -I.. -I/home/erik/git/cairo-emscripten/fontconfig/libfontconfig/../../pkg/include -I/home/erik/git/cairo-emscripten/freetype/libfreetype/../../pkg/include/freetype2 -I/home/erik/git/cairo-emscripten/expat/libexpat/expat/../../../pkg/include -I/home/erik/git/cairo-emscripten/pixman/libpixman/../../pkg/include/pixman-1 -fvisibility=hidden -fcolor-diagnostics -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Oz -g -Wmissing-declarations -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wsign-compare -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wno-unused-but-set-variable -Wno-enum-conversion -fno-strict-aliasing -fno-common -D_GNU_SOURCE -pthread -Wno-attributes -Wno-unused-but-set-variable -Wno-missing-field-initializers -Wno-unused-parameter -Wno-long-long -D_REENTRANT -DCAIRO_COMPILATION -MD -MQ src/libcairo.a.p/cairo-svg-glyph-render.c.o -MF src/libcairo.a.p/cairo-svg-glyph-render.c.o.d -o src/libcairo.a.p/cairo-svg-glyph-render.c.o -c ../src/cairo-svg-glyph-render.c
In file included from ../src/cairo-svg-glyph-render.c:39:
../src/cairo-ft-private.h:87:30: error: unknown type name 'FT_Color'
87 | FT_Color *palette,
| ^
1 error generated.
emcc: error: '/home/erik/git/emsdk/upstream/bin/clang -target wasm32-unknown-emscripten -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_SHARED_MEMORY__=1 -DEMSCRIPTEN -Werror=implicit-function-declaration --sysroot=/home/erik/git/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/fakesdl -Xclang -iwithsysroot/include/compat -Isrc/libcairo.a.p -Isrc -I../src -I. -I.. -I/home/erik/git/cairo-emscripten/fontconfig/libfontconfig/../../pkg/include -I/home/erik/git/cairo-emscripten/freetype/libfreetype/../../pkg/include/freetype2 -I/home/erik/git/cairo-emscripten/expat/libexpat/expat/../../../pkg/include -I/home/erik/git/cairo-emscripten/pixman/libpixman/../../pkg/include/pixman-1 -fvisibility=hidden -fcolor-diagnostics -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Oz -g3 -Wmissing-declarations -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wsign-compare -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wno-unused-but-set-variable -Wno-enum-conversion -fno-strict-aliasing -fno-common -D_GNU_SOURCE -pthread -Wno-attributes -Wno-unused-but-set-variable -Wno-missing-field-initializers -Wno-unused-parameter -Wno-long-long -D_REENTRANT -DCAIRO_COMPILATION -MD -MQ src/libcairo.a.p/cairo-svg-glyph-render.c.o -MF src/libcairo.a.p/cairo-svg-glyph-render.c.o.d -c -matomics -mbulk-memory ../src/cairo-svg-glyph-render.c -o src/libcairo.a.p/cairo-svg-glyph-render.c.o' failed (returned 1)
ninja: build stopped: subcommand failed.