The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CLMDB, reference 0.9.31 (30d452), with Swift 6.3 for Android on 14 Apr 2026 07:20:36 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tannerdsilva/CLMDB.git
Reference: 0.9.31
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/tannerdsilva/CLMDB
 * tag               0.9.31     -> FETCH_HEAD
HEAD is now at 30d4526 re-release of 0.9.31 with improved PackageDescription and less shimming bullshit
Submodule path 'lmdb': checked out 'ce201088de95d26fc0da36ba805bf2ddc2ba74ff'
Submodule 'lmdb' (https://git.openldap.org/openldap/openldap.git) registered for path 'lmdb'
Cloning into '/host/spi-builder-workspace/lmdb'...
Cloned https://github.com/tannerdsilva/CLMDB.git
Revision (git rev-parse @):
30d45263c8e512b01ab073e77ebff09039bdc593
SUCCESS checkout https://github.com/tannerdsilva/CLMDB.git at 0.9.31
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/tannerdsilva/CLMDB.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
[0/2] Compiling CLMDB midl.c
/host/spi-builder-workspace/Sources/CLMDB/mdb.c:4924:17: error: call to undeclared function 'pthread_mutexattr_setrobust'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 4924 |                 if (!rc) rc = pthread_mutexattr_setrobust(&mattr, PTHREAD_MUTEX_ROBUST);
      |                               ^
/host/spi-builder-workspace/Sources/CLMDB/mdb.c:4924:53: error: use of undeclared identifier 'PTHREAD_MUTEX_ROBUST'
 4924 |                 if (!rc) rc = pthread_mutexattr_setrobust(&mattr, PTHREAD_MUTEX_ROBUST);
      |                                                                   ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CLMDB/mdb.c:10311:10: error: call to undeclared function 'pthread_mutex_consistent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 10311 |                         rc2 = mdb_mutex_consistent(mutex);
       |                               ^
/host/spi-builder-workspace/Sources/CLMDB/mdb.c:374:37: note: expanded from macro 'mdb_mutex_consistent'
  374 | #define mdb_mutex_consistent(mutex)     pthread_mutex_consistent(mutex)
      |                                         ^
/host/spi-builder-workspace/Sources/CLMDB/mdb.c:10311:10: note: did you mean 'pthread_mutex_init'?
/host/spi-builder-workspace/Sources/CLMDB/mdb.c:374:37: note: expanded from macro 'mdb_mutex_consistent'
  374 | #define mdb_mutex_consistent(mutex)     pthread_mutex_consistent(mutex)
      |                                         ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/pthread.h:242:5: note: 'pthread_mutex_init' declared here
  242 | int pthread_mutex_init(pthread_mutex_t* _Nonnull __mutex, const pthread_mutexattr_t* _Nullable __attr);
      |     ^
3 errors generated.
[1/2] Compiling CLMDB mdb.c
BUILD FAILURE 6.3 android