The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build OpenCV, reference 4.10.2 (a0847c), with Swift 5.9 for Linux on 6 Sep 2024 07:48:07 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/r0ml/OpenCV.git
Reference: 4.10.2
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/r0ml/OpenCV
 * tag               4.10.2     -> FETCH_HEAD
HEAD is now at a0847cb changed submodule urls to use https: instead of git: -- and checkout out the 4.10.0 tag for both
Submodule path 'opencv': checked out '71d3237a093b60a27601c20e9ee6c3e52154e8b1'
Submodule path 'opencv_contrib': checked out '1ed3dd2c53888e3289afdb22ec4e9ebbff3dba87'
Submodule 'opencv' (https://github.com/opencv/opencv.git) registered for path 'opencv'
Submodule 'opencv_contrib' (https://github.com/opencv/opencv_contrib.git) registered for path 'opencv_contrib'
Cloning into '/host/spi-builder-workspace/opencv'...
Cloning into '/host/spi-builder-workspace/opencv_contrib'...
Cloned https://github.com/r0ml/OpenCV.git
Revision (git rev-parse @):
a0847cb3190b4af859a9431f9251140f1b9238a4
SUCCESS checkout https://github.com/r0ml/OpenCV.git at 4.10.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/r0ml/OpenCV.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:907758cf9691f0f77ca4e2d6f778ef6c038667a789e74bf575a4b60f864d6863
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Downloading binary artifact https://github.com/r0ml/OpenCV/releases/download/4.10.2/OpenCV.xcframework.zip
[1397/1935500181] Downloading https://github.com/r0ml/OpenCV/releases/download/4.10.2/OpenCV.xcframework.zip
Downloaded https://github.com/r0ml/OpenCV/releases/download/4.10.2/OpenCV.xcframework.zip (197.40s)
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 5.9 linux