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 5.10 for Linux on 4 Nov 2025 12:30:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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-5.10-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:             5.10
Building package at path:  $PWD
https://github.com/ShaftUI/SwiftSDL3.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:876c9f54cbb08e857839f8acb28beadbc9bf56a8488855996222d9f683e93e2f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-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
Building for debugging...
[0/299] Compiling SDL_dummyaudio.c
[1/299] Compiling SDL_hashtable.c
[2/299] Write sources
In file included from /host/spi-builder-workspace/Sources/SwiftSDL3/src/audio/alsa/SDL_alsa_audio.c:40:
/host/spi-builder-workspace/Sources/SwiftSDL3/src/audio/alsa/SDL_alsa_audio.h:26:10: fatal error: 'alsa/asoundlib.h' file not found
#include <alsa/asoundlib.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
[3/299] Compiling SDL_alsa_audio.c
[3/299] Compiling xdg-toplevel-icon-v1-protocol.c
[3/299] Compiling SDL_evdev_capabilities.c
[3/299] Compiling SDL_sndioaudio.c
[3/299] Compiling SDL_evdev.c
[3/299] Compiling SDL_camera.c
In file included from /host/spi-builder-workspace/Sources/SwiftSDL3/src/audio/pulseaudio/SDL_pulseaudio.c:35:
/host/spi-builder-workspace/Sources/SwiftSDL3/src/audio/pulseaudio/SDL_pulseaudio.h:26:10: fatal error: 'pulse/pulseaudio.h' file not found
#include <pulse/pulseaudio.h>
         ^~~~~~~~~~~~~~~~~~~~
[3/299] Compiling SDL_pulseaudio.c
[3/299] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux