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-4609320-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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7db2c1f Merge pull request #25 from SDWebImage/feature_color_profile_metadata
Cloned https://github.com/SDWebImage/SDWebImageHEIFCoder.git
Revision (git rev-parse @):
7db2c1f8c1140f16202714cad2084d535084f512
SUCCESS checkout https://github.com/SDWebImage/SDWebImageHEIFCoder.git at master
========================================
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-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/SDWebImage/libde265-Xcode.git
Fetching https://github.com/SDWebImage/SDWebImage.git
Fetching https://github.com/SDWebImage/libheif-Xcode.git
[1/627] Fetching libheif-xcode
[45/903] Fetching libheif-xcode, libde265-xcode
Fetched https://github.com/SDWebImage/libheif-Xcode.git from cache (0.33s)
[1/24489] Fetching sdwebimage
Fetched https://github.com/SDWebImage/libde265-Xcode.git from cache (1.77s)
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (1.81s)
Computing version for https://github.com/SDWebImage/libheif-Xcode.git
Computed https://github.com/SDWebImage/libheif-Xcode.git at 1.6.1 (0.44s)
Computing version for https://github.com/SDWebImage/libde265-Xcode.git
Computed https://github.com/SDWebImage/libde265-Xcode.git at 1.0.4 (0.43s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.18.11 (0.46s)
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/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/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 2