The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SDWebImageHEIFCoder with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/SDWebImageHEIFCoder.git
Reference: 0.10.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/SDWebImage/SDWebImageHEIFCoder
 * tag               0.10.1     -> FETCH_HEAD
HEAD is now at d124dfd Bumped version to 0.10.1
Cloned https://github.com/SDWebImage/SDWebImageHEIFCoder.git
Revision (git rev-parse @):
d124dfd1bf562489edb5964e41ad7cc7983b83f4
SUCCESS checkout https://github.com/SDWebImage/SDWebImageHEIFCoder.git at 0.10.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/SDWebImage/SDWebImageHEIFCoder.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/SDWebImage/libheif-Xcode.git
Fetching https://github.com/SDWebImage/libde265-Xcode.git
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/627] Fetching libheif-xcode
[96/903] Fetching libheif-xcode, libde265-xcode
[904/25392] Fetching libheif-xcode, libde265-xcode, sdwebimage
Fetched https://github.com/SDWebImage/libde265-Xcode.git from cache (1.54s)
Fetched https://github.com/SDWebImage/libheif-Xcode.git from cache (1.54s)
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (1.58s)
Computing version for https://github.com/SDWebImage/libheif-Xcode.git
Computed https://github.com/SDWebImage/libheif-Xcode.git at 1.6.1 (0.38s)
Computing version for https://github.com/SDWebImage/libde265-Xcode.git
Computed https://github.com/SDWebImage/libde265-Xcode.git at 1.0.4 (0.38s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.18.11 (0.40s)
Creating working copy for https://github.com/SDWebImage/libde265-Xcode.git
Working copy of https://github.com/SDWebImage/libde265-Xcode.git resolved at 1.0.4
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.18.11
Creating working copy for https://github.com/SDWebImage/libheif-Xcode.git
Working copy of https://github.com/SDWebImage/libheif-Xcode.git resolved at 1.6.1
Building for debugging...
While building module 'SDWebImage' imported from /host/spi-builder-workspace/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.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/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.m:8:
/host/spi-builder-workspace/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.h:9:9: fatal error: could not build module 'SDWebImage'
#import <SDWebImage/SDWebImage.h>
 ~~~~~~~^
2 errors generated.
[0/1] Compiling SDImageHEIFCoder.m
[0/1] Planning build
Building for debugging...
While building module 'SDWebImage' imported from /host/spi-builder-workspace/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.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/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.m:8:
/host/spi-builder-workspace/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.h:9:9: fatal error: could not build module 'SDWebImage'
#import <SDWebImage/SDWebImage.h>
 ~~~~~~~^
2 errors generated.
[0/1] Compiling SDImageHEIFCoder.m
BUILD FAILURE 5.10 linux

Build Machine: Linux 1