Build Information
Failed to build GPUImage, reference master (3a2275), with Swift 6.4 for Android on 16 Sep 2026 05:40:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradlarson/gpuimage2.git
Reference: master
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/bradlarson/gpuimage2
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3a2275e Added ability to customize the orientation of the camera.
Cloned https://github.com/bradlarson/gpuimage2.git
Revision (git rev-parse @):
3a2275e48716a6ebdab0d4098bd7d90321ef4143
SUCCESS checkout https://github.com/bradlarson/gpuimage2.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/bradlarson/gpuimage2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/twostraws/SwiftGD.git
Fetching https://github.com/BradLarson/CVideo4Linux.git
Fetching https://github.com/BradLarson/CFreeGLUT.git
Fetching https://github.com/BradLarson/COpenGL.git
[1/11] Fetching cfreeglut
[4/24] Fetching cfreeglut, cvideo4linux
Fetched https://github.com/BradLarson/CVideo4Linux.git (0.43s)
Fetched https://github.com/BradLarson/CFreeGLUT.git (0.43s)
[1/491] Fetching swiftgd
[340/507] Fetching swiftgd, copengl
Fetched https://github.com/BradLarson/COpenGL.git (0.89s)
Fetched https://github.com/twostraws/SwiftGD.git (0.89s)
Computing version for https://github.com/BradLarson/CVideo4Linux.git
Computed https://github.com/BradLarson/CVideo4Linux.git at 1.0.2 (1.96s)
Computing version for https://github.com/BradLarson/CFreeGLUT.git
Computed https://github.com/BradLarson/CFreeGLUT.git at 1.0.1 (0.18s)
Computing version for https://github.com/BradLarson/COpenGL.git
Computed https://github.com/BradLarson/COpenGL.git at 1.0.2 (0.18s)
Computing version for https://github.com/twostraws/SwiftGD.git
Computed https://github.com/twostraws/SwiftGD.git at 2.3.0 (0.19s)
Fetching https://github.com/twostraws/Cgd.git
[1/20] Fetching cgd
Fetched https://github.com/twostraws/Cgd.git (0.48s)
Computing version for https://github.com/twostraws/Cgd.git
Computed https://github.com/twostraws/Cgd.git at 0.2.0 (0.67s)
Creating working copy for https://github.com/twostraws/SwiftGD.git
Working copy of https://github.com/twostraws/SwiftGD.git resolved at 2.3.0
Creating working copy for https://github.com/BradLarson/CFreeGLUT.git
Working copy of https://github.com/BradLarson/CFreeGLUT.git resolved at 1.0.1
Creating working copy for https://github.com/BradLarson/CVideo4Linux.git
Working copy of https://github.com/BradLarson/CVideo4Linux.git resolved at 1.0.2
Creating working copy for https://github.com/BradLarson/COpenGL.git
Working copy of https://github.com/BradLarson/COpenGL.git resolved at 1.0.2
Creating working copy for https://github.com/twostraws/Cgd.git
Working copy of https://github.com/twostraws/Cgd.git resolved at 0.2.0
warning: 'cvideo4linux': ignoring declared target(s) 'CVideo4Linux' in the system package
warning: 'cfreeglut': ignoring declared target(s) 'CFreeGLUT' in the system package
warning: 'copengl': ignoring declared target(s) 'COpenGL' in the system package
warning: 'cgd': ignoring declared target(s) 'Cgd' in the system package
warning: 'spi-builder-workspace': dependency 'copengl' is not used by any target
warning: 'spi-builder-workspace': dependency 'cfreeglut' is not used by any target
warning: 'spi-builder-workspace': dependency 'cvideo4linux' is not used by any target
warning: 'cvideo4linux': ignoring declared target(s) 'CVideo4Linux' in the system package
warning: 'cfreeglut': ignoring declared target(s) 'CFreeGLUT' in the system package
warning: 'copengl': ignoring declared target(s) 'COpenGL' in the system package
warning: 'cgd': ignoring declared target(s) 'Cgd' in the system package
warning: 'spi-builder-workspace': dependency 'copengl' is not used by any target
warning: 'spi-builder-workspace': dependency 'cfreeglut' is not used by any target
warning: 'spi-builder-workspace': dependency 'cvideo4linux' is not used by any target
warning: 'cfreeglut': you may be able to install freeglut3-dev using your system-packager:
apt-get install freeglut3-dev
warning: 'copengl': you may be able to install mesa-commmon-dev using your system-packager:
apt-get install mesa-common-dev
warning: 'cvideo4linux': you may be able to install libv4l-dev using your system-packager:
apt-get install libv4l-dev
warning: 'cgd': couldn't find pc file for gdlib
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 218]
[Creating build graph]
[1m/host/spi-builder-workspace/framework/Source/Linux/V4LSupplement/v4lfuncs.c:3:10: [0m[0;1;31mfatal error: [0m[1m'libv4l2.h' file not found[0m
3 | #include [0;32m"libv4l2.h"[0m
| [0;1;32m ^~~~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/GPUImage.build/Debug-android-aarch64/V4LSupplement-t.build/Objects-normal/aarch64/v4lfuncs.o /host/spi-builder-workspace/framework/Source/Linux/V4LSupplement/v4lfuncs.c normal aarch64 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/GPUImage.build/Debug-android-aarch64/V4LSupplement-t.build/Objects-normal/aarch64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/clang -x c -target aarch64-unknown-linux-android28 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot @/host/spi-builder-workspace/.build/out/Intermediates.noindex/GPUImage.build/Debug-android-aarch64/V4LSupplement-t.build/Objects-normal/aarch64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/GPUImage.build/Debug-android-aarch64/V4LSupplement-t.build/Objects-normal/aarch64/v4lfuncs.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/GPUImage.build/Debug-android-aarch64/V4LSupplement-t.build/Objects-normal/aarch64/v4lfuncs.dia -c /host/spi-builder-workspace/framework/Source/Linux/V4LSupplement/v4lfuncs.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/GPUImage.build/Debug-android-aarch64/V4LSupplement-t.build/Objects-normal/aarch64/v4lfuncs.o
error: Build failed
BUILD FAILURE 6.4 android