The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PangoCairo with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-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.21.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/SwiftPangoCairo.git
Reference: 2.74.0
Cloned https://github.com/rhx/SwiftPangoCairo.git into spi-builder-workspace
SUCCESS checkout https://github.com/rhx/SwiftPangoCairo.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-4609320-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/rhx/gir2swift.git
[1/5325] Fetching gir2swift
Fetched https://github.com/rhx/gir2swift.git (0.39s)
Fetching https://github.com/rhx/SwiftCairo.git
[1/1769] Fetching swiftcairo
Fetched https://github.com/rhx/SwiftCairo.git (0.35s)
Fetching https://github.com/rhx/SwiftPango.git
[1/4048] Fetching swiftpango
Fetched https://github.com/rhx/SwiftPango.git (1.81s)
Fetching https://github.com/rhx/SwiftLibXML.git
[1/306] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git (0.20s)
Fetching https://github.com/rhx/SwiftGModule.git
[1/998] Fetching swiftgmodule
Fetched https://github.com/rhx/SwiftGModule.git (0.21s)
Fetching https://github.com/rhx/SwiftGIO.git
[1/21597] Fetching swiftgio
Fetched https://github.com/rhx/SwiftGIO.git (25.92s)
Fetching https://github.com/rhx/SwiftGObject.git
[1/6626] Fetching swiftgobject
Fetched https://github.com/rhx/SwiftGObject.git (3.37s)
Fetching https://github.com/rhx/SwiftHarfBuzz.git
[1/133] Fetching swiftharfbuzz
Fetched https://github.com/rhx/SwiftHarfBuzz.git (0.18s)
Fetching https://github.com/rhx/SwiftGLib.git
[1/8709] Fetching swiftglib
Fetched https://github.com/rhx/SwiftGLib.git (9.10s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
[1/1423] Fetching swift-docc-plugin
[1311/12257] Fetching swift-docc-plugin, swift-argument-parser
[12258/21001] Fetching swift-docc-plugin, swift-argument-parser, yams
Fetched https://github.com/apple/swift-docc-plugin (1.34s)
Fetched https://github.com/apple/swift-argument-parser (1.35s)
Fetched https://github.com/jpsim/Yams.git (1.37s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.28s)
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.34s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.32s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.2 (0.32s)
Creating working copy for https://github.com/rhx/SwiftGModule.git
Working copy of https://github.com/rhx/SwiftGModule.git resolved at main
Creating working copy for https://github.com/rhx/SwiftHarfBuzz.git
Working copy of https://github.com/rhx/SwiftHarfBuzz.git resolved at main
Creating working copy for https://github.com/rhx/SwiftCairo.git
Working copy of https://github.com/rhx/SwiftCairo.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/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/rhx/SwiftGLib.git
Working copy of https://github.com/rhx/SwiftGLib.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
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/rhx/SwiftGIO.git
Working copy of https://github.com/rhx/SwiftGIO.git resolved at main
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-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/SwiftPango.git
Working copy of https://github.com/rhx/SwiftPango.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
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 parser.c
[3/22] Compiling api.c
[4/22] Compiling emitter.c
[5/22] Compiling scanner.c
[7/37] Emitting module Yams
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/38] 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/38] Compiling Yams YamlError.swift
[10/38] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/38] Emitting module ArgumentParserToolInfo
[13/40] Wrapping AST for ArgumentParserToolInfo for debugging
[15/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
           ^
[16/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
           ^
[17/77] Compiling ArgumentParser EnumerableFlag.swift
[18/77] Compiling ArgumentParser ArgumentVisibility.swift
[19/77] Compiling ArgumentParser CompletionKind.swift
[20/77] Compiling ArgumentParser Errors.swift
[21/77] Compiling ArgumentParser AsyncParsableCommand.swift
[22/77] Compiling ArgumentParser CommandConfiguration.swift
[23/77] Compiling ArgumentParser Option.swift
[24/77] Compiling ArgumentParser OptionGroup.swift
[25/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
           ^
[26/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
           ^
[27/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
           ^
[28/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
           ^
[29/77] Compiling ArgumentParser Argument.swift
[30/77] Compiling ArgumentParser ArgumentHelp.swift
[31/77] Compiling ArgumentParser BashCompletionsGenerator.swift
[32/77] Compiling ArgumentParser CompletionsGenerator.swift
[33/77] Compiling ArgumentParser FishCompletionsGenerator.swift
[34/77] Compiling ArgumentParser ZshCompletionsGenerator.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2