Build Information
Failed to build FlutterSwift, reference main (aed62b
), with Swift 5.10 for Linux on 5 Sep 2024 12:10:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.52.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 aed62ba update to Flutter 3.24.1
Submodule path 'Sources/CxxFlutterSwift/flutter-embedded-linux': checked out '595f7f5bb02a32eb09a3ad136a5f9736e0fa7244'
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 @):
aed62ba13f21669697baf93f64d6aa1cae9c0869
SUCCESS checkout https://github.com/PADL/FlutterSwift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/PADL/FlutterSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:a70f701911643a3a4293839e0e79d56dcc32eed4840549b67640dc1034af7f44
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/lhoward/AsyncExtensions
[1/492] Fetching asyncextensions
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.19s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-async-algorithms
[1/4473] Fetching swift-async-algorithms
[4474/19481] Fetching swift-async-algorithms, swift-collections
Fetched https://github.com/apple/swift-async-algorithms from cache (0.88s)
Fetched https://github.com/apple/swift-collections.git from cache (0.90s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.1 (0.33s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.3 (0.50s)
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at linux (949c716)
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.3
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.1
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...
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/external_texture_pixelbuffer.cc:5:
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/external_texture_pixelbuffer.h:14:
/host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/external_texture.h:13:10: fatal error: 'GLES2/gl2.h' file not found
#include <GLES2/gl2.h>
^~~~~~~~~~~~~
1 error generated.
[0/66] Compiling external_texture_pixelbuffer.cc
[0/66] Compiling flutter_elinux_engine.cc
[0/66] Compiling flutter_elinux_texture_registrar.cc
[0/66] Compiling flutter_elinux.cc
[0/66] Compiling flutter_elinux_view.cc
[0/66] Compiling logger.cc
[0/66] Compiling key_event_plugin.cc
[0/66] Compiling flutter_project_bundle.cc
BUILD FAILURE 5.10 linux