The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SVGKit 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/SVGKit/SVGKit.git
Reference: 3.0.0
Cloned https://github.com/SVGKit/SVGKit.git into spi-builder-workspace
SUCCESS checkout https://github.com/SVGKit/SVGKit.git at 3.0.0
========================================
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/CocoaLumberjack/CocoaLumberjack.git
[1/17330] Fetching cocoalumberjack
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack.git (0.70s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Computed https://github.com/CocoaLumberjack/CocoaLumberjack.git at 3.8.0 (0.31s)
Fetching https://github.com/apple/swift-log.git
[1/3079] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.37s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.2 (0.25s)
Creating working copy for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Working copy of https://github.com/CocoaLumberjack/CocoaLumberjack.git resolved at 3.8.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.2
Building for debugging...
In file included from /host/spi-builder-workspace/Source/DOM classes/Core DOM/CSSRule.m:1:
/host/spi-builder-workspace/Source/DOM classes/Core DOM/CSSRule.h:22:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/105] Compiling CSSRule.m
In file included from /host/spi-builder-workspace/Source/AppKit additions/SVGKImageRep.m:9:
In file included from /host/spi-builder-workspace/Source/include/SVGKit.h:18:
/host/spi-builder-workspace/Source/include/SVGKDefine.h:11:10: fatal error: 'TargetConditionals.h' file not found
#include "TargetConditionals.h"
         ^~~~~~~~~~~~~~~~~~~~~~
[0/105] Compiling SVGKImageRep.m
[0/105] Compiling DocumentType.m
In file included from /host/spi-builder-workspace/Source/DOM classes/Core DOM/Attr.m:9:
/host/spi-builder-workspace/Source/DOM classes/Core DOM/Attr.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/105] Compiling Attr.m
In file included from /host/spi-builder-workspace/Source/DOM classes/Core DOM/CharacterData.m:9:
/host/spi-builder-workspace/Source/DOM classes/Core DOM/CharacterData.h:31:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>[0/105] Compiling CharacterData.m
In file included from /host/spi-builder-workspace/Source/DOM classes/Core DOM/DocumentFragment.m:9:
/host/spi-builder-workspace/Source/DOM classes/Core DOM/DocumentFragment.h:10:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/105] Compiling DocumentFragment.m
[0/105] Compiling AppleSucksDOMImplementation.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 1