The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build MapLibre Native, reference 6.18.1 (52421b), with Swift 6.0 for Linux on 31 Aug 2025 05:41:50 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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maplibre/maplibre-gl-native-distribution.git
Reference: 6.18.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/maplibre/maplibre-gl-native-distribution
 * tag               6.18.1     -> FETCH_HEAD
HEAD is now at 52421bf Release 6.18.1
Cloned https://github.com/maplibre/maplibre-gl-native-distribution.git
Revision (git rev-parse @):
52421bf02a8b47a179ed11553e80aa400913e55e
SUCCESS checkout https://github.com/maplibre/maplibre-gl-native-distribution.git at 6.18.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/maplibre/maplibre-gl-native-distribution.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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:2ffdcefcdb291d9eb78a77ed5e4b4766a710a1cb89004e0bfdb0fefda731df2f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[1369/10200584] Downloading https://github.com/maplibre/maplibre-native/releases/download/ios-v6.18.1/MapLibre.dynamic.xcframework.zip
Downloading binary artifact https://github.com/maplibre/maplibre-native/releases/download/ios-v6.18.1/MapLibre.dynamic.xcframework.zip
Downloaded https://github.com/maplibre/maplibre-native/releases/download/ios-v6.18.1/MapLibre.dynamic.xcframework.zip (1.27s)
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 6.0 linux