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 main (d33d99), with Swift 5.10 for Linux on 4 Feb 2025 06:51:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShaftUI/SwiftSDL3.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d33d998 Fix Windows ci build
Cloned https://github.com/ShaftUI/SwiftSDL3.git
Revision (git rev-parse @):
d33d998856d263f19f7fc8c5f893fbb82e6564dc
SUCCESS checkout https://github.com/ShaftUI/SwiftSDL3.git at main
========================================
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-1":/host -w "$PWD" 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:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
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/284] Compiling SDL_list.c
[1/284] Compiling SDL_assert.c
[2/284] Compiling SDL_hints.c
[2/284] Compiling SDL_guid.c
[4/284] Compiling SDL_hashtable.c
[5/284] Compiling SDL_log.c
/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
#include "wayland-util.h"
         ^~~~~~~~~~~~~~~~
1 error generated.
[6/284] Compiling xdg-toplevel-icon-v1-protocol.c
[6/284] Compiling SDL_evdev_kbd.c
/host/spi-builder-workspace/Sources/SwiftSDL3/wayland-generated-protocols/xdg-shell-protocol.c:33:10: fatal error: 'wayland-util.h' file not found
#include "wayland-util.h"
         ^~~~~~~~~~~~~~~~
1 error generated.
[6/284] Compiling xdg-shell-protocol.c
/host/spi-builder-workspace/Sources/SwiftSDL3/wayland-generated-protocols/xdg-output-unstable-v1-protocol.c:28:10: fatal error: 'wayland-util.h' file not found
#include "wayland-util.h"
         ^~~~~~~~~~~~~~~~
1 error generated.
/host/spi-builder-workspace/Sources/SwiftSDL3/wayland-generated-protocols/xdg-foreign-unstable-v2-protocol.c:28:10: fatal error: 'wayland-util.h' file not found
#include "wayland-util.h"
         ^~~~~~~~~~~~~~~~
1 error generated.
[6/284] Compiling xdg-output-unstable-v1-protocol.c
In file included from /host/spi-builder-workspace/Sources/SwiftSDL3/src/SDL.c:31:
/host/spi-builder-workspace/Sources/SwiftSDL3/src/core/linux/SDL_dbus.h:29:10: fatal error: 'dbus/dbus.h' file not found
#include <dbus/dbus.h>
         ^~~~~~~~~~~~~
1 error generated.
[6/284] Compiling SDL.c
[6/284] Compiling xdg-foreign-unstable-v2-protocol.c
/host/spi-builder-workspace/Sources/SwiftSDL3/wayland-generated-protocols/xdg-dialog-v1-protocol.c:28:10: fatal error: 'wayland-util.h' file not found
#include "wayland-util.h"
         ^~~~~~~~~~~~~~~~
1 error generated.
[6/284] Compiling xdg-dialog-v1-protocol.c
[6/284] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux