The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SDWebImagePDFCoder 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/SDWebImagePDFCoder.git
Reference: 1.0.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/SDWebImagePDFCoder
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 2aecb0a Bumped version to 1.0.1
Cloned https://github.com/SDWebImage/SDWebImagePDFCoder.git
Revision (git rev-parse @):
2aecb0a16e4d054c7f36a140f7feef6e1ede7bb6
SUCCESS checkout https://github.com/SDWebImage/SDWebImagePDFCoder.git at 1.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/SDWebImage/SDWebImagePDFCoder.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/SDWebImage.git
[1/24489] Fetching sdwebimage
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (1.83s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.18.11 (0.54s)
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.18.11
Building for debugging...
While building module 'SDWebImage' imported from /host/spi-builder-workspace/SDWebImagePDFCoder/Classes/SDWebImagePDFCoderDefine.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/SDWebImagePDFCoder/Classes/SDWebImagePDFCoderDefine.m:8:
/host/spi-builder-workspace/SDWebImagePDFCoder/Classes/SDWebImagePDFCoderDefine.h:9:9: fatal error: could not build module 'SDWebImage'
#import <SDWebImage/SDWebImage.h>
 ~~~~~~~^
2 errors generated.
[0/2] Compiling SDWebImagePDFCoderDefine.m
[0/2] Compiling SDImagePDFCoder.m
[0/1] Planning build
Building for debugging...
While building module 'SDWebImage' imported from /host/spi-builder-workspace/SDWebImagePDFCoder/Classes/SDImagePDFCoder.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/SDWebImagePDFCoder/Classes/SDImagePDFCoder.m:8:
/host/spi-builder-workspace/SDWebImagePDFCoder/Classes/SDImagePDFCoder.h:9:9: fatal error: could not build module 'SDWebImage'
#import <SDWebImage/SDWebImage.h>
 ~~~~~~~^
2 errors generated.
[0/2] Compiling SDImagePDFCoder.m
[0/2] Compiling SDWebImagePDFCoderDefine.m
BUILD FAILURE 5.10 linux

Build Machine: Linux 1