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-0":/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: 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:         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-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/BradLarson/COpenGL.git
Fetching https://github.com/BradLarson/CVideo4Linux.git
Fetching https://github.com/BradLarson/CFreeGLUT.git
Fetching https://github.com/twostraws/SwiftGD.git
[1/13] Fetching cvideo4linux
[14/445] Fetching cvideo4linux, swiftgd
[446/461] Fetching cvideo4linux, swiftgd, copengl
[453/472] Fetching cvideo4linux, swiftgd, copengl, cfreeglut
Fetched https://github.com/BradLarson/CFreeGLUT.git from cache (0.22s)
Fetched https://github.com/BradLarson/CVideo4Linux.git from cache (0.22s)
Fetched https://github.com/BradLarson/COpenGL.git from cache (0.22s)
Fetched https://github.com/twostraws/SwiftGD.git from cache (0.22s)
Computing version for https://github.com/BradLarson/CVideo4Linux.git
Computed https://github.com/BradLarson/CVideo4Linux.git at 1.0.2 (1.11s)
Computing version for https://github.com/BradLarson/CFreeGLUT.git
Computed https://github.com/BradLarson/CFreeGLUT.git at 1.0.1 (1.47s)
Computing version for https://github.com/BradLarson/COpenGL.git
Computed https://github.com/BradLarson/COpenGL.git at 1.0.2 (0.38s)
Computing version for https://github.com/twostraws/SwiftGD.git
Computed https://github.com/twostraws/SwiftGD.git at 2.3.0 (0.58s)
Fetching https://github.com/twostraws/Cgd.git
[1/20] Fetching cgd
Fetched https://github.com/twostraws/Cgd.git from cache (0.18s)
Computing version for https://github.com/twostraws/Cgd.git
Computed https://github.com/twostraws/Cgd.git at 0.2.0 (1.01s)
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/twostraws/SwiftGD.git
Working copy of https://github.com/twostraws/SwiftGD.git resolved at 2.3.0
Creating working copy for https://github.com/twostraws/Cgd.git
Working copy of https://github.com/twostraws/Cgd.git resolved at 0.2.0
Creating working copy for https://github.com/BradLarson/COpenGL.git
Working copy of https://github.com/BradLarson/COpenGL.git resolved at 1.0.2
warning: 'cfreeglut': ignoring declared target(s) 'CFreeGLUT' in the system package
warning: 'cgd': ignoring declared target(s) 'Cgd' 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: couldn't find pc file for gdlib
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/6] 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.
[3/6] Compiling V4LSupplement v4lfuncs.c
[3/6] Compiling lodepng lodepng.cpp
[3/6] Write swift-version-24593BA9C3E375BF.txt
warning: 'cfreeglut': ignoring declared target(s) 'CFreeGLUT' in the system package
warning: 'cgd': ignoring declared target(s) 'Cgd' 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: couldn't find pc file for gdlib
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/3] Compiling V4LSupplement v4lfuncs.c
[0/3] Compiling lodepng lodepng.cpp
[0/3] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 1