The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GPUImage, reference 0.0.1 (ffd7b5), with Swift 6.1 for Android on 27 May 2025 10:26:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bradlarson/gpuimage2.git
https://github.com/bradlarson/gpuimage2.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "copengl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/BradLarson/COpenGL.git"
    },
    {
      "identity" : "cfreeglut",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/BradLarson/CFreeGLUT.git"
    },
    {
      "identity" : "cvideo4linux",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/BradLarson/CVideo4Linux.git"
    }
  ],
  "manifest_display_name" : "GPUImage",
  "name" : "GPUImage",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "GPUImage",
      "targets" : [
        "GPUImage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4"
  ],
  "targets" : [
    {
      "c99name" : "V4LSupplement",
      "module_type" : "ClangTarget",
      "name" : "V4LSupplement",
      "path" : "framework/Source/Linux/V4LSupplement",
      "product_memberships" : [
        "GPUImage"
      ],
      "sources" : [
        "v4lfuncs.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GPUImage",
      "module_type" : "SwiftTarget",
      "name" : "GPUImage",
      "path" : "framework/Source",
      "product_memberships" : [
        "GPUImage"
      ],
      "sources" : [
        "BasicOperation.swift",
        "CameraConversion.swift",
        "Color.swift",
        "FillMode.swift",
        "Framebuffer.swift",
        "FramebufferCache.swift",
        "ImageGenerator.swift",
        "ImageOrientation.swift",
        "Linux/GLUTRenderWindow.swift",
        "Linux/OpenGLContext.swift",
        "Linux/V4LCamera.swift",
        "Matrix.swift",
        "OpenGLContext_Shared.swift",
        "OpenGLRendering.swift",
        "OperationGroup.swift",
        "Operations/AdaptiveThreshold.swift",
        "Operations/AddBlend.swift",
        "Operations/AlphaBlend.swift",
        "Operations/AmatorkaFilter.swift",
        "Operations/AverageColorExtractor.swift",
        "Operations/AverageLuminanceExtractor.swift",
        "Operations/AverageLuminanceThreshold.swift",
        "Operations/BilateralBlur.swift",
        "Operations/BoxBlur.swift",
        "Operations/BrightnessAdjustment.swift",
        "Operations/BulgeDistortion.swift",
        "Operations/CGAColorspaceFilter.swift",
        "Operations/CannyEdgeDetection.swift",
        "Operations/ChromaKeyBlend.swift",
        "Operations/ChromaKeying.swift",
        "Operations/CircleGenerator.swift",
        "Operations/ClosingFilter.swift",
        "Operations/ColorBlend.swift",
        "Operations/ColorBurnBlend.swift",
        "Operations/ColorDodgeBlend.swift",
        "Operations/ColorInversion.swift",
        "Operations/ColorLocalBinaryPattern.swift",
        "Operations/ColorMatrixFilter.swift",
        "Operations/ColourFASTFeatureDetection.swift",
        "Operations/ContrastAdjustment.swift",
        "Operations/ConvertedShaders_GL.swift",
        "Operations/ConvertedShaders_GLES.swift",
        "Operations/Convolution3x3.swift",
        "Operations/Crop.swift",
        "Operations/CrosshairGenerator.swift",
        "Operations/Crosshatch.swift",
        "Operations/DarkenBlend.swift",
        "Operations/DifferenceBlend.swift",
        "Operations/Dilation.swift",
        "Operations/DissolveBlend.swift",
        "Operations/DivideBlend.swift",
        "Operations/EmbossFilter.swift",
        "Operations/Erosion.swift",
        "Operations/ExclusionBlend.swift",
        "Operations/ExposureAdjustment.swift",
        "Operations/FalseColor.swift",
        "Operations/GammaAdjustment.swift",
        "Operations/GaussianBlur.swift",
        "Operations/GlassSphereRefraction.swift",
        "Operations/Halftone.swift",
        "Operations/HardLightBlend.swift",
        "Operations/HarrisCornerDetector.swift",
        "Operations/Haze.swift",
        "Operations/HighPassFilter.swift",
        "Operations/HighlightAndShadowTint.swift",
        "Operations/HighlightsAndShadows.swift",
        "Operations/Histogram.swift",
        "Operations/HistogramDisplay.swift",
        "Operations/HistogramEqualization.swift",
        "Operations/HueAdjustment.swift",
        "Operations/HueBlend.swift",
        "Operations/ImageBuffer.swift",
        "Operations/KuwaharaFilter.swift",
        "Operations/KuwaharaRadius3Filter.swift",
        "Operations/LanczosResampling.swift",
        "Operations/Laplacian.swift",
        "Operations/LevelsAdjustment.swift",
        "Operations/LightenBlend.swift",
        "Operations/LineGenerator.swift",
        "Operations/LinearBurnBlend.swift",
        "Operations/LocalBinaryPattern.swift",
        "Operations/LookupFilter.swift",
        "Operations/LowPassFilter.swift",
        "Operations/Luminance.swift",
        "Operations/LuminanceRangeReduction.swift",
        "Operations/LuminanceThreshold.swift",
        "Operations/LuminosityBlend.swift",
        "Operations/MedianFilter.swift",
        "Operations/MissEtikateFilter.swift",
        "Operations/MonochromeFilter.swift",
        "Operations/MotionBlur.swift",
        "Operations/MotionDetector.swift",
        "Operations/MultiplyBlend.swift",
        "Operations/NobleCornerDetector.swift",
        "Operations/NormalBlend.swift",
        "Operations/OpacityAdjustment.swift",
        "Operations/OpeningFilter.swift",
        "Operations/OverlayBlend.swift",
        "Operations/PinchDistortion.swift",
        "Operations/Pixellate.swift",
        "Operations/PolarPixellate.swift",
        "Operations/PolkaDot.swift",
        "Operations/Posterize.swift",
        "Operations/PrewittEdgeDetection.swift",
        "Operations/RGBAdjustmentFilter.swift",
        "Operations/SaturationAdjustment.swift",
        "Operations/SaturationBlend.swift",
        "Operations/ScreenBlend.swift",
        "Operations/SepiaToneFilter.swift",
        "Operations/Sharpen.swift",
        "Operations/ShiTomasiFeatureDetector.swift",
        "Operations/SingleComponentGaussianBlur.swift",
        "Operations/SketchFilter.swift",
        "Operations/SmoothToonFilter.swift",
        "Operations/SobelEdgeDetection.swift",
        "Operations/SoftElegance.swift",
        "Operations/SoftLightBlend.swift",
        "Operations/Solarize.swift",
        "Operations/SolidColorGenerator.swift",
        "Operations/SourceOverBlend.swift",
        "Operations/SphereRefraction.swift",
        "Operations/StretchDistortion.swift",
        "Operations/SubtractBlend.swift",
        "Operations/SwirlDistortion.swift",
        "Operations/ThresholdSketch.swift",
        "Operations/ThresholdSobelEdgeDetection.swift",
        "Operations/TiltShift.swift",
        "Operations/ToonFilter.swift",
        "Operations/TransformOperation.swift",
        "Operations/UnsharpMask.swift",
        "Operations/Vibrance.swift",
        "Operations/Vignette.swift",
        "Operations/WhiteBalance.swift",
        "Operations/ZoomBlur.swift",
        "Operations/iOSBlur.swift",
        "Pipeline.swift",
        "Position.swift",
        "RawDataInput.swift",
        "RawDataOutput.swift",
        "SerialDispatch.swift",
        "ShaderProgram.swift",
        "ShaderUniformSettings.swift",
        "Size.swift",
        "TextureInput.swift",
        "TextureOutput.swift",
        "TextureSamplingOperation.swift",
        "Timestamp.swift",
        "TwoStageOperation.swift"
      ],
      "target_dependencies" : [
        "V4LSupplement"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/BradLarson/COpenGL.git
Fetching https://github.com/BradLarson/CVideo4Linux.git
Fetching https://github.com/BradLarson/CFreeGLUT.git
[1/11] Fetching cfreeglut
[8/27] Fetching cfreeglut, copengl
[24/40] Fetching cfreeglut, copengl, cvideo4linux
Fetched https://github.com/BradLarson/COpenGL.git from cache (0.63s)
Fetched https://github.com/BradLarson/CFreeGLUT.git from cache (0.63s)
Fetched https://github.com/BradLarson/CVideo4Linux.git from cache (0.63s)
Computing version for https://github.com/BradLarson/CVideo4Linux.git
Computed https://github.com/BradLarson/CVideo4Linux.git at 1.0.2 (3.31s)
Computing version for https://github.com/BradLarson/CFreeGLUT.git
Computed https://github.com/BradLarson/CFreeGLUT.git at 1.0.1 (0.64s)
Computing version for https://github.com/BradLarson/COpenGL.git
Computed https://github.com/BradLarson/COpenGL.git at 1.0.2 (0.52s)
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: '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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
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
[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
    3 | #include "libv4l2.h"
      |          ^~~~~~~~~~~
1 error generated.
[0/2] Compiling V4LSupplement v4lfuncs.c
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android