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 SwiftSDL3, reference 0.1.6 (64fb16), with Swift 6.2 for Linux on 4 Nov 2025 12:28:41 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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShaftUI/SwiftSDL3.git
Reference: 0.1.6
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/ShaftUI/SwiftSDL3
 * tag               0.1.6      -> FETCH_HEAD
HEAD is now at 64fb16e Add patch
Cloned https://github.com/ShaftUI/SwiftSDL3.git
Revision (git rev-parse @):
64fb16e7b2546cc33aefdad2304f909e08a5e54e
SUCCESS checkout https://github.com/ShaftUI/SwiftSDL3.git at 0.1.6
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ShaftUI/SwiftSDL3.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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b3eaa5734a03a9b8084848018342ef6c4e4ec1a618756d8de460b693a5f488ea
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
warning: 'spi-builder-workspace': Invalid Source '/host/spi-builder-workspace/Sources/SwiftSDL3/src/joystick/steam': File not found.
warning: 'spi-builder-workspace': Invalid Source '/host/spi-builder-workspace/Sources/SwiftSDL3/src/render/SDL_d3dmath.c': File not found.
warning: couldn't find pc file for libdrm
warning: couldn't find pc file for ibus-1.0
warning: couldn't find pc file for dbus-1
warning: couldn't find pc file for libdecor-0
warning: couldn't find pc file for libdrm
warning: couldn't find pc file for ibus-1.0
warning: couldn't find pc file for dbus-1
warning: couldn't find pc file for libdecor-0
Building for debugging...
[0/299] Write sources
/host/spi-builder-workspace/Sources/SwiftSDL3/wayland-generated-protocols/xdg-toplevel-icon-v1-protocol.c:29:10: fatal error: 'wayland-util.h' file not found
   29 | #include "wayland-util.h"
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[1/299] Compiling xdg-toplevel-icon-v1-protocol.c
[1/299] Compiling SDL_hashtable.c
[1/299] Compiling SDL_error.c
[1/299] Compiling SDL.c
[1/299] Compiling SDL_assert.c
[1/299] Compiling SDL_guid.c
[1/299] Write swift-version-24593BA9C3E375BF.txt
[1/299] Compiling SDL_hints.c
BUILD FAILURE 6.2 linux