Build Information
Failed to build Gtk with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
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 feed1e2 Update for gtk-4.14
Cloned https://github.com/rhx/swiftgtk.git
Revision (git rev-parse @):
feed1e245f181fc377a7095f1978a7db51b1ef31
SUCCESS checkout https://github.com/rhx/swiftgtk.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/rhx/swiftgtk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/17] Write sources
[0/17] Write gir2swift-entitlement.plist
[0/17] Write sources
[7/17] Write swift-version-6F35C1178C84523A.txt
[8/26] Compiling reader.c
[9/26] Compiling parser.c
[10/26] Compiling api.c
[11/26] Compiling emitter.c
[12/26] Compiling writer.c
[13/26] Compiling scanner.c
[15/41] Emitting module ArgumentParserToolInfo
[16/41] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/79] Compiling SwiftLibXML XMLElement.swift
[18/79] Compiling SwiftLibXML XMLPath.swift
[19/79] Compiling SwiftLibXML EmptySequence.swift
[20/79] Compiling SwiftLibXML XMLNameSpace.swift
[21/79] Emitting module SwiftLibXML
[22/79] Compiling SwiftLibXML XMLAttribute.swift
[23/79] Compiling SwiftLibXML XMLDocument.swift
[24/79] Compiling ArgumentParser AsyncParsableCommand.swift
[25/79] Compiling ArgumentParser CommandConfiguration.swift
[26/79] Compiling ArgumentParser EnumerableFlag.swift
[27/79] Compiling ArgumentParser ExpressibleByArgument.swift
[28/83] Compiling ArgumentParser ArgumentHelp.swift
[29/83] Compiling ArgumentParser ArgumentVisibility.swift
[30/83] Compiling ArgumentParser CompletionKind.swift
[31/83] Compiling ArgumentParser Errors.swift
[32/83] Compiling Yams Tag.swift
[33/84] Compiling ArgumentParser Platform.swift
[34/84] Compiling ArgumentParser SequenceExtensions.swift
[35/84] Compiling ArgumentParser StringExtensions.swift
[36/84] Compiling ArgumentParser Tree.swift
[37/84] Compiling Yams YamlError.swift
[38/84] Compiling ArgumentParser BashCompletionsGenerator.swift
[39/84] Compiling ArgumentParser CompletionsGenerator.swift
[40/84] Compiling ArgumentParser FishCompletionsGenerator.swift
[41/84] Compiling ArgumentParser ZshCompletionsGenerator.swift
[42/84] Compiling ArgumentParser Argument.swift
[43/84] Emitting module ArgumentParser
[44/84] Compiling ArgumentParser HelpGenerator.swift
[45/84] Compiling ArgumentParser MessageInfo.swift
[46/84] Compiling ArgumentParser UsageGenerator.swift
[47/84] Compiling ArgumentParser CollectionExtensions.swift
[48/84] Compiling ArgumentParser InputOrigin.swift
[49/84] Compiling ArgumentParser Name.swift
[50/84] Compiling ArgumentParser Parsed.swift
[51/84] Compiling ArgumentParser ParsedValues.swift
[54/84] Compiling Yams Resolver.swift
[55/84] Compiling ArgumentParser ArgumentDefinition.swift
[56/84] Compiling ArgumentParser ArgumentSet.swift
[57/84] Compiling ArgumentParser CommandParser.swift
[58/84] Compiling ArgumentParser InputKey.swift
[59/84] Compiling ArgumentParser ParsableArguments.swift
[60/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[61/84] Compiling ArgumentParser ParsableCommand.swift
[62/84] Compiling ArgumentParser ArgumentDecoder.swift
[63/84] Compiling ArgumentParser Flag.swift
[64/84] Compiling ArgumentParser NameSpecification.swift
[65/84] Compiling ArgumentParser Option.swift
[66/84] Compiling ArgumentParser OptionGroup.swift
[67/84] Compiling ArgumentParser ParserError.swift
[68/84] Compiling ArgumentParser SplitArguments.swift
[69/84] Compiling ArgumentParser DumpHelpGenerator.swift
[70/84] Compiling ArgumentParser HelpCommand.swift
[71/84] Compiling Yams Representer.swift
[76/84] Compiling Yams String+Yams.swift
[79/84] Emitting module Yams
[82/126] Compiling libgir2swift GirField.swift
[83/126] Compiling libgir2swift GirFunction.swift
[84/126] Compiling libgir2swift GirInterface.swift
[85/126] Compiling libgir2swift GirMethod.swift
[86/130] Compiling libgir2swift GirCallback.swift
[87/130] Compiling libgir2swift GirClass.swift
[88/130] Compiling libgir2swift GirConstant.swift
[89/130] Compiling libgir2swift GirDatatype.swift
[90/130] Compiling libgir2swift GirEnumeration.swift
[91/130] Compiling libgir2swift GirUnion.swift
[92/130] Compiling libgir2swift girtype+xml.swift
[93/130] Compiling libgir2swift Character+Utilities.swift
[94/130] Compiling libgir2swift Collection+Utilities.swift
[95/130] Compiling libgir2swift GirProperty.swift
[96/130] Compiling libgir2swift GirRecord.swift
[97/130] Compiling libgir2swift GirSignal.swift
[98/130] Compiling libgir2swift GirThing.swift
[99/130] Compiling libgir2swift Streams.swift
[100/130] Compiling libgir2swift String+Substring.swift
[101/130] Compiling libgir2swift String+Utilities.swift
[102/130] Compiling libgir2swift System.swift
[103/130] Compiling libgir2swift TypeReference.swift
[104/130] Compiling libgir2swift GirAlias.swift
[105/130] Compiling libgir2swift GirArgument.swift
[106/130] Compiling libgir2swift GirBitfield.swift
[107/130] Compiling libgir2swift GirCType.swift
[108/130] Compiling libgir2swift girtypes+swift.swift
[109/130] Compiling libgir2swift gtk2swiftdoc.swift
[110/130] Compiling libgir2swift ConversionContext.swift
[111/130] Compiling libgir2swift Gir+Enums.swift
[112/130] Compiling libgir2swift Gir+KnowTypeSets.swift
[113/130] Emitting module libgir2swift
[114/130] Compiling libgir2swift Gir+KnownTypes.swift
[115/130] Compiling libgir2swift Gir.swift
[116/130] Compiling libgir2swift Gir2Swift.swift
[117/130] Compiling libgir2swift GirType.swift
[118/130] Compiling libgir2swift TypeConversion.swift
[119/130] Compiling libgir2swift XML+Utilities.swift
[120/130] Compiling libgir2swift generation.swift
[121/130] Compiling libgir2swift planning.swift
[122/130] Compiling libgir2swift postprocessing.swift
[123/130] Compiling libgir2swift CodeBuilder.swift
[124/130] Compiling libgir2swift c2swift.swift
[125/130] Compiling libgir2swift emit-class.swift
[126/130] Compiling libgir2swift emit-signals.swift
[127/130] Compiling libgir2swift gir+swift.swift
[128/132] Compiling gir2swift main.swift
[129/132] Emitting module gir2swift
[129/132] Write Objects.LinkFileList
[130/132] Linking gir2swift
[131/132] Applying gir2swift
Build of product 'gir2swift' complete! (32.65s)
Building for debugging...
[0/3] Write swift-version-6F35C1178C84523A.txt
Build of product 'gir2swift' complete! (0.13s)
Building for debugging...
[0/3] Write swift-version-6F35C1178C84523A.txt
Build of product 'gir2swift' complete! (0.13s)
Building for debugging...
[0/3] Write swift-version-6F35C1178C84523A.txt
Build of product 'gir2swift' complete! (0.14s)
Building for debugging...
[0/3] Write swift-version-6F35C1178C84523A.txt
Build of product 'gir2swift' complete! (0.14s)
Building for debugging...
[0/3] Write swift-version-6F35C1178C84523A.txt
Build of product 'gir2swift' complete! (0.14s)
Building for debugging...
[0/3] Write swift-version-6F35C1178C84523A.txt
Build of product 'gir2swift' complete! (0.13s)
Building for debugging...
[0/3] Write swift-version-6F35C1178C84523A.txt
Build of product 'gir2swift' complete! (0.13s)
Building for debugging...
[0/3] Write swift-version-6F35C1178C84523A.txt
Build of product 'gir2swift' complete! (0.13s)
Building for debugging...
[0/3] Write swift-version-6F35C1178C84523A.txt
Build of product 'gir2swift' complete! (0.13s)
Building for debugging...
[0/3] Write swift-version-6F35C1178C84523A.txt
Build of product 'gir2swift' complete! (0.13s)
Building for debugging...
[0/3] Write swift-version-6F35C1178C84523A.txt
Build of product 'gir2swift' complete! (0.13s)
[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-6F35C1178C84523A.txt
env: pkg-config: No such file or directory
Failed to load /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftGIO/gir2swift-manifest.yaml for manifest:
girNotFound(named: "Gio-2.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
[6/48] Converting GIO Gio-2.0.gir
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")
[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/SwiftGObject/gir2swift-manifest.yaml for manifest:
girNotFound(named: "GObject-2.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")
[6/48] Converting GLibObject GObject-2.0.gir
[6/48] Converting GModule GModule-2.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")
[6/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/SwiftPangoCairo/gir2swift-manifest.yaml for manifest:
girNotFound(named: "PangoCairo-1.0.gir")
[6/48] Converting PangoCairo PangoCairo-1.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/SwiftGdk/gir2swift-manifest.yaml for manifest:
girNotFound(named: "Gdk-3.0.gir")
[6/48] Converting Gdk Gdk-3.0.gir
[6/48] Write sources
env: pkg-config: No such file or directory
Failed to load /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftCairo/gir2swift-manifest.yaml for manifest:
girNotFound(named: "cairo-1.0.gir")
[19/48] Converting Cairo cairo-1.0.gir
env: pkg-config: No such file or directory
Failed to load /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftAtk/gir2swift-manifest.yaml for manifest:
girNotFound(named: "Atk-1.0.gir")
[19/48] Converting Atk Atk-1.0.gir
[21/48] Write sources
env: pkg-config: No such file or directory
Failed to load /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftGLib/gir2swift-manifest.yaml for manifest:
girNotFound(named: "GLib-2.0.gir")
[34/48] Converting GLib GLib-2.0.gir
[35/48] Write sources
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
2 | #include <gtk/gtk.h>
| ^~~~~~~~~~~
1 error generated.
[36/48] Compiling GtkCHelpers gtk_dialog.c
[36/48] Compiling parser.c
[36/48] Compiling writer.c
[36/48] Compiling api.c
[36/48] Compiling emitter.c
[36/48] Compiling reader.c
[36/48] Compiling scanner.c
Fetching https://github.com/rhx/gir2swift.git
[1/5537] Fetching gir2swift
Fetched https://github.com/rhx/gir2swift.git from cache (1.24s)
Fetching https://github.com/rhx/SwiftAtk.git
[1/3939] Fetching swiftatk
Fetched https://github.com/rhx/SwiftAtk.git from cache (1.48s)
Fetching https://github.com/rhx/SwiftGdk.git
[1/6057] Fetching swiftgdk
Fetched https://github.com/rhx/SwiftGdk.git from cache (2.54s)
Fetching https://github.com/rhx/SwiftLibXML.git
[1/306] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git from cache (0.88s)
Fetching https://github.com/rhx/SwiftGObject.git
[1/11703] Fetching swiftgobject
Fetched https://github.com/rhx/SwiftGObject.git from cache (2.07s)
Fetching https://github.com/rhx/SwiftGdkPixbuf.git
[1/1632] Fetching swiftgdkpixbuf
Fetched https://github.com/rhx/SwiftGdkPixbuf.git from cache (1.19s)
Fetching https://github.com/rhx/SwiftPangoCairo.git
[1/991] Fetching swiftpangocairo
Fetched https://github.com/rhx/SwiftPangoCairo.git from cache (1.07s)
Fetching https://github.com/rhx/SwiftGLib.git
[1/21440] Fetching swiftglib
Fetched https://github.com/rhx/SwiftGLib.git from cache (5.73s)
Fetching https://github.com/rhx/SwiftGIO.git
[1/54318] Fetching swiftgio
Fetched https://github.com/rhx/SwiftGIO.git from cache (6.58s)
Fetching https://github.com/rhx/SwiftGModule.git
[1/1075] Fetching swiftgmodule
Fetched https://github.com/rhx/SwiftGModule.git from cache (1.13s)
Fetching https://github.com/rhx/SwiftCairo.git
[1/1769] Fetching swiftcairo
Fetched https://github.com/rhx/SwiftCairo.git from cache (1.19s)
Fetching https://github.com/rhx/SwiftPango.git
[1/4048] Fetching swiftpango
Fetched https://github.com/rhx/SwiftPango.git from cache (1.60s)
Fetching https://github.com/rhx/SwiftHarfBuzz.git
[1/139] Fetching swiftharfbuzz
Fetched https://github.com/rhx/SwiftHarfBuzz.git from cache (0.71s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-docc-plugin
[1/1465] Fetching swift-docc-plugin
[104/10802] Fetching swift-docc-plugin, yams
[1132/22516] Fetching swift-docc-plugin, yams, swift-argument-parser
Fetched https://github.com/apple/swift-docc-plugin from cache (1.86s)
Fetched https://github.com/jpsim/Yams.git from cache (1.86s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.86s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.71s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.68s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2861] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.31s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.74s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.4.0 (0.57s)
Creating working copy for https://github.com/rhx/SwiftGdk.git
Working copy of https://github.com/rhx/SwiftGdk.git resolved at main (42239b4)
Creating working copy for https://github.com/rhx/gir2swift.git
Working copy of https://github.com/rhx/gir2swift.git resolved at main (cf8b20d)
Creating working copy for https://github.com/rhx/SwiftPangoCairo.git
Working copy of https://github.com/rhx/SwiftPangoCairo.git resolved at main (e1ddcaa)
Creating working copy for https://github.com/rhx/SwiftAtk.git
Working copy of https://github.com/rhx/SwiftAtk.git resolved at main (4baee67)
Creating working copy for https://github.com/rhx/SwiftGIO.git
Working copy of https://github.com/rhx/SwiftGIO.git resolved at main (8fce80d)
Creating working copy for https://github.com/rhx/SwiftGdkPixbuf.git
Working copy of https://github.com/rhx/SwiftGdkPixbuf.git resolved at main (807bf99)
Creating working copy for https://github.com/rhx/SwiftCairo.git
Working copy of https://github.com/rhx/SwiftCairo.git resolved at main (161b8af)
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/SwiftGObject.git
Working copy of https://github.com/rhx/SwiftGObject.git resolved at main (5469ce3)
Creating working copy for https://github.com/rhx/SwiftPango.git
Working copy of https://github.com/rhx/SwiftPango.git resolved at main (0088754)
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 (fb84320)
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/rhx/SwiftGModule.git
Working copy of https://github.com/rhx/SwiftGModule.git resolved at main (98d2875)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.4.0
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/SwiftHarfBuzz.git
Working copy of https://github.com/rhx/SwiftHarfBuzz.git resolved at main (b323f20)
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 cairo using your system-packager:
brew install cairo 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 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 pangocairo 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 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 atk using your system-packager:
brew install atk 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 gtk+-3.0 using your system-packager:
brew install gtk+3 glib glib-networking gobject-introspection
BUILD FAILURE 6.0 macosSpm