The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HarfBuzz 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.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/SwiftHarfBuzz.git
Reference: 2.74.0
Cloned https://github.com/rhx/SwiftHarfBuzz.git into spi-builder-workspace
SUCCESS checkout https://github.com/rhx/SwiftHarfBuzz.git at 2.74.0
========================================
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
Fetching https://github.com/rhx/gir2swift.git
[1/5325] Fetching gir2swift
Fetched https://github.com/rhx/gir2swift.git (0.31s)
Fetching https://github.com/rhx/SwiftGObject.git
[1/6626] Fetching swiftgobject
Fetched https://github.com/rhx/SwiftGObject.git (2.84s)
Fetching https://github.com/rhx/SwiftLibXML.git
[1/306] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git (0.19s)
Fetching https://github.com/rhx/SwiftGLib.git
[1/8709] Fetching swiftglib
Fetched https://github.com/rhx/SwiftGLib.git (8.03s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/jpsim/Yams.git
[1/1423] Fetching swift-docc-plugin
[1311/12257] Fetching swift-docc-plugin, swift-argument-parser
Fetched https://github.com/apple/swift-docc-plugin (0.55s)
Fetched https://github.com/apple/swift-argument-parser (0.55s)
[1/8744] Fetching yams
Fetched https://github.com/jpsim/Yams.git (1.32s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.30s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.32s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2097] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit (0.30s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.33s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.2 (0.29s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.2
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/rhx/SwiftGLib.git
Working copy of https://github.com/rhx/SwiftGLib.git resolved at main
Creating working copy for https://github.com/rhx/SwiftLibXML.git
Working copy of https://github.com/rhx/SwiftLibXML.git resolved at main
Creating working copy for https://github.com/rhx/SwiftGObject.git
Working copy of https://github.com/rhx/SwiftGObject.git resolved at main
Creating working copy for https://github.com/rhx/gir2swift.git
Working copy of https://github.com/rhx/gir2swift.git resolved at main
warning: you may be able to install libxml-2.0 using your system-packager:
    apt-get install libxml2-dev
warning: prohibited flag(s): -pthread
Building for debugging...
[0/13] Compiling writer.c
[1/13] Compiling reader.c
[2/13] Compiling api.c
[3/13] Compiling parser.c
[4/22] Compiling emitter.c
[5/22] Compiling scanner.c
[7/37] Emitting module ArgumentParserToolInfo
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/37] Emitting module SwiftLibXML
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "libxml2_bridging.h"
         ^
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/CLibXML2/libxml2_bridging.h:12:9: error: 'libxml2/libxml/xmlreader.h' file not found
#import <libxml2/libxml/xmlreader.h>
        ^
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:10:12: error: could not build C module 'CLibXML2'
    import CLibXML2
           ^
[9/37] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/38] Compiling Yams Mark.swift
[11/38] Compiling Yams Node.Mapping.swift
[13/40] Wrapping AST for ArgumentParserToolInfo for debugging
[15/77] Compiling Yams YamlError.swift
[16/77] Compiling ArgumentParser BashCompletionsGenerator.swift
[17/77] Compiling ArgumentParser CompletionsGenerator.swift
[18/77] Emitting module Yams
[19/77] Compiling ArgumentParser FishCompletionsGenerator.swift
[20/77] Compiling ArgumentParser ZshCompletionsGenerator.swift
[21/77] Compiling SwiftLibXML XMLNameSpace.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "libxml2_bridging.h"
         ^
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/CLibXML2/libxml2_bridging.h:12:9: error: 'libxml2/libxml/xmlreader.h' file not found
#import <libxml2/libxml/xmlreader.h>
        ^
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:10:12: error: could not build C module 'CLibXML2'
    import CLibXML2
           ^
[22/77] Compiling SwiftLibXML XMLPath.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "libxml2_bridging.h"
         ^
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/CLibXML2/libxml2_bridging.h:12:9: error: 'libxml2/libxml/xmlreader.h' file not found
#import <libxml2/libxml/xmlreader.h>
        ^
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:10:12: error: could not build C module 'CLibXML2'
    import CLibXML2
           ^
[23/77] Compiling SwiftLibXML XMLDocument.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "libxml2_bridging.h"
         ^
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/CLibXML2/libxml2_bridging.h:12:9: error: 'libxml2/libxml/xmlreader.h' file not found
#import <libxml2/libxml/xmlreader.h>
        ^
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:10:12: error: could not build C module 'CLibXML2'
    import CLibXML2
           ^
[24/77] Compiling SwiftLibXML XMLElement.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "libxml2_bridging.h"
         ^
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/CLibXML2/libxml2_bridging.h:12:9: error: 'libxml2/libxml/xmlreader.h' file not found
#import <libxml2/libxml/xmlreader.h>
        ^
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:10:12: error: could not build C module 'CLibXML2'
    import CLibXML2
           ^
[25/77] Compiling SwiftLibXML EmptySequence.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "libxml2_bridging.h"
         ^
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/CLibXML2/libxml2_bridging.h:12:9: error: 'libxml2/libxml/xmlreader.h' file not found
#import <libxml2/libxml/xmlreader.h>
        ^
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:10:12: error: could not build C module 'CLibXML2'
    import CLibXML2
           ^
[26/77] Compiling SwiftLibXML XMLAttribute.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "libxml2_bridging.h"
         ^
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/CLibXML2/libxml2_bridging.h:12:9: error: 'libxml2/libxml/xmlreader.h' file not found
#import <libxml2/libxml/xmlreader.h>
        ^
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:10:12: error: could not build C module 'CLibXML2'
    import CLibXML2
           ^
[27/77] Compiling ArgumentParser Errors.swift
[28/77] Compiling ArgumentParser Flag.swift
[29/77] Compiling ArgumentParser ArgumentVisibility.swift
[30/77] Compiling ArgumentParser CompletionKind.swift
[31/77] Compiling ArgumentParser NameSpecification.swift
[32/77] Compiling ArgumentParser ExpressibleByArgument.swift
error: fatalError
[33/77] Compiling ArgumentParser ParsableArguments.swift
[34/77] Compiling ArgumentParser ParsableArgumentsValidation.swift
BUILD FAILURE 5.9 linux

Build Machine: Linux 1