The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PocketSVG 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/pocketsvg/pocketsvg.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/pocketsvg/pocketsvg
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 10c6885 update changelog
Cloned https://github.com/pocketsvg/pocketsvg.git
Revision (git rev-parse @):
10c6885e427e88d35fbb64010fbd6385cb58fef7
SUCCESS checkout https://github.com/pocketsvg/pocketsvg.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/pocketsvg/pocketsvg.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/6] Copying SVGColors.plist
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/PocketSVG.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/6] Compiling PocketSVG SVGImageView.m
[1/6] Compiling PocketSVG SVGBezierPath.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/PocketSVG.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/6] Compiling PocketSVG SVGEngine.mm
[1/6] Compiling PocketSVG resource_bundle_accessor.m
[1/6] Compiling PocketSVG SVGLayer.m
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/PocketSVG.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/5] Compiling PocketSVG SVGImageView.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/PocketSVG.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/5] Compiling PocketSVG SVGLayer.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/PocketSVG.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/5] Compiling PocketSVG SVGBezierPath.mm
[0/5] Compiling PocketSVG SVGEngine.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/PocketSVG.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/5] Compiling PocketSVG resource_bundle_accessor.m
BUILD FAILURE 5.10 linux

Build Machine: Linux 1