The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-bigint-gmp, reference 0.0.1 (a44529), with Swift 6.2 for Android on 16 Aug 2026 03:07:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-bigint-gmp.git
Reference: 0.0.1
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/dankogai/swift-bigint-gmp
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at a445292 Add Benchmark.md and the Benchmarks/ harness
Cloned https://github.com/dankogai/swift-bigint-gmp.git
Revision (git rev-parse @):
a445292be1b652e0cbb3369a1ac5f82e1a9268d5
SUCCESS checkout https://github.com/dankogai/swift-bigint-gmp.git at 0.0.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/dankogai/swift-bigint-gmp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:573917aa137cc6f081a4f3d2a0330bac24553e9cd713cd758adf65046f5c6b90
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
warning: you may be able to install gmp using your system-packager:
    apt-get install libgmp-dev
warning: you may be able to install gmp using your system-packager:
    apt-get install libgmp-dev
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--11D90AFD9DD3AB2.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module GMPBigInt
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Cgmp/shim.h:1:10: error: 'gmp.h' file not found
1 | #include <gmp.h>
  |          `- error: 'gmp.h' file not found
2 |
/host/spi-builder-workspace/Sources/GMPBigInt/GMPBigInt.swift:1:8: error: could not build C module 'Cgmp'
  1 | import Cgmp
    |        `- error: could not build C module 'Cgmp'
  2 |
  3 | // gmp.h wraps every mpz_* entry point in an object-like macro over the real
[4/4] Compiling GMPBigInt GMPBigInt.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Cgmp/shim.h:1:10: error: 'gmp.h' file not found
1 | #include <gmp.h>
  |          `- error: 'gmp.h' file not found
2 |
/host/spi-builder-workspace/Sources/GMPBigInt/GMPBigInt.swift:1:8: error: could not build C module 'Cgmp'
  1 | import Cgmp
    |        `- error: could not build C module 'Cgmp'
  2 |
  3 | // gmp.h wraps every mpz_* entry point in an object-like macro over the real
BUILD FAILURE 6.2 android