Build Information
Failed to build FirebladePAL, reference main (d54ec8
), with Swift 5.9 for Linux on 7 Mar 2025 20:17:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-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/fireblade-engine/pal.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/fireblade-engine/pal
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d54ec84 Update renovate.json
Cloned https://github.com/fireblade-engine/pal.git
Revision (git rev-parse @):
d54ec8410406c5f207a56ec1ac250e8e161a1bb9
SUCCESS checkout https://github.com/fireblade-engine/pal.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/fireblade-engine/pal.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/ctreffs/SwiftNFD.git
Fetching https://github.com/ctreffs/SwiftSDL2.git
Fetching https://github.com/ctreffs/SwiftVulkan
[1/294] Fetching swiftvulkan
[222/686] Fetching swiftvulkan, swiftnfd
[687/2038] Fetching swiftvulkan, swiftnfd, swiftsdl2
Fetching https://github.com/fireblade-engine/time.git
Fetching https://github.com/fireblade-engine/math.git
Fetched https://github.com/ctreffs/SwiftVulkan (0.59s)
Fetched https://github.com/ctreffs/SwiftNFD.git (0.59s)
Fetched https://github.com/ctreffs/SwiftSDL2.git (0.59s)
[1/2650] Fetching math
[2651/3056] Fetching math, time
Fetched https://github.com/fireblade-engine/math.git (0.25s)
Fetched https://github.com/fireblade-engine/time.git (0.29s)
Computing version for https://github.com/ctreffs/SwiftNFD.git
Computed https://github.com/ctreffs/SwiftNFD.git at 1.0.2 (0.44s)
Computing version for https://github.com/ctreffs/SwiftVulkan
Computed https://github.com/ctreffs/SwiftVulkan at 0.2.1 (0.35s)
Computing version for https://github.com/ctreffs/SwiftSDL2.git
Computed https://github.com/ctreffs/SwiftSDL2.git at 1.4.1 (0.46s)
Computing version for https://github.com/fireblade-engine/time.git
Computed https://github.com/fireblade-engine/time.git at 0.2.0 (0.42s)
Computing version for https://github.com/fireblade-engine/math.git
Computed https://github.com/fireblade-engine/math.git at 0.13.0 (0.42s)
Creating working copy for https://github.com/ctreffs/SwiftVulkan
Working copy of https://github.com/ctreffs/SwiftVulkan resolved at 0.2.1
Creating working copy for https://github.com/fireblade-engine/math.git
Working copy of https://github.com/fireblade-engine/math.git resolved at 0.13.0
Creating working copy for https://github.com/fireblade-engine/time.git
Working copy of https://github.com/fireblade-engine/time.git resolved at 0.2.0
Creating working copy for https://github.com/ctreffs/SwiftSDL2.git
Working copy of https://github.com/ctreffs/SwiftSDL2.git resolved at 1.4.1
Creating working copy for https://github.com/ctreffs/SwiftNFD.git
Working copy of https://github.com/ctreffs/SwiftNFD.git resolved at 1.0.2
warning: you may be able to install sdl2 using your system-packager:
apt-get install libsdl2-dev
warning: you may be able to install vulkan using your system-packager:
apt-get install libvulkan-dev libvulkan1
Building for debugging...
[0/18] Compiling CNFD nfd_win.cpp
[1/18] Compiling CNFD nfd_gtk.c
[2/18] Compiling CNFD nfd_cocoa.m
[3/18] Compiling CNFD nfd_default.c
[4/18] Compiling CNFD nfd_common.c
[6/118] Compiling FirebladeTime TimeProviding.swift
[7/118] Compiling NFD SwiftNFD.swift
[8/118] Emitting module NFD
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/119] Emitting module SDL
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shims.h"
^
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:14: note: in file included from /host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:
#include "linux.h" // linux
^
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/linux.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
^
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/SDL2/SDL2.swift:9:23: error: could not build C module 'CSDL2'
@_exported import CSDL2
^
[10/119] Compiling SDL SDL2.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shims.h"
^
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:14: note: in file included from /host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:
#include "linux.h" // linux
^
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/linux.h:1:10: error: 'SDL.h' file not found
#include <SDL.h>
^
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/SDL2/SDL2.swift:9:23: error: could not build C module 'CSDL2'
@_exported import CSDL2
^
[12/120] Compiling FirebladeTime Time.swift
[13/120] Compiling FirebladeTime Timer.swift
error: fatalError
BUILD FAILURE 5.9 linux