The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GPUImage with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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:             5.10
Building package at path:  $workDir
https://github.com/bradlarson/gpuimage2.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/BradLarson/CVideo4Linux.git
Fetching https://github.com/BradLarson/CFreeGLUT.git
Fetching https://github.com/BradLarson/COpenGL.git
[1/13] Fetching cvideo4linux
[14/24] Fetching cvideo4linux, cfreeglut
[25/40] Fetching cvideo4linux, cfreeglut, copengl
Fetched https://github.com/BradLarson/COpenGL.git from cache (0.20s)
Fetched https://github.com/BradLarson/CFreeGLUT.git from cache (0.20s)
Fetched https://github.com/BradLarson/CVideo4Linux.git from cache (0.20s)
Computing version for https://github.com/BradLarson/CVideo4Linux.git
Computed https://github.com/BradLarson/CVideo4Linux.git at 1.0.2 (1.02s)
Computing version for https://github.com/BradLarson/CFreeGLUT.git
Computed https://github.com/BradLarson/CFreeGLUT.git at 1.0.1 (0.40s)
Computing version for https://github.com/BradLarson/COpenGL.git
Computed https://github.com/BradLarson/COpenGL.git at 1.0.2 (0.38s)
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
Creating working copy for https://github.com/BradLarson/CFreeGLUT.git
Working copy of https://github.com/BradLarson/CFreeGLUT.git resolved at 1.0.1
warning: 'cfreeglut': ignoring declared target(s) 'CFreeGLUT' in the system package
warning: 'copengl': ignoring declared target(s) 'COpenGL' in the system package
warning: 'cvideo4linux': ignoring declared target(s) 'CVideo4Linux' 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 libv4l-dev using your system-packager:
    apt-get install libv4l-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 mesa-commmon-dev using your system-packager:
    apt-get install mesa-common-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
#include "libv4l2.h"
         ^~~~~~~~~~~
1 error generated.
[1/3] Compiling V4LSupplement v4lfuncs.c
[1/3] Write swift-version-24593BA9C3E375BF.txt
warning: 'cfreeglut': ignoring declared target(s) 'CFreeGLUT' in the system package
warning: 'copengl': ignoring declared target(s) 'COpenGL' in the system package
warning: 'cvideo4linux': ignoring declared target(s) 'CVideo4Linux' 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 libv4l-dev using your system-packager:
    apt-get install libv4l-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 mesa-commmon-dev using your system-packager:
    apt-get install mesa-common-dev
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/framework/Source/Linux/V4LSupplement/v4lfuncs.c:3:10: fatal error: 'libv4l2.h' file not found
#include "libv4l2.h"
         ^~~~~~~~~~~
1 error generated.
[0/2] Compiling V4LSupplement v4lfuncs.c
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 1