Build Information
Failed to build swift-bigint-gmp, reference 0.0.1 (a44529), with Swift 6.2 for macOS (SPM) on 16 Aug 2026 03:22:48 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-bigint-gmp.git
Reference: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/dankogai/swift-bigint-gmp.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module GMPBigInt
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/GMPBigInt/GMPBigInt.swift:1:8: error: could not build Objective-C module 'Cgmp'
1 | import Cgmp
| `- error: could not build Objective-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:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/GMPBigInt/GMPBigInt.swift:1:8: error: could not build Objective-C module 'Cgmp'
1 | import Cgmp
| `- error: could not build Objective-C module 'Cgmp'
2 |
3 | // gmp.h wraps every mpz_* entry point in an object-like macro over the real
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install gmp using your system-packager:
brew install gmp
warning: you may be able to install gmp using your system-packager:
brew install gmp
BUILD FAILURE 6.2 macosSpm