Build Information
Failed to build OpenCV, reference 4.10.2 (a0847c
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 00:59:43 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/r0ml/OpenCV.git
Reference: 4.10.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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 '/Users/admin/builder/spi-builder-workspace/opencv'...
Cloning into '/Users/admin/builder/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
[32750/1935500181] Downloading https://github.com/r0ml/OpenCV/releases/download/4.10.2/OpenCV.xcframework.zip
Downloading binary artifact 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 (114.21s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "opencv",
"name": "OpenCV",
"url": "https://github.com/r0ml/OpenCV.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OpenCV",
"dependencies": [
]
}
]
}
Fetching https://github.com/r0ml/OpenCV.git
[3/147] Fetching opencv
Fetched https://github.com/r0ml/OpenCV.git from cache (0.70s)
Creating working copy for https://github.com/r0ml/OpenCV.git
Working copy of https://github.com/r0ml/OpenCV.git resolved at 4.10.2 (a0847cb)
Fetching binary artifact https://github.com/r0ml/OpenCV/releases/download/4.10.2/OpenCV.xcframework.zip from cache
Fetched https://github.com/r0ml/OpenCV/releases/download/4.10.2/OpenCV.xcframework.zip from cache (99.97s)
warning: '.resolve-product-dependencies': dependency 'opencv' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/r0ml/OpenCV.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 6.0 macosSpm