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 macOS (SPM) on 11 Mar 2025 10:20:24 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/rhx/swiftgtk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/17] Write sources
[0/17] Write gir2swift-entitlement.plist
[0/17] Write sources
[7/17] Write swift-version-33747A42983211AE.txt
[8/26] Compiling parser.c
[9/26] Compiling writer.c
[10/26] Compiling api.c
[12/26] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/26] Emitting module ArgumentParserToolInfo
[13/26] Compiling reader.c
[15/26] Compiling SwiftLibXML EmptySequence.swift
[15/65] Compiling emitter.c
[16/65] Compiling scanner.c
[18/80] Compiling SwiftLibXML XMLNameSpace.swift
[19/80] Compiling SwiftLibXML XMLElement.swift
[20/80] Compiling SwiftLibXML XMLAttribute.swift
[21/80] Compiling SwiftLibXML XMLPath.swift
[22/80] Emitting module SwiftLibXML
[23/80] Compiling SwiftLibXML XMLDocument.swift
[24/80] Compiling Yams Tag.swift
[25/81] Compiling ArgumentParser ArgumentHelp.swift
[26/81] Compiling ArgumentParser ArgumentVisibility.swift
[27/81] Compiling ArgumentParser CompletionKind.swift
[28/81] Compiling ArgumentParser Errors.swift
[29/81] Compiling ArgumentParser Flag.swift
[30/85] Compiling Yams Parser.swift
[31/85] Compiling ArgumentParser Option.swift
[32/85] Compiling ArgumentParser OptionGroup.swift
[33/85] Compiling ArgumentParser AsyncParsableCommand.swift
[34/85] Compiling Yams YamlError.swift
[35/85] Compiling Yams Emitter.swift
[36/85] Compiling Yams Encoder.swift
[37/85] Compiling Yams Mark.swift
[38/85] Compiling Yams Node.Mapping.swift
[39/85] Emitting module ArgumentParser
[40/85] Compiling Yams Node.Scalar.swift
[41/85] Compiling Yams Node.Sequence.swift
[42/85] Compiling Yams Constructor.swift
[43/85] Compiling Yams Decoder.swift
[44/85] Compiling Yams Node.swift
[45/85] Compiling ArgumentParser Platform.swift
[46/85] Compiling ArgumentParser SequenceExtensions.swift
[47/85] Compiling ArgumentParser StringExtensions.swift
[48/85] Compiling ArgumentParser Tree.swift
[49/85] Compiling ArgumentParser ArgumentDefinition.swift
[50/85] Compiling ArgumentParser ArgumentSet.swift
[51/85] Compiling ArgumentParser CommandParser.swift
[52/85] Compiling ArgumentParser InputKey.swift
[53/85] Compiling Yams String+Yams.swift
[54/85] Compiling ArgumentParser ParsableArguments.swift
[55/85] Compiling ArgumentParser ParsableArgumentsValidation.swift
[56/85] Compiling ArgumentParser ParsableCommand.swift
[57/85] Compiling ArgumentParser ArgumentDecoder.swift
[58/85] Compiling ArgumentParser ParserError.swift
[59/85] Compiling ArgumentParser SplitArguments.swift
[60/85] Compiling ArgumentParser DumpHelpGenerator.swift
[61/85] Compiling ArgumentParser HelpCommand.swift
[64/85] Emitting module Yams
[65/85] Compiling ArgumentParser CommandConfiguration.swift
[66/85] Compiling ArgumentParser CommandGroup.swift
[67/85] Compiling ArgumentParser EnumerableFlag.swift
[68/85] Compiling ArgumentParser ExpressibleByArgument.swift
[69/85] Compiling ArgumentParser HelpGenerator.swift
[70/85] Compiling ArgumentParser MessageInfo.swift
[71/85] Compiling ArgumentParser UsageGenerator.swift
[72/85] Compiling ArgumentParser CollectionExtensions.swift
[73/85] Compiling Yams Resolver.swift
[78/85] Compiling Yams Representer.swift
[83/127] Compiling libgir2swift GirProperty.swift
[84/127] Compiling libgir2swift GirRecord.swift
[85/127] Compiling libgir2swift GirSignal.swift
[86/127] Compiling libgir2swift GirThing.swift
[87/131] Compiling libgir2swift TypeReference.swift
[88/131] Compiling libgir2swift GirAlias.swift
[89/131] Compiling libgir2swift GirArgument.swift
[90/131] Compiling libgir2swift GirBitfield.swift
[91/131] Compiling libgir2swift GirCType.swift
[92/131] Compiling libgir2swift GirField.swift
[93/131] Compiling libgir2swift GirFunction.swift
[94/131] Compiling libgir2swift GirInterface.swift
[95/131] Compiling libgir2swift GirMethod.swift
[96/131] Compiling libgir2swift girtypes+swift.swift
[97/131] Compiling libgir2swift gtk2swiftdoc.swift
[98/131] Compiling libgir2swift ConversionContext.swift
[99/131] Compiling libgir2swift Gir+Enums.swift
[100/131] Compiling libgir2swift Gir+KnowTypeSets.swift
[101/131] Emitting module libgir2swift
[102/131] Compiling libgir2swift GirCallback.swift
[103/131] Compiling libgir2swift GirClass.swift
[104/131] Compiling libgir2swift GirConstant.swift
[105/131] Compiling libgir2swift GirDatatype.swift
[106/131] Compiling libgir2swift GirEnumeration.swift
[107/131] Compiling libgir2swift Streams.swift
[108/131] Compiling libgir2swift String+Substring.swift
[109/131] Compiling libgir2swift String+Utilities.swift
[110/131] Compiling libgir2swift System.swift
[111/131] Compiling libgir2swift Gir+KnownTypes.swift
[112/131] Compiling libgir2swift Gir.swift
[113/131] Compiling libgir2swift Gir2Swift.swift
[114/131] Compiling libgir2swift GirType.swift
[115/131] Compiling libgir2swift TypeConversion.swift
[116/131] Compiling libgir2swift XML+Utilities.swift
[117/131] Compiling libgir2swift generation.swift
[118/131] Compiling libgir2swift planning.swift
[119/131] Compiling libgir2swift postprocessing.swift
[120/131] Compiling libgir2swift CodeBuilder.swift
[121/131] Compiling libgir2swift c2swift.swift
[122/131] Compiling libgir2swift emit-class.swift
[123/131] Compiling libgir2swift emit-signals.swift
[124/131] Compiling libgir2swift gir+swift.swift
[125/131] Compiling libgir2swift GirUnion.swift
[126/131] Compiling libgir2swift girtype+xml.swift
[127/131] Compiling libgir2swift Character+Utilities.swift
[128/131] Compiling libgir2swift Collection+Utilities.swift
[129/133] Emitting module gir2swift
[130/133] Compiling gir2swift main.swift
[130/133] Write Objects.LinkFileList
[131/133] Linking gir2swift
[132/133] Applying gir2swift
Build complete! (11.47s)
Building for debugging...
[0/3] Write swift-version-33747A42983211AE.txt
Build complete! (0.09s)
Building for debugging...
[0/3] Write swift-version-33747A42983211AE.txt
Build complete! (0.09s)
Building for debugging...
[0/3] Write swift-version-33747A42983211AE.txt
Build complete! (0.09s)
Building for debugging...
[0/3] Write swift-version-33747A42983211AE.txt
Build complete! (0.09s)
Building for debugging...
[0/3] Write swift-version-33747A42983211AE.txt
Build complete! (0.09s)
Building for debugging...
[0/3] Write swift-version-33747A42983211AE.txt
Build complete! (0.09s)
Building for debugging...
[0/3] Write swift-version-33747A42983211AE.txt
Build complete! (0.09s)
Building for debugging...
[0/3] Write swift-version-33747A42983211AE.txt
Build complete! (0.09s)
Building for debugging...
[0/3] Write swift-version-33747A42983211AE.txt
Build complete! (0.09s)
Building for debugging...
[0/3] Write swift-version-33747A42983211AE.txt
Build complete! (0.09s)
Building for debugging...
[0/3] Write swift-version-33747A42983211AE.txt
Build complete! (0.09s)
[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...
[4/48] Write gir2swift-entitlement.plist
[5/48] Write swift-version-33747A42983211AE.txt
env: pkg-config: No such file or directory
Failed to load /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftPango/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "Pango-1.0.gir")
env: pkg-config: No such file or directory
Failed to load /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftPangoCairo/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "PangoCairo-1.0.gir")
[6/48] Converting PangoCairo PangoCairo-1.0.gir
[6/48] Converting Pango Pango-1.0.gir
env: pkg-config: No such file or directory
Failed to load /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftHarfBuzz/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "HarfBuzz-0.0.gir")
[6/48] Converting HarfBuzz HarfBuzz-0.0.gir
env: pkg-config: No such file or directory
Failed to load /Users/admin/builder/spi-builder-workspace/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "Gtk-3.0.gir")
[6/48] Converting Gtk Gtk-3.0.gir
env: pkg-config: No such file or directory
Failed to load /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftGdkPixbuf/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "GdkPixbuf-2.0.gir")
[10/48] Converting GdkPixBuf GdkPixbuf-2.0.gir
env: pkg-config: No such file or directory
Failed to load /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftGdk/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "Gdk-3.0.gir")
[10/48] Converting Gdk Gdk-3.0.gir
env: pkg-config: No such file or directory
Failed to load /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftGModule/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "GModule-2.0.gir")
env: pkg-config: No such file or directory
Failed to load /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftGObject/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "GObject-2.0.gir")
[10/48] Converting GLibObject GObject-2.0.gir
[10/48] Converting GModule GModule-2.0.gir
In file included from /Users/admin/builder/spi-builder-workspace/Sources/GtkCHelpers/gtk_dialog.c:1:
/Users/admin/builder/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.
[14/48] Compiling GtkCHelpers gtk_dialog.c
[14/48] Converting Atk Atk-1.0.gir
[14/48] Converting Cairo cairo-1.0.gir
[14/48] Converting GIO Gio-2.0.gir
[14/48] Converting GLib GLib-2.0.gir
[14/48] Compiling writer.c
[14/48] Compiling parser.c
[14/48] Compiling reader.c
[14/48] Compiling emitter.c
[14/48] Compiling scanner.c
Fetching https://github.com/rhx/gir2swift.git
[1/5539] Fetching gir2swift
Fetched https://github.com/rhx/gir2swift.git from cache (1.50s)
Fetching https://github.com/rhx/SwiftAtk.git
[1/3941] Fetching swiftatk
Fetched https://github.com/rhx/SwiftAtk.git from cache (1.51s)
Fetching https://github.com/rhx/SwiftGdk.git
[1/6082] Fetching swiftgdk
Fetched https://github.com/rhx/SwiftGdk.git from cache (1.86s)
Fetching https://github.com/rhx/SwiftLibXML.git
[1/306] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git from cache (0.75s)
Fetching https://github.com/rhx/SwiftGObject.git
[1/11714] Fetching swiftgobject
Fetched https://github.com/rhx/SwiftGObject.git from cache (2.23s)
Fetching https://github.com/rhx/SwiftGdkPixbuf.git
[1/1641] Fetching swiftgdkpixbuf
Fetched https://github.com/rhx/SwiftGdkPixbuf.git from cache (1.26s)
Fetching https://github.com/rhx/SwiftPangoCairo.git
[1/1000] Fetching swiftpangocairo
Fetched https://github.com/rhx/SwiftPangoCairo.git from cache (1.03s)
Fetching https://github.com/rhx/SwiftGLib.git
[1/21669] Fetching swiftglib
Fetched https://github.com/rhx/SwiftGLib.git from cache (41.74s)
Fetching https://github.com/rhx/SwiftGIO.git
[1/54365] Fetching swiftgio
Fetched https://github.com/rhx/SwiftGIO.git from cache (28.80s)
Fetching https://github.com/rhx/SwiftGModule.git
[1/1085] Fetching swiftgmodule
Fetched https://github.com/rhx/SwiftGModule.git from cache (1.15s)
Fetching https://github.com/rhx/SwiftCairo.git
[1/1778] Fetching swiftcairo
Fetched https://github.com/rhx/SwiftCairo.git from cache (1.14s)
Fetching https://github.com/rhx/SwiftPango.git
[1/4050] Fetching swiftpango
Fetched https://github.com/rhx/SwiftPango.git from cache (1.88s)
Fetching https://github.com/rhx/SwiftHarfBuzz.git
[1/144] Fetching swiftharfbuzz
Fetched https://github.com/rhx/SwiftHarfBuzz.git from cache (0.69s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-docc-plugin
[1/2050] Fetching swift-docc-plugin
[227/12316] Fetching swift-docc-plugin, yams
[658/27022] Fetching swift-docc-plugin, yams, swift-argument-parser
Fetched https://github.com/jpsim/Yams.git from cache (2.01s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.01s)
Fetched https://github.com/apple/swift-docc-plugin from cache (2.01s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.81s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.47s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3335] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.33s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.47s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.51s)
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-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/SwiftAtk.git
Working copy of https://github.com/rhx/SwiftAtk.git resolved at main (62a98a3)
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/SwiftHarfBuzz.git
Working copy of https://github.com/rhx/SwiftHarfBuzz.git resolved at main (eeaa2f0)
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/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/SwiftGIO.git
Working copy of https://github.com/rhx/SwiftGIO.git resolved at main (e127a94)
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/rhx/SwiftPangoCairo.git
Working copy of https://github.com/rhx/SwiftPangoCairo.git resolved at main (0318374)
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/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/SwiftGdkPixbuf.git
Working copy of https://github.com/rhx/SwiftGdkPixbuf.git resolved at main (b382992)
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/rhx/SwiftPango.git
Working copy of https://github.com/rhx/SwiftPango.git resolved at main (f3c2728)
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
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install gio-unix-2.0 using your system-packager:
    brew install glib glib-networking gobject-introspection
warning: you may be able to install harfbuzz-gobject using your system-packager:
    brew install harfbuzz glib glib-networking gobject-introspection
warning: you may be able to install pango using your system-packager:
    brew install pango glib glib-networking gobject-introspection
warning: you may be able to install atk using your system-packager:
    brew install atk glib glib-networking gobject-introspection
warning: you may be able to install cairo using your system-packager:
    brew install cairo glib glib-networking gobject-introspection
warning: you may be able to install pangocairo using your system-packager:
    brew install pango glib glib-networking gobject-introspection
warning: you may be able to install gdk-pixbuf-2.0 using your system-packager:
    brew install gdk-pixbuf glib glib-networking gobject-introspection
warning: you may be able to install gdk-3.0 using your system-packager:
    brew install gtk+3 glib glib-networking gobject-introspection
warning: you may be able to install gtk+-3.0 using your system-packager:
    brew install gtk+3 glib glib-networking gobject-introspection
warning: you may be able to install gio-unix-2.0 using your system-packager:
    brew install glib glib-networking gobject-introspection
warning: you may be able to install harfbuzz-gobject using your system-packager:
    brew install harfbuzz glib glib-networking gobject-introspection
warning: you may be able to install pango using your system-packager:
    brew install pango glib glib-networking gobject-introspection
warning: you may be able to install cairo using your system-packager:
    brew install cairo glib glib-networking gobject-introspection
warning: you may be able to install pangocairo using your system-packager:
    brew install pango glib glib-networking gobject-introspection
warning: you may be able to install gdk-pixbuf-2.0 using your system-packager:
    brew install gdk-pixbuf glib glib-networking gobject-introspection
warning: you may be able to install gdk-3.0 using your system-packager:
    brew install gtk+3 glib glib-networking gobject-introspection
warning: you may be able to install atk using your system-packager:
    brew install atk glib glib-networking gobject-introspection
warning: you may be able to install gtk+-3.0 using your system-packager:
    brew install gtk+3 glib glib-networking gobject-introspection
BUILD FAILURE 5.10 macosSpm