The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Gtk, reference main (76d95e), with Swift 5.10 for Linux on 11 Mar 2025 10:17:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/swiftgtk.git
Reference: main
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/rhx/swiftgtk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 76d95e6 Use main branch on dependencies.
Cloned https://github.com/rhx/swiftgtk.git
Revision (git rev-parse @):
76d95e631ced7853db86aa623556dfd57db11fc3
SUCCESS checkout https://github.com/rhx/swiftgtk.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/rhx/swiftgtk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/rhx/gir2swift.git
[1/5539] Fetching gir2swift
Fetched https://github.com/rhx/gir2swift.git from cache (0.35s)
Fetching https://github.com/rhx/SwiftAtk.git
[1/3941] Fetching swiftatk
Fetched https://github.com/rhx/SwiftAtk.git from cache (0.76s)
Fetching https://github.com/rhx/SwiftGdk.git
[1/6082] Fetching swiftgdk
Fetched https://github.com/rhx/SwiftGdk.git from cache (3.76s)
Fetching https://github.com/rhx/SwiftLibXML.git
[1/306] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git from cache (0.18s)
Fetching https://github.com/rhx/SwiftGObject.git
[1/11714] Fetching swiftgobject
Fetched https://github.com/rhx/SwiftGObject.git from cache (1.70s)
Fetching https://github.com/rhx/SwiftGdkPixbuf.git
[1/1641] Fetching swiftgdkpixbuf
Fetched https://github.com/rhx/SwiftGdkPixbuf.git from cache (0.33s)
Fetching https://github.com/rhx/SwiftPangoCairo.git
[1/1000] Fetching swiftpangocairo
Fetched https://github.com/rhx/SwiftPangoCairo.git from cache (0.51s)
Fetching https://github.com/rhx/SwiftGLib.git
[1/21669] Fetching swiftglib
Fetched https://github.com/rhx/SwiftGLib.git from cache (5.78s)
Fetching https://github.com/rhx/SwiftGIO.git
[1/54365] Fetching swiftgio
Fetched https://github.com/rhx/SwiftGIO.git from cache (12.35s)
Fetching https://github.com/rhx/SwiftGModule.git
[1/1085] Fetching swiftgmodule
Fetched https://github.com/rhx/SwiftGModule.git from cache (0.23s)
Fetching https://github.com/rhx/SwiftCairo.git
[1/1778] Fetching swiftcairo
Fetched https://github.com/rhx/SwiftCairo.git from cache (0.29s)
Fetching https://github.com/rhx/SwiftPango.git
[1/4050] Fetching swiftpango
Fetched https://github.com/rhx/SwiftPango.git from cache (0.94s)
Fetching https://github.com/rhx/SwiftHarfBuzz.git
[1/144] Fetching swiftharfbuzz
Fetched https://github.com/rhx/SwiftHarfBuzz.git from cache (0.22s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
[1/10266] Fetching yams
[2/12316] Fetching yams, swift-docc-plugin
[8314/27022] Fetching yams, swift-docc-plugin, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.77s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.94s)
Fetched https://github.com/jpsim/Yams.git from cache (0.96s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.33s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.35s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3335] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.35s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.37s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.32s)
Creating working copy for https://github.com/rhx/SwiftGObject.git
Working copy of https://github.com/rhx/SwiftGObject.git resolved at main (3732e69)
Creating working copy for https://github.com/rhx/SwiftAtk.git
Working copy of https://github.com/rhx/SwiftAtk.git resolved at main (62a98a3)
Creating working copy for https://github.com/rhx/SwiftGIO.git
Working copy of https://github.com/rhx/SwiftGIO.git resolved at main (e127a94)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/rhx/gir2swift.git
Working copy of https://github.com/rhx/gir2swift.git resolved at main (d004249)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/rhx/SwiftGdkPixbuf.git
Working copy of https://github.com/rhx/SwiftGdkPixbuf.git resolved at main (b382992)
Creating working copy for https://github.com/rhx/SwiftLibXML.git
Working copy of https://github.com/rhx/SwiftLibXML.git resolved at main (1b9b259)
Creating working copy for https://github.com/rhx/SwiftGdk.git
Working copy of https://github.com/rhx/SwiftGdk.git resolved at main (3df89d4)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/rhx/SwiftHarfBuzz.git
Working copy of https://github.com/rhx/SwiftHarfBuzz.git resolved at main (eeaa2f0)
Creating working copy for https://github.com/rhx/SwiftGModule.git
Working copy of https://github.com/rhx/SwiftGModule.git resolved at main (69e7237)
Creating working copy for https://github.com/rhx/SwiftCairo.git
Working copy of https://github.com/rhx/SwiftCairo.git resolved at main (deee984)
Creating working copy for https://github.com/rhx/SwiftPangoCairo.git
Working copy of https://github.com/rhx/SwiftPangoCairo.git resolved at main (0318374)
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/SwiftGLib.git
Working copy of https://github.com/rhx/SwiftGLib.git resolved at main (1e2c020)
Creating working copy for https://github.com/rhx/SwiftPango.git
Working copy of https://github.com/rhx/SwiftPango.git resolved at main (f3c2728)
warning: you may be able to install gtk+-3.0 using your system-packager:
    apt-get install libgtk-3-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install atk using your system-packager:
    apt-get install libatk1.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install harfbuzz-gobject using your system-packager:
    apt-get install libharfbuzz-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install pango using your system-packager:
    apt-get install libpango1.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install cairo using your system-packager:
    apt-get install libcairo2-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install pangocairo using your system-packager:
    apt-get install libpango1.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gio-unix-2.0 using your system-packager:
    apt-get install libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gdk-pixbuf-2.0 using your system-packager:
    apt-get install libgdk-pixbuf2.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gdk-3.0 using your system-packager:
    apt-get install libgtk-3-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
Building for debugging...
[0/21] Write sources
[6/21] Compiling writer.c
[7/21] Compiling reader.c
[8/21] Compiling parser.c
[9/21] Write swift-version-24593BA9C3E375BF.txt
[10/21] Compiling emitter.c
[11/21] Compiling api.c
[12/27] Compiling scanner.c
[14/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/45] Emitting module ArgumentParserToolInfo
[16/46] Wrapping AST for ArgumentParserToolInfo for debugging
[18/84] Compiling ArgumentParser ArgumentVisibility.swift
[19/84] Compiling ArgumentParser CompletionKind.swift
[20/85] Compiling SwiftLibXML XMLPath.swift
[21/85] Compiling SwiftLibXML XMLNameSpace.swift
[22/85] Compiling ArgumentParser Argument.swift
[23/85] Compiling ArgumentParser ArgumentHelp.swift
[24/85] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/85] Compiling ArgumentParser ZshCompletionsGenerator.swift
[26/85] Compiling ArgumentParser OptionGroup.swift
[27/85] Compiling ArgumentParser AsyncParsableCommand.swift
[28/85] Compiling SwiftLibXML EmptySequence.swift
[29/85] Emitting module SwiftLibXML
[30/85] Compiling SwiftLibXML XMLAttribute.swift
[31/85] Compiling SwiftLibXML XMLElement.swift
[32/85] Compiling SwiftLibXML XMLDocument.swift
[33/85] Compiling ArgumentParser NameSpecification.swift
[34/85] Compiling ArgumentParser Option.swift
[35/85] Emitting module Yams
[36/85] Compiling ArgumentParser Errors.swift
[37/85] Compiling ArgumentParser Flag.swift
[38/85] Compiling ArgumentParser BashCompletionsGenerator.swift
[39/85] Compiling ArgumentParser CompletionsGenerator.swift
[43/86] Compiling ArgumentParser CommandConfiguration.swift
[44/86] Compiling ArgumentParser CommandGroup.swift
[45/86] Compiling ArgumentParser EnumerableFlag.swift
[46/86] Compiling Yams YamlError.swift
[46/92] Wrapping AST for SwiftLibXML for debugging
[48/92] Wrapping AST for Yams for debugging
[50/92] Emitting module ArgumentParser
[51/92] Compiling ArgumentParser Name.swift
[52/92] Compiling ArgumentParser Parsed.swift
[53/92] Compiling ArgumentParser ParsedValues.swift
[54/92] Compiling ArgumentParser ParserError.swift
[55/92] Compiling ArgumentParser SplitArguments.swift
[56/92] Compiling ArgumentParser CollectionExtensions.swift
[57/92] Compiling ArgumentParser Platform.swift
[58/92] Compiling ArgumentParser SequenceExtensions.swift
[59/92] Compiling ArgumentParser StringExtensions.swift
[60/92] Compiling ArgumentParser Tree.swift
[73/92] Compiling ArgumentParser DumpHelpGenerator.swift
[74/92] Compiling ArgumentParser HelpCommand.swift
[75/92] Compiling ArgumentParser HelpGenerator.swift
[76/92] Compiling ArgumentParser MessageInfo.swift
[77/92] Compiling ArgumentParser UsageGenerator.swift
[78/92] Compiling ArgumentParser ExpressibleByArgument.swift
[79/92] Compiling ArgumentParser ParsableArguments.swift
[80/92] Compiling ArgumentParser ParsableArgumentsValidation.swift
[81/92] Compiling ArgumentParser ParsableCommand.swift
[82/92] Compiling ArgumentParser ArgumentDecoder.swift
[83/92] Compiling ArgumentParser ArgumentDefinition.swift
[84/92] Compiling ArgumentParser ArgumentSet.swift
[85/92] Compiling ArgumentParser CommandParser.swift
[86/92] Compiling ArgumentParser InputKey.swift
[87/92] Compiling ArgumentParser InputOrigin.swift
[88/93] Wrapping AST for ArgumentParser for debugging
[90/134] Compiling libgir2swift GirEnumeration.swift
[91/134] Compiling libgir2swift GirField.swift
[92/134] Compiling libgir2swift GirFunction.swift
[93/134] Compiling libgir2swift GirInterface.swift
[94/134] Compiling libgir2swift GirMethod.swift
[95/134] Compiling libgir2swift GirProperty.swift
[96/134] Compiling libgir2swift GirBitfield.swift
[97/134] Compiling libgir2swift GirCType.swift
[98/134] Compiling libgir2swift GirCallback.swift
[99/134] Compiling libgir2swift GirClass.swift
[100/134] Compiling libgir2swift GirConstant.swift
[101/134] Compiling libgir2swift GirDatatype.swift
[102/134] Compiling libgir2swift Character+Utilities.swift
[103/134] Compiling libgir2swift Collection+Utilities.swift
[104/134] Compiling libgir2swift Streams.swift
[105/134] Compiling libgir2swift String+Substring.swift
[106/134] Compiling libgir2swift String+Utilities.swift
[107/134] Compiling libgir2swift GirRecord.swift
[108/134] Compiling libgir2swift GirSignal.swift
[109/134] Compiling libgir2swift GirThing.swift
[110/134] Compiling libgir2swift GirUnion.swift
[111/134] Compiling libgir2swift girtype+xml.swift
[112/139] Emitting module libgir2swift
[113/139] Compiling libgir2swift Gir2Swift.swift
[114/139] Compiling libgir2swift GirType.swift
[115/139] Compiling libgir2swift TypeConversion.swift
[116/139] Compiling libgir2swift TypeReference.swift
[117/139] Compiling libgir2swift GirAlias.swift
[118/139] Compiling libgir2swift GirArgument.swift
[119/139] Compiling libgir2swift gtk2swiftdoc.swift
[120/139] Compiling libgir2swift ConversionContext.swift
[121/139] Compiling libgir2swift Gir+Enums.swift
[122/139] Compiling libgir2swift Gir+KnowTypeSets.swift
[123/139] Compiling libgir2swift Gir+KnownTypes.swift
[124/139] Compiling libgir2swift Gir.swift
[125/139] Compiling libgir2swift System.swift
[126/139] Compiling libgir2swift XML+Utilities.swift
[127/139] Compiling libgir2swift generation.swift
[128/139] Compiling libgir2swift planning.swift
[129/139] Compiling libgir2swift postprocessing.swift
[130/139] Compiling libgir2swift CodeBuilder.swift
[131/139] Compiling libgir2swift c2swift.swift
[132/139] Compiling libgir2swift emit-class.swift
[133/139] Compiling libgir2swift emit-signals.swift
[134/139] Compiling libgir2swift gir+swift.swift
[135/139] Compiling libgir2swift girtypes+swift.swift
[136/140] Wrapping AST for libgir2swift for debugging
[138/142] Emitting module gir2swift
[139/142] Compiling gir2swift main.swift
[140/143] Wrapping AST for gir2swift for debugging
[141/143] Write Objects.LinkFileList
[142/143] Linking gir2swift
Build complete! (22.87s)
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
Build complete! (0.16s)
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
Build complete! (0.16s)
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
Build complete! (0.16s)
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
Build complete! (0.16s)
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
Build complete! (0.16s)
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
Build complete! (0.16s)
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
Build complete! (0.15s)
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
Build complete! (0.16s)
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
Build complete! (0.16s)
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
Build complete! (0.16s)
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
Build complete! (0.16s)
warning: you may be able to install gio-unix-2.0 using your system-packager:
    apt-get install libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gdk-pixbuf-2.0 using your system-packager:
    apt-get install libgdk-pixbuf2.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install atk using your system-packager:
    apt-get install libatk1.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install harfbuzz-gobject using your system-packager:
    apt-get install libharfbuzz-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install pango using your system-packager:
    apt-get install libpango1.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install cairo using your system-packager:
    apt-get install libcairo2-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install pangocairo using your system-packager:
    apt-get install libpango1.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gdk-3.0 using your system-packager:
    apt-get install libgtk-3-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gtk+-3.0 using your system-packager:
    apt-get install libgtk-3-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin gir2swift-plugin
Building for debugging...
Failed to load /host/spi-builder-workspace/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "Gtk-3.0.gir")
[4/52] Converting Gtk Gtk-3.0.gir
Failed to load /host/spi-builder-workspace/.build/checkouts/SwiftHarfBuzz/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "HarfBuzz-0.0.gir")
[4/52] Converting HarfBuzz HarfBuzz-0.0.gir
Failed to load /host/spi-builder-workspace/.build/checkouts/SwiftPangoCairo/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "PangoCairo-1.0.gir")
[6/52] Converting PangoCairo PangoCairo-1.0.gir
Failed to load /host/spi-builder-workspace/.build/checkouts/SwiftPango/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "Pango-1.0.gir")
Failed to load /host/spi-builder-workspace/.build/checkouts/SwiftGdk/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "Gdk-3.0.gir")
[7/52] Converting Gdk Gdk-3.0.gir
[7/52] Converting Pango Pango-1.0.gir
Failed to load /host/spi-builder-workspace/.build/checkouts/SwiftGdkPixbuf/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "GdkPixbuf-2.0.gir")
[9/52] Converting GdkPixBuf GdkPixbuf-2.0.gir
[10/52] Write sources
Failed to load /host/spi-builder-workspace/.build/checkouts/SwiftGObject/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "GObject-2.0.gir")
[17/52] Converting GLibObject GObject-2.0.gir
Failed to load /host/spi-builder-workspace/.build/checkouts/SwiftGModule/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "GModule-2.0.gir")
[18/52] Converting GModule GModule-2.0.gir
[19/52] Write sources
Failed to load /host/spi-builder-workspace/.build/checkouts/SwiftGLib/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "GLib-2.0.gir")
Failed to load /host/spi-builder-workspace/.build/checkouts/SwiftCairo/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "cairo-1.0.gir")
[24/52] Converting Cairo cairo-1.0.gir
[25/52] Converting GLib GLib-2.0.gir
Failed to load /host/spi-builder-workspace/.build/checkouts/SwiftAtk/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "Atk-1.0.gir")
Failed to load /host/spi-builder-workspace/.build/checkouts/SwiftGIO/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "Gio-2.0.gir")
[26/52] Converting Atk Atk-1.0.gir
[26/52] Converting GIO Gio-2.0.gir
[26/52] Write sources
In file included from /host/spi-builder-workspace/Sources/GtkCHelpers/gtk_dialog.c:1:
/host/spi-builder-workspace/Sources/GtkCHelpers/include/gtk_dialog.h:2:10: fatal error: 'gtk/gtk.h' file not found
#include <gtk/gtk.h>
         ^~~~~~~~~~~
1 error generated.
[30/52] Compiling GtkCHelpers gtk_dialog.c
[30/52] Compiling reader.c
[30/52] Compiling emitter.c
[30/52] Compiling parser.c
[30/52] Compiling api.c
[30/52] Compiling writer.c
[30/52] Compiling scanner.c
[30/52] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux