The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PocketSVG with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/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.21.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pocketsvg/pocketsvg.git
Reference: master
Cloned https://github.com/pocketsvg/pocketsvg.git into spi-builder-workspace
SUCCESS checkout https://github.com/pocketsvg/pocketsvg.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-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 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.
[1/6] Compiling PocketSVG SVGImageView.m
[1/6] Compiling PocketSVG SVGBezierPath.mm
[1/6] Compiling PocketSVG SVGEngine.mm
[1/6] Compiling PocketSVG resource_bundle_accessor.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 1