Build Information
Failed to build SDWebImageAVIFCoder with Swift 5.8 for Linux.
Build Command
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.23.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/SDWebImageAVIFCoder.git
Reference: 0.11.0
Cloned https://github.com/SDWebImage/SDWebImageAVIFCoder.git into spi-builder-workspace
SUCCESS checkout https://github.com/SDWebImage/SDWebImageAVIFCoder.git at 0.11.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/SDWebImage/libaom-Xcode.git
Fetching https://github.com/SDWebImage/libavif-Xcode.git
Fetching https://github.com/SDWebImage/libvmaf-Xcode.git
[1/98] Fetching libvmaf-xcode
[72/348] Fetching libvmaf-xcode, libaom-xcode
[194/855] Fetching libvmaf-xcode, libaom-xcode, libavif-xcode
Fetching https://github.com/SDWebImage/SDWebImage.git
Fetched https://github.com/SDWebImage/libavif-Xcode.git (0.96s)
Fetched https://github.com/SDWebImage/libvmaf-Xcode.git (0.96s)
Fetched https://github.com/SDWebImage/libaom-Xcode.git (0.98s)
[1/24023] Fetching sdwebimage
Fetched https://github.com/SDWebImage/SDWebImage.git (1.67s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.10.4 (0.31s)
Computing version for https://github.com/SDWebImage/libavif-Xcode.git
Computed https://github.com/SDWebImage/libavif-Xcode.git at 0.11.1 (0.31s)
Computing version for https://github.com/SDWebImage/libaom-Xcode.git
Computed https://github.com/SDWebImage/libaom-Xcode.git at 2.0.2 (0.34s)
Computing version for https://github.com/SDWebImage/libvmaf-Xcode.git
Computed https://github.com/SDWebImage/libvmaf-Xcode.git at 2.2.0 (0.33s)
Creating working copy for https://github.com/SDWebImage/libavif-Xcode.git
Working copy of https://github.com/SDWebImage/libavif-Xcode.git resolved at 0.11.1
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.10.4
Creating working copy for https://github.com/SDWebImage/libvmaf-Xcode.git
Working copy of https://github.com/SDWebImage/libvmaf-Xcode.git resolved at 2.2.0
Creating working copy for https://github.com/SDWebImage/libaom-Xcode.git
Working copy of https://github.com/SDWebImage/libaom-Xcode.git resolved at 2.0.2
Building for debugging...
While building module 'SDWebImage' imported from /host/spi-builder-workspace/SDWebImageAVIFCoder/Classes/Public/SDImageAVIFCoder.h:9:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImage.h:10:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
^~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m:8:
/host/spi-builder-workspace/SDWebImageAVIFCoder/Classes/Public/SDImageAVIFCoder.h:9:9: fatal error: could not build module 'SDWebImage'
#import <SDWebImage/SDWebImage.h>
~~~~~~~^
2 errors generated.
[0/3] Compiling SDImageAVIFCoder.m
[0/3] Compiling ColorSpace.m
While building module 'SDWebImage' imported from /host/spi-builder-workspace/SDWebImageAVIFCoder/Classes/Public/SDImageAVIFCoder.h:9:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImage.h:10:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
^~~~~~~~~~~~~~~~~~~~~~
[0/3] Compiling Conversion.m
BUILD FAILURE 5.8 linux