The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SDWebImageHEIFCoder with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/SDWebImageHEIFCoder.git
Reference: 0.10.1
Cloned https://github.com/SDWebImage/SDWebImageHEIFCoder.git into spi-builder-workspace
SUCCESS checkout https://github.com/SDWebImage/SDWebImageHEIFCoder.git at 0.10.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/SDWebImage/libde265-Xcode.git
Fetching https://github.com/SDWebImage/libheif-Xcode.git
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/492] Fetching libheif-xcode
[493/720] Fetching libheif-xcode, libde265-xcode
[721/24337] Fetching libheif-xcode, libde265-xcode, sdwebimage
Fetched https://github.com/SDWebImage/libde265-Xcode.git (1.48s)
Fetched https://github.com/SDWebImage/libheif-Xcode.git (1.48s)
Fetched https://github.com/SDWebImage/SDWebImage.git (1.51s)
Computing version for https://github.com/SDWebImage/libheif-Xcode.git
Computed https://github.com/SDWebImage/libheif-Xcode.git at 1.6.1 (0.26s)
Computing version for https://github.com/SDWebImage/libde265-Xcode.git
Computed https://github.com/SDWebImage/libde265-Xcode.git at 1.0.4 (0.27s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.16.0 (0.29s)
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
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.16.0
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
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.9 linux

Build Machine: Linux 1