The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GPUImage, reference 0.0.1 (ffd7b5), with Swift 6.2 for Linux on 17 Jun 2025 20:25:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradlarson/gpuimage2.git
Reference: 0.0.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/bradlarson/gpuimage2
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at ffd7b5a Linux version is now working again, including the SimpleVideoFilter sample application. This time, full Swift Package Manager support is available.
Cloned https://github.com/bradlarson/gpuimage2.git
Revision (git rev-parse @):
ffd7b5a64a20535980d4e9eb156fe2ecbe41fc6a
SUCCESS checkout https://github.com/bradlarson/gpuimage2.git at 0.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bradlarson/gpuimage2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/BradLarson/CFreeGLUT.git
Fetching https://github.com/BradLarson/COpenGL.git
Fetching https://github.com/BradLarson/CVideo4Linux.git
[1/11] Fetching cfreeglut
[10/24] Fetching cfreeglut, cvideo4linux
[23/40] Fetching cfreeglut, cvideo4linux, copengl
Fetched https://github.com/BradLarson/CFreeGLUT.git from cache (0.26s)
Fetched https://github.com/BradLarson/CVideo4Linux.git from cache (0.25s)
Fetched https://github.com/BradLarson/COpenGL.git from cache (0.28s)
Computing version for https://github.com/BradLarson/CVideo4Linux.git
Computed https://github.com/BradLarson/CVideo4Linux.git at 1.0.2 (2.65s)
Computing version for https://github.com/BradLarson/CFreeGLUT.git
Computed https://github.com/BradLarson/CFreeGLUT.git at 1.0.1 (1.55s)
Computing version for https://github.com/BradLarson/COpenGL.git
Computed https://github.com/BradLarson/COpenGL.git at 1.0.2 (0.46s)
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/COpenGL.git
Working copy of https://github.com/BradLarson/COpenGL.git resolved at 1.0.2
Creating working copy for https://github.com/BradLarson/CVideo4Linux.git
Working copy of https://github.com/BradLarson/CVideo4Linux.git resolved at 1.0.2
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: '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: you may be able to install mesa-commmon-dev using your system-packager:
    apt-get install mesa-common-dev
warning: you may be able to install freeglut3-dev using your system-packager:
    apt-get install freeglut3-dev
warning: you may be able to install libv4l-dev using your system-packager:
    apt-get install libv4l-dev
warning: you may be able to install mesa-commmon-dev using your system-packager:
    apt-get install mesa-common-dev
warning: you may be able to install freeglut3-dev using your system-packager:
    apt-get install freeglut3-dev
warning: you may be able to install libv4l-dev using your system-packager:
    apt-get install libv4l-dev
Building for debugging...
[0/3] Write sources
/host/spi-builder-workspace/framework/Source/Linux/V4LSupplement/v4lfuncs.c:3:10: fatal error: 'libv4l2.h' file not found
    3 | #include "libv4l2.h"
      |          ^~~~~~~~~~~
1 error generated.
[1/3] Compiling V4LSupplement v4lfuncs.c
[1/3] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 linux