The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build librlottie 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/SDWebImage/librlottie-Xcode.git
Reference: 0.2.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/librlottie-Xcode
 * tag               0.2.1      -> FETCH_HEAD
HEAD is now at 4ae1ba2 Bumped the version to 0.2.1
Submodule path 'rlottie': checked out '3cd00151cfb961e8dc4b55cdaa9b35b95c86879e'
Submodule 'rlottie' (https://github.com/Samsung/rlottie.git) registered for path 'rlottie'
Cloning into '/host/spi-builder-workspace/rlottie'...
Cloned https://github.com/SDWebImage/librlottie-Xcode.git
Revision (git rev-parse @):
4ae1ba205910c804ee2d4cd7dd7f122964fe3aad
SUCCESS checkout https://github.com/SDWebImage/librlottie-Xcode.git at 0.2.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/SDWebImage/librlottie-Xcode.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
Building for debugging...
[0/34] Compiling vdrawhelper_neon.cpp
In file included from /host/spi-builder-workspace/rlottie/src/lottie/lottiekeypath.cpp:1:
In file included from /host/spi-builder-workspace/rlottie/src/lottie/lottiekeypath.h:28:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vglobal.h:69:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vdebug.h:26:
/host/spi-builder-workspace/generate/config.h:4:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/34] Compiling lottiekeypath.cpp
[1/34] Compiling lottieitem_capi.cpp
[1/34] Compiling lottieitem.cpp
[1/34] Compiling lottieanimation_capi.cpp
In file included from /host/spi-builder-workspace/rlottie/src/lottie/lottieanimation.cpp:22:
/host/spi-builder-workspace/generate/config.h:4:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
[1/34] Compiling lottieanimation.cpp
[1/34] Compiling lottiemodel.cpp
[1/34] Compiling lottieloader.cpp
[1/34] Compiling vrle.cpp
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/rlottie/src/vector/vinterpolator.cpp:7:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vinterpolator.h:26:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vpoint.h:25:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vglobal.h:69:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vdebug.h:26:
/host/spi-builder-workspace/generate/config.h:4:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/33] Compiling vinterpolator.cpp
[0/33] Compiling vpath.cpp
[0/33] Compiling vrle.cpp
In file included from /host/spi-builder-workspace/rlottie/src/vector/vmatrix.cpp:23:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vmatrix.h:25:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vglobal.h:69:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vdebug.h:26:
/host/spi-builder-workspace/generate/config.h:4:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
[0/33] Compiling vmatrix.cpp
[0/33] Compiling vpathmesure.cpp
[0/33] Compiling vraster.cpp
[0/33] Compiling vpainter.cpp
In file included from /host/spi-builder-workspace/rlottie/src/vector/vrect.cpp:23:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vrect.h:25:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vglobal.h:69:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vdebug.h:26:
/host/spi-builder-workspace/generate/config.h:4:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
[0/33] Compiling vrect.cpp
BUILD FAILURE 5.10 linux