Build Information
Failed to build swift-libgit2, reference v1.9.2 (cb7704), with Swift 6.2 for Android on 14 Dec 2025 12:24:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Formkunft/swift-libgit2.git
Reference: v1.9.2
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/Formkunft/swift-libgit2
* tag v1.9.2 -> FETCH_HEAD
HEAD is now at cb7704b Update to libgit2 1.9.2
Submodule path 'Sources/Clibgit2': checked out 'ca225744b992bf2bf24e9a2eb357ddef78179667'
Submodule 'Sources/Clibgit2' (https://github.com/libgit2/libgit2) registered for path 'Sources/Clibgit2'
Cloning into '/host/spi-builder-workspace/Sources/Clibgit2'...
Cloned https://github.com/Formkunft/swift-libgit2.git
Revision (git rev-parse @):
cb7704bd880669d59e739b177e61c468f5894910
SUCCESS checkout https://github.com/Formkunft/swift-libgit2.git at v1.9.2
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/Formkunft/swift-libgit2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:5dcfe09194e3c36609f58c2a9689c9c974fddafea0cac7c12077a98d08c6b397
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/210] Compiling http.c
[1/210] Compiling pcre_chartables.c
[2/210] Compiling pcre_byte_order.c
[3/210] Compiling pcre_config.c
[4/210] Compiling zstream.c
[5/210] Compiling pcre_dfa_exec.c
[6/210] Compiling varint.c
[7/210] Compiling vector.c
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/libgit2/diff_file.c:8:
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/libgit2/diff_file.h:12:
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/libgit2/diff.h:18:
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/libgit2/iterator.h:15:
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/libgit2/ignore.h:12:
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/libgit2/repository.h:21:
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/libgit2/refs.h:16:
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/libgit2/oid.h:14:
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/util/hash.h:13:
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/util/hash/sha.h:17:
/host/spi-builder-workspace/Sources/Clibgit2/src/util/hash/common_crypto.h:13:10: fatal error: 'CommonCrypto/CommonDigest.h' file not found
13 | #include <CommonCrypto/CommonDigest.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[8/210] Compiling diff_file.c
[8/210] Compiling wildmatch.c
[8/210] Compiling util.c
[8/210] Compiling realpath.c
[8/210] Compiling utf8.c
[8/210] Compiling process.c
[8/210] Compiling pcre_compile.c
[8/210] Compiling llhttp.c
BUILD FAILURE 6.2 android