Build Information
Failed to build SAPCAI with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/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/SAP/cloud-sdk-ios-cai.git
Reference: 2.0.2
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/SAP/cloud-sdk-ios-cai
* tag 2.0.2 -> FETCH_HEAD
HEAD is now at 6c131ac chore: 🤖 2.0.2
Cloned https://github.com/SAP/cloud-sdk-ios-cai.git
Revision (git rev-parse @):
6c131aceb05d8ae107c9aeb1646bc7e740318822
SUCCESS checkout https://github.com/SAP/cloud-sdk-ios-cai.git at 2.0.2
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/SAP/cloud-sdk-ios-cai.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Flight-School/AnyCodable.git
Fetching https://github.com/SDWebImage/SDWebImage
Fetching https://github.com/SAP/cloud-sdk-ios-fiori.git
Fetching https://github.com/sstadelman/observable-array.git
Fetching https://github.com/marmelroy/Zip.git
Fetching https://github.com/johnxnguyen/Down
[1/59] Fetching observable-array
[60/1983] Fetching observable-array, zip
[388/2739] Fetching observable-array, zip, anycodable
Fetched https://github.com/Flight-School/AnyCodable.git from cache (0.31s)
Fetching https://github.com/objcio/tiny-networking
[425/1983] Fetching observable-array, zip
[465/8234] Fetching observable-array, zip, down
[2240/36595] Fetching observable-array, zip, down, cloud-sdk-ios-fiori
[5134/36890] Fetching observable-array, zip, down, cloud-sdk-ios-fiori, tiny-networking
Fetched https://github.com/objcio/tiny-networking from cache (0.21s)
Fetching https://github.com/SAP/cloud-sdk-ios
Fetched https://github.com/marmelroy/Zip.git from cache (0.52s)
[4910/34671] Fetching observable-array, down, cloud-sdk-ios-fiori
[5762/59160] Fetching observable-array, down, cloud-sdk-ios-fiori, sdwebimage
[12936/59645] Fetching observable-array, down, cloud-sdk-ios-fiori, sdwebimage, cloud-sdk-ios
Fetched https://github.com/SAP/cloud-sdk-ios from cache (0.29s)
[18813/59160] Fetching observable-array, down, cloud-sdk-ios-fiori, sdwebimage
Fetched https://github.com/johnxnguyen/Down from cache (2.04s)
Fetched https://github.com/sstadelman/observable-array.git from cache (2.28s)
Fetched https://github.com/SAP/cloud-sdk-ios-fiori.git from cache (2.31s)
Fetched https://github.com/SDWebImage/SDWebImage from cache (2.32s)
Computing version for https://github.com/SAP/cloud-sdk-ios
Computed https://github.com/SAP/cloud-sdk-ios at 5.1.3-xcfrwk (0.54s)
Computing version for https://github.com/johnxnguyen/Down
Computed https://github.com/johnxnguyen/Down at 0.11.0 (0.54s)
Computing version for https://github.com/SDWebImage/SDWebImage
Computed https://github.com/SDWebImage/SDWebImage at 5.11.1 (0.71s)
Computing version for https://github.com/SAP/cloud-sdk-ios-fiori.git
Computed https://github.com/SAP/cloud-sdk-ios-fiori.git at 0.9.0 (0.75s)
Computing version for https://github.com/marmelroy/Zip.git
Computed https://github.com/marmelroy/Zip.git at 2.1.1 (0.40s)
Computing version for https://github.com/sstadelman/observable-array.git
Computed https://github.com/sstadelman/observable-array.git at 1.2.0 (0.41s)
Computing version for https://github.com/Flight-School/AnyCodable.git
Computed https://github.com/Flight-School/AnyCodable.git at 0.5.0 (0.41s)
Computing version for https://github.com/objcio/tiny-networking
Computed https://github.com/objcio/tiny-networking at 0.4.1 (0.39s)
Creating working copy for https://github.com/marmelroy/Zip.git
Working copy of https://github.com/marmelroy/Zip.git resolved at 2.1.1
Creating working copy for https://github.com/SAP/cloud-sdk-ios-fiori.git
Working copy of https://github.com/SAP/cloud-sdk-ios-fiori.git resolved at 0.9.0
Creating working copy for https://github.com/SDWebImage/SDWebImage
Working copy of https://github.com/SDWebImage/SDWebImage resolved at 5.11.1
Creating working copy for https://github.com/johnxnguyen/Down
Working copy of https://github.com/johnxnguyen/Down resolved at 0.11.0
Creating working copy for https://github.com/SAP/cloud-sdk-ios
Working copy of https://github.com/SAP/cloud-sdk-ios resolved at 5.1.3-xcfrwk
Creating working copy for https://github.com/objcio/tiny-networking
Working copy of https://github.com/objcio/tiny-networking resolved at 0.4.1
Creating working copy for https://github.com/Flight-School/AnyCodable.git
Working copy of https://github.com/Flight-School/AnyCodable.git resolved at 0.5.0
Creating working copy for https://github.com/sstadelman/observable-array.git
Working copy of https://github.com/sstadelman/observable-array.git resolved at 1.2.0
[1397/1373306] Downloading https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPCommon-5.1.13-Release-xcframework.zip
Downloading binary artifact https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPCommon-5.1.13-Release-xcframework.zip
[1374202/21218242] Downloading https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPCommon-5.1.13-Release-xcframework.zip, https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPFoundation-5.1.13-Release-xcframework.zip
Downloaded https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPCommon-5.1.13-Release-xcframework.zip (0.75s)
[8412288/19844936] Downloading https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPFoundation-5.1.13-Release-xcframework.zip
Downloading binary artifact https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPFoundation-5.1.13-Release-xcframework.zip
Downloaded https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPFoundation-5.1.13-Release-xcframework.zip (2.13s)
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/NSData+ImageContentType.m:10:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/NSData+ImageContentType.h:10:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/143] Compiling NSData+ImageContentType.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/NSImage+Compatibility.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/NSImage+Compatibility.h:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/143] Compiling NSImage+Compatibility.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImageView+WebCache.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImageView+WebCache.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImageView.h:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/143] Compiling SDAnimatedImageView+WebCache.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImage.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImage.h:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/143] Compiling SDAnimatedImage.m
[0/143] Compiling NSButton+WebCache.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImagePlayer.m:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImagePlayer.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
[0/143] Compiling SDAnimatedImagePlayer.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImageRep.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImageRep.h:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/143] Compiling SDAnimatedImageRep.m
[0/143] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
Building for debugging...
[0/143] Compiling libcmark xml.c
[1/143] Compiling libcmark render.c
[2/143] Compiling libcmark references.c
[3/143] Compiling libcmark man.c
[4/143] Compiling libcmark iterator.c
[5/143] Compiling libcmark node.c
[6/143] Compiling libcmark latex.c
[7/143] Write swift-version-24593BA9C3E375BF.txt
[8/143] Compiling libcmark html.c
[9/143] Compiling libcmark houdini_href_e.c
[10/143] Compiling libcmark utf8.c
[11/143] Compiling libcmark houdini_html_e.c
[12/143] Compiling libcmark inlines.c
[13/143] Compiling libcmark cmark_ctype.c
[14/143] Compiling libcmark cmark.c
[15/143] Compiling libcmark houdini_html_u.c
[16/143] Compiling libcmark buffer.c
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Private/UIColor+SDHexString.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Private/UIColor+SDHexString.h:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[17/143] Compiling UIColor+SDHexString.m
[17/143] Compiling SDImageAssetManager.m
[17/143] Compiling SDWeakProxy.m
[17/143] Compiling libcmark blocks.c
[17/143] Compiling SDImageCachesManagerOperation.m
[17/143] Compiling SDInternalMacros.m
[17/143] Compiling libcmark commonmark.c
[17/143] Compiling libcmark scanners.c
BUILD FAILURE 5.10 linux