The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FreeType, reference 2.14.3 (91d460), with Swift 6.4 for Android on 27 Sep 2026 23:47:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EvgenijLutz/FreeType.git
Reference: 2.14.3
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/EvgenijLutz/FreeType
 * tag               2.14.3     -> FETCH_HEAD
HEAD is now at 91d4601 Update readme
Cloned https://github.com/EvgenijLutz/FreeType.git
Revision (git rev-parse @):
91d46016fbb637af85d97322c09dd9149072bfb0
SUCCESS checkout https://github.com/EvgenijLutz/FreeType.git at 2.14.3
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/EvgenijLutz/FreeType.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/EvgenijLutz/LibPNG.git
Fetching https://github.com/EvgenijLutz/Brotli.git
[1/208] Fetching brotli
Fetched https://github.com/EvgenijLutz/Brotli.git (0.69s)
[1/473] Fetching libpng
Fetched https://github.com/EvgenijLutz/LibPNG.git (0.99s)
Computing version for https://github.com/EvgenijLutz/Brotli.git
Computed https://github.com/EvgenijLutz/Brotli.git at 1.2.0 (1.17s)
Computing version for https://github.com/EvgenijLutz/LibPNG.git
Computed https://github.com/EvgenijLutz/LibPNG.git at 1.6.58 (0.16s)
Creating working copy for https://github.com/EvgenijLutz/Brotli.git
Working copy of https://github.com/EvgenijLutz/Brotli.git resolved at 1.2.0
Creating working copy for https://github.com/EvgenijLutz/LibPNG.git
Working copy of https://github.com/EvgenijLutz/LibPNG.git resolved at 1.6.58
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 310]
[Starting]
[50 / 92] msdfgen
[53 / 92] msdfgen
/host/spi-builder-workspace/Sources/msdfgen/ext/save-png.cpp:15:10: fatal error: 'png.h' file not found
   15 | #include <png.h>
      |          ^~~~~~~
1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/FreeType.build/Debug-android-aarch64/msdfgen-t.build/Objects-normal/aarch64/save-png.o /host/spi-builder-workspace/Sources/msdfgen/ext/save-png.cpp normal aarch64 c++ com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/FreeType.build/Debug-android-aarch64/msdfgen-t.build/Objects-normal/aarch64/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp

    /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/clang -x c++ -target aarch64-unknown-linux-android28 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body --sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -Wall -Wall @/host/spi-builder-workspace/.build/out/Intermediates.noindex/FreeType.build/Debug-android-aarch64/msdfgen-t.build/Objects-normal/aarch64/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/FreeType.build/Debug-android-aarch64/msdfgen-t.build/Objects-normal/aarch64/save-png.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/FreeType.build/Debug-android-aarch64/msdfgen-t.build/Objects-normal/aarch64/save-png.dia -c /host/spi-builder-workspace/Sources/msdfgen/ext/save-png.cpp -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/FreeType.build/Debug-android-aarch64/msdfgen-t.build/Objects-normal/aarch64/save-png.o
[55 / 92] msdfgen
error: Build failed
BUILD FAILURE 6.4 android