The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GPUImage with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradlarson/gpuimage2.git
Reference: master
Cloned https://github.com/bradlarson/gpuimage2.git into spi-builder-workspace
SUCCESS checkout https://github.com/bradlarson/gpuimage2.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-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
Fetching https://github.com/twostraws/SwiftGD.git
Fetched https://github.com/BradLarson/CVideo4Linux.git (0.19s)
Fetched https://github.com/BradLarson/CFreeGLUT.git (0.18s)
Fetched https://github.com/BradLarson/COpenGL.git (0.19s)
[1/406] Fetching swiftgd
Fetched https://github.com/twostraws/SwiftGD.git (0.20s)
Computing version for https://github.com/BradLarson/CVideo4Linux.git
Computed https://github.com/BradLarson/CVideo4Linux.git at 1.0.2 (1.15s)
Computing version for https://github.com/BradLarson/CFreeGLUT.git
Computed https://github.com/BradLarson/CFreeGLUT.git at 1.0.1 (0.29s)
Computing version for https://github.com/BradLarson/COpenGL.git
Computed https://github.com/BradLarson/COpenGL.git at 1.0.2 (0.32s)
Computing version for https://github.com/twostraws/SwiftGD.git
Computed https://github.com/twostraws/SwiftGD.git at 2.3.0 (0.31s)
Fetching https://github.com/twostraws/Cgd.git
Fetched https://github.com/twostraws/Cgd.git (0.20s)
Computing version for https://github.com/twostraws/Cgd.git
Computed https://github.com/twostraws/Cgd.git at 0.2.0 (0.32s)
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
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
Creating working copy for https://github.com/twostraws/SwiftGD.git
Working copy of https://github.com/twostraws/SwiftGD.git resolved at 2.3.0
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: 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
warning: couldn't find pc file for gdlib
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] Compiling lodepng lodepng.cpp
BUILD FAILURE 5.9 linux

Build Machine: Linux 2