Build Information
Failed to build FlutterSwift, reference main (d8c2b5
), with Swift 6.0 for Linux on 4 Nov 2024 22:21: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-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/FlutterSwift.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/PADL/FlutterSwift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d8c2b57 don't explicitly import Foundation on macOS
Submodule path 'Sources/CxxFlutterSwift/flutter-embedded-linux': checked out 'a938f2b2064bb25b58c5207f6f5c3dfb9972fadf'
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 @):
d8c2b570166465dee552bb850668a9b1e6c857c4
SUCCESS checkout https://github.com/PADL/FlutterSwift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/PADL/FlutterSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/lhoward/AsyncExtensions
[1/505] Fetching asyncextensions
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.30s)
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/apple/swift-collections.git
[1/4557] Fetching swift-async-algorithms
[2052/6126] Fetching swift-async-algorithms, swift-atomics
[6127/21601] Fetching swift-async-algorithms, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics from cache (0.36s)
Fetched https://github.com/apple/swift-async-algorithms from cache (0.36s)
[155/15475] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.19s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.2 (0.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.73s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.50s)
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-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at linux (7a096ed)
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.2
warning: you may be able to install gbm using your system-packager:
apt-get install libgbm-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 libdrm using your system-packager:
apt-get install libdrm-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 libuv using your system-packager:
apt-get install libuv1-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 egl using your system-packager:
apt-get install libegl1-mesa-dev libgles2-mesa-dev
Building for debugging...
[0/69] Compiling engine_switches.cc
[1/69] Compiling incoming_message_dispatcher.cc
[2/69] Write sources
[3/69] Compiling path_utils.cc
[4/69] Write sources
[10/69] Compiling _AtomicsShims.c
[11/69] Compiling json_method_codec.cc
[12/69] Compiling lifecycle_plugin.cc
[13/69] Compiling text_input_model.cc
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/plugins/mouse_cursor_plugin.cc:5:
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/plugins/mouse_cursor_plugin.h:13:
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/window_binding_handler.h:12:
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 error generated.
[14/69] Compiling mouse_cursor_plugin.cc
[14/69] Compiling system_utils.cc
[14/69] Compiling task_runner.cc
[14/69] Compiling vsync_waiter.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>
| ^~~~~~~~~~~~~~~
[14/69] Compiling native_window_drm.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>
| ^~~~~~~
[14/69] Compiling native_window_drm_gbm.cc
[14/69] Compiling json_message_codec.cc
[14/69] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux