Build Information
Failed to build FlutterSwift, reference 3.27.1 (722806
), with Swift 6.1 for Linux on 30 Apr 2025 05:23:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/FlutterSwift.git
Reference: 3.27.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/PADL/FlutterSwift
* tag 3.27.1 -> FETCH_HEAD
HEAD is now at 722806d update to Flutter 3.27.1
Submodule path 'Sources/CxxFlutterSwift/flutter-embedded-linux': checked out '61b90d507d68b1db2ec891bf06537def68fc3ab8'
Submodule 'Sources/CxxFlutterSwift/flutter-embedded-linux' (https://github.com/sony/flutter-embedded-linux) registered for path 'Sources/CxxFlutterSwift/flutter-embedded-linux'
Cloning into '/host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux'...
Cloned https://github.com/PADL/FlutterSwift.git
Revision (git rev-parse @):
722806d5818fe65c78f00f433416a3e41d3ddfd4
SUCCESS checkout https://github.com/PADL/FlutterSwift.git at 3.27.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/PADL/FlutterSwift.git
https://github.com/PADL/FlutterSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: The operation could not be completed. (NSCocoaErrorDomain error 256.)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/lhoward/AsyncExtensions
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-async-algorithms
[1/4965] Fetching swift-async-algorithms
[647/8801] Fetching swift-async-algorithms, swift-log
[912/9483] Fetching swift-async-algorithms, swift-log, asyncextensions
[9484/11188] Fetching swift-async-algorithms, swift-log, asyncextensions, swift-atomics
[5235/6223] Fetching swift-log, asyncextensions, swift-atomics
Fetched https://github.com/apple/swift-async-algorithms from cache (0.34s)
Fetched https://github.com/apple/swift-log from cache (0.36s)
[2370/2387] Fetching asyncextensions, swift-atomics
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.45s)
Fetched https://github.com/apple/swift-atomics from cache (0.45s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.90s)
Computing version for https://github.com/lhoward/AsyncExtensions
Computed https://github.com/lhoward/AsyncExtensions at 0.9.2 (0.43s)
Fetching https://github.com/apple/swift-collections.git
[1/16269] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.55s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (2.24s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.4 (0.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (2.37s)
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at 0.9.2
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
warning: you may be able to install egl using your system-packager:
apt-get install libegl1-mesa-dev libgles2-mesa-dev
warning: you may be able to install xkbcommon using your system-packager:
apt-get install libxkbcommon-dev
warning: you may be able to install libuv using your system-packager:
apt-get install libuv1-dev
warning: you may be able to install libinput using your system-packager:
apt-get install libinput-dev
warning: you may be able to install libdrm using your system-packager:
apt-get install libdrm-dev
warning: you may be able to install libudev using your system-packager:
apt-get install libudev-dev
warning: you may be able to install gbm using your system-packager:
apt-get install libgbm-dev
warning: you may be able to install egl using your system-packager:
apt-get install libegl1-mesa-dev libgles2-mesa-dev
warning: you may be able to install xkbcommon using your system-packager:
apt-get install libxkbcommon-dev
warning: you may be able to install libuv using your system-packager:
apt-get install libuv1-dev
warning: you may be able to install libinput using your system-packager:
apt-get install libinput-dev
warning: you may be able to install libdrm using your system-packager:
apt-get install libdrm-dev
warning: you may be able to install libudev using your system-packager:
apt-get install libudev-dev
warning: you may be able to install gbm using your system-packager:
apt-get install libgbm-dev
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Examples/counter/swift/swift-java.config
Building for debugging...
[0/73] Write sources
[9/73] Compiling _AtomicsShims.c
[10/73] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/window/native_window_drm_gbm.cc:5:
/host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/window/native_window_drm_gbm.h:8:10: fatal error: 'gbm.h' file not found
8 | #include <gbm.h>
| ^~~~~~~
1 error generated.
[11/73] Compiling native_window_drm_gbm.cc
[11/73] Compiling core_implementations.cc
[11/73] Compiling vsync_waiter.cc
[11/73] Compiling standard_codec.cc
[11/73] Compiling CxxFlutterSwift CxxFlutterSwift.cpp
[11/73] Compiling plugin_registrar.cc
[11/73] Compiling string_message_codec.cc
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/window/native_window_drm.cc:5:
/host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/window/native_window_drm.h:8:10: fatal error: 'xf86drmMode.h' file not found
8 | #include <xf86drmMode.h>
| ^~~~~~~~~~~~~~~
[11/73] Compiling native_window_drm.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: you may be able to install egl using your system-packager:
apt-get install libegl1-mesa-dev libgles2-mesa-dev
warning: you may be able to install xkbcommon using your system-packager:
apt-get install libxkbcommon-dev
warning: you may be able to install libuv using your system-packager:
apt-get install libuv1-dev
warning: you may be able to install libinput using your system-packager:
apt-get install libinput-dev
warning: you may be able to install libdrm using your system-packager:
apt-get install libdrm-dev
warning: you may be able to install libudev using your system-packager:
apt-get install libudev-dev
warning: you may be able to install gbm using your system-packager:
apt-get install libgbm-dev
warning: you may be able to install egl using your system-packager:
apt-get install libegl1-mesa-dev libgles2-mesa-dev
warning: you may be able to install xkbcommon using your system-packager:
apt-get install libxkbcommon-dev
warning: you may be able to install libuv using your system-packager:
apt-get install libuv1-dev
warning: you may be able to install libinput using your system-packager:
apt-get install libinput-dev
warning: you may be able to install libdrm using your system-packager:
apt-get install libdrm-dev
warning: you may be able to install libudev using your system-packager:
apt-get install libudev-dev
warning: you may be able to install gbm using your system-packager:
apt-get install libgbm-dev
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Examples/counter/swift/swift-java.config
[0/1] Planning build
Building for debugging...
[0/63] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/window/native_window_drm.cc:5:
/host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/window/native_window_drm.h:8:10: fatal error: 'xf86drmMode.h' file not found
8 | #include <xf86drmMode.h>
| ^~~~~~~~~~~~~~~
1 error generated.
[1/63] Compiling native_window_drm.cc
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/surface/surface_gl.cc:5:
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/surface/surface_gl.h:10:
/host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/surface/context_egl.h:8:10: fatal error: 'EGL/egl.h' file not found
8 | #include <EGL/egl.h>
| ^~~~~~~~~~~
[1/63] Compiling surface_gl.cc
[1/63] Compiling vsync_waiter.cc
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/surface/surface_base.cc:5:
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/surface/surface_base.h:10:
/host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/surface/context_egl.h:8:10: fatal error: 'EGL/egl.h' file not found
8 | #include <EGL/egl.h>
| ^~~~~~~~~~~
[1/63] Compiling surface_base.cc
[1/63] Compiling system_utils.cc
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/surface/surface_decoration.cc:5:
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/surface/surface_decoration.h:10:
/host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/surface/context_egl.h:8:10: fatal error: 'EGL/egl.h' file not found
8 | #include <EGL/egl.h>
| ^~~~~~~~~~~
[1/63] Compiling surface_decoration.cc
[1/63] Compiling task_runner.cc
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/window/native_window_drm_gbm.cc:5:
/host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/window/native_window_drm_gbm.h:8:10: fatal error: 'gbm.h' file not found
8 | #include <gbm.h>
| ^~~~~~~
[1/63] Compiling native_window_drm_gbm.cc
BUILD FAILURE 6.1 linux