The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Gtk with Swift 5.8 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.23.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/swiftgtk.git
Reference: 4.12.0
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/rhx/swiftgtk
 * tag               4.12.0     -> FETCH_HEAD
HEAD is now at 2787077 Merge branch 'gtk4-development' into gtk4
Cloned https://github.com/rhx/swiftgtk.git into spi-builder-workspace
27870779b965606c2c8e245e2ecba7a58ee4aa6c
SUCCESS checkout https://github.com/rhx/swiftgtk.git at 4.12.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-14.3.1.app" xcrun swift build --arch arm64
Fetching https://github.com/rhx/gir2swift.git from cache
Fetched https://github.com/rhx/gir2swift.git (0.20s)
Fetching https://github.com/rhx/SwiftGraphene.git from cache
Fetched https://github.com/rhx/SwiftGraphene.git (0.15s)
Fetching https://github.com/rhx/SwiftAtk.git from cache
Fetched https://github.com/rhx/SwiftAtk.git (0.18s)
Fetching https://github.com/rhx/SwiftGsk.git from cache
Fetched https://github.com/rhx/SwiftGsk.git (0.20s)
Fetching https://github.com/rhx/SwiftLibXML.git from cache
Fetched https://github.com/rhx/SwiftLibXML.git (0.27s)
Fetching https://github.com/rhx/SwiftGObject.git from cache
Fetched https://github.com/rhx/SwiftGObject.git (0.20s)
Fetching https://github.com/rhx/SwiftGdk.git from cache
Fetched https://github.com/rhx/SwiftGdk.git (0.28s)
Fetching https://github.com/rhx/SwiftGLib.git from cache
Fetched https://github.com/rhx/SwiftGLib.git (0.24s)
Fetching https://github.com/rhx/SwiftGdkPixbuf.git from cache
Fetched https://github.com/rhx/SwiftGdkPixbuf.git (0.17s)
Fetching https://github.com/rhx/SwiftPangoCairo.git from cache
Fetched https://github.com/rhx/SwiftPangoCairo.git (0.17s)
Fetching https://github.com/rhx/SwiftGIO.git from cache
Fetched https://github.com/rhx/SwiftGIO.git (0.20s)
Fetching https://github.com/rhx/SwiftGModule.git from cache
Fetched https://github.com/rhx/SwiftGModule.git (0.23s)
Fetching https://github.com/rhx/SwiftCairo.git from cache
Fetched https://github.com/rhx/SwiftCairo.git (0.17s)
Fetching https://github.com/rhx/SwiftPango.git from cache
Fetched https://github.com/rhx/SwiftPango.git (0.43s)
Fetching https://github.com/rhx/SwiftHarfBuzz.git from cache
Fetched https://github.com/rhx/SwiftHarfBuzz.git (0.19s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/jpsim/Yams.git from cache
Fetching https://github.com/apple/swift-docc-plugin from cache
Fetched https://github.com/apple/swift-docc-plugin (0.49s)
Fetched https://github.com/jpsim/Yams.git (0.54s)
Fetched https://github.com/apple/swift-argument-parser (0.55s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.02s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.01s)
Fetching https://github.com/apple/swift-docc-symbolkit from cache
Fetched https://github.com/apple/swift-docc-symbolkit (0.55s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.02s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.02s)
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/rhx/SwiftCairo.git
Working copy of https://github.com/rhx/SwiftCairo.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/SwiftPangoCairo.git
Working copy of https://github.com/rhx/SwiftPangoCairo.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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.3
Creating working copy for https://github.com/rhx/SwiftGraphene.git
Working copy of https://github.com/rhx/SwiftGraphene.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/SwiftGdkPixbuf.git
Working copy of https://github.com/rhx/SwiftGdkPixbuf.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/SwiftPango.git
Working copy of https://github.com/rhx/SwiftPango.git resolved at main
Creating working copy for https://github.com/rhx/SwiftAtk.git
Working copy of https://github.com/rhx/SwiftAtk.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/SwiftGModule.git
Working copy of https://github.com/rhx/SwiftGModule.git resolved at main
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/SwiftGdk.git
Working copy of https://github.com/rhx/SwiftGdk.git resolved at gtk4
Creating working copy for https://github.com/rhx/SwiftGsk.git
Working copy of https://github.com/rhx/SwiftGsk.git resolved at main
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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
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 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 gdk-pixbuf-2.0 using your system-packager:
    brew install gdk-pixbuf glib glib-networking gobject-introspection
warning: you may be able to install gtk4 using your system-packager:
    brew install gtk4 glib glib-networking gobject-introspection
warning: you may be able to install gtk4 using your system-packager:
    brew install gtk4 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 graphene-gobject-1.0 using your system-packager:
    brew install graphene glib glib-networking gobject-introspection
warning: you may be able to install gtk4-unix-print using your system-packager:
    brew install gtk4 glib glib-networking gobject-introspection
[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...
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GtkCHelpers/gtk_im_modules.c:7:10: fatal error: 'gtk/gtk.h' file not found
#include <gtk/gtk.h>
         ^~~~~~~~~~~
1 error generated.
[4/29] Compiling GtkCHelpers gtk_im_modules.c
[4/29] Compiling scanner.c
[4/29] Compiling emitter.c
[4/29] Compiling reader.c
[4/29] Compiling writer.c
[4/29] Compiling GtkCHelpers gtk_dialog.c
[4/29] Compiling parser.c
ShellOut encountered an error
Status code: 1
Message: "Fetching https://github.com/rhx/gir2swift.git from cache
Fetched https://github.com/rhx/gir2swift.git (0.20s)
Fetching https://github.com/rhx/SwiftGraphene.git from cache
Fetched https://github.com/rhx/SwiftGraphene.git (0.15s)
Fetching https://github.com/rhx/SwiftAtk.git from cache
Fetched https://github.com/rhx/SwiftAtk.git (0.18s)
Fetching https://github.com/rhx/SwiftGsk.git from cache
Fetched https://github.com/rhx/SwiftGsk.git (0.20s)
Fetching https://github.com/rhx/SwiftLibXML.git from cache
Fetched https://github.com/rhx/SwiftLibXML.git (0.27s)
Fetching https://github.com/rhx/SwiftGObject.git from cache
Fetched https://github.com/rhx/SwiftGObject.git (0.20s)
Fetching https://github.com/rhx/SwiftGdk.git from cache
Fetched https://github.com/rhx/SwiftGdk.git (0.28s)
Fetching https://github.com/rhx/SwiftGLib.git from cache
Fetched https://github.com/rhx/SwiftGLib.git (0.24s)
Fetching https://github.com/rhx/SwiftGdkPixbuf.git from cache
Fetched https://github.com/rhx/SwiftGdkPixbuf.git (0.17s)
Fetching https://github.com/rhx/SwiftPangoCairo.git from cache
Fetched https://github.com/rhx/SwiftPangoCairo.git (0.17s)
Fetching https://github.com/rhx/SwiftGIO.git from cache
Fetched https://github.com/rhx/SwiftGIO.git (0.20s)
Fetching https://github.com/rhx/SwiftGModule.git from cache
Fetched https://github.com/rhx/SwiftGModule.git (0.23s)
Fetching https://github.com/rhx/SwiftCairo.git from cache
Fetched https://github.com/rhx/SwiftCairo.git (0.17s)
Fetching https://github.com/rhx/SwiftPango.git from cache
Fetched https://github.com/rhx/SwiftPango.git (0.43s)
Fetching https://github.com/rhx/SwiftHarfBuzz.git from cache
Fetched https://github.com/rhx/SwiftHarfBuzz.git (0.19s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/jpsim/Yams.git from cache
Fetching https://github.com/apple/swift-docc-plugin from cache
Fetched https://github.com/apple/swift-docc-plugin (0.49s)
Fetched https://github.com/jpsim/Yams.git (0.54s)
Fetched https://github.com/apple/swift-argument-parser (0.55s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.02s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.01s)
Fetching https://github.com/apple/swift-docc-symbolkit from cache
Fetched https://github.com/apple/swift-docc-symbolkit (0.55s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.02s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.02s)
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/rhx/SwiftCairo.git
Working copy of https://github.com/rhx/SwiftCairo.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/SwiftPangoCairo.git
Working copy of https://github.com/rhx/SwiftPangoCairo.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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.3
Creating working copy for https://github.com/rhx/SwiftGraphene.git
Working copy of https://github.com/rhx/SwiftGraphene.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/SwiftGdkPixbuf.git
Working copy of https://github.com/rhx/SwiftGdkPixbuf.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/SwiftPango.git
Working copy of https://github.com/rhx/SwiftPango.git resolved at main
Creating working copy for https://github.com/rhx/SwiftAtk.git
Working copy of https://github.com/rhx/SwiftAtk.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/SwiftGModule.git
Working copy of https://github.com/rhx/SwiftGModule.git resolved at main
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/SwiftGdk.git
Working copy of https://github.com/rhx/SwiftGdk.git resolved at gtk4
Creating working copy for https://github.com/rhx/SwiftGsk.git
Working copy of https://github.com/rhx/SwiftGsk.git resolved at main
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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
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 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 gdk-pixbuf-2.0 using your system-packager:
    brew install gdk-pixbuf glib glib-networking gobject-introspection
warning: you may be able to install gtk4 using your system-packager:
    brew install gtk4 glib glib-networking gobject-introspection
warning: you may be able to install gtk4 using your system-packager:
    brew install gtk4 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 graphene-gobject-1.0 using your system-packager:
    brew install graphene glib glib-networking gobject-introspection
warning: you may be able to install gtk4-unix-print using your system-packager:
    brew install gtk4 glib glib-networking gobject-introspection"
Output: "[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...
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GtkCHelpers/gtk_im_modules.c:7:10: fatal error: 'gtk/gtk.h' file not found
#include <gtk/gtk.h>
         ^~~~~~~~~~~
1 error generated.
[4/29] Compiling GtkCHelpers gtk_im_modules.c
[4/29] Compiling scanner.c
[4/29] Compiling emitter.c
[4/29] Compiling reader.c
[4/29] Compiling writer.c
[4/29] Compiling GtkCHelpers gtk_dialog.c
[4/29] Compiling parser.c"
Retrying in 0.0 seconds ...
Building ... (attempt 2)
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 gtk4-unix-print using your system-packager:
    brew install gtk4 glib glib-networking gobject-introspection
warning: you may be able to install graphene-gobject-1.0 using your system-packager:
    brew install graphene 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 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 gtk4 using your system-packager:
    brew install gtk4 glib glib-networking gobject-introspection
warning: you may be able to install gtk4 using your system-packager:
    brew install gtk4 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
[0/1] Planning build
[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...
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GtkCHelpers/gtk_im_modules.c:7:10: fatal error: 'gtk/gtk.h' file not found
#include <gtk/gtk.h>
         ^~~~~~~~~~~
1 error generated.
[4/29] Compiling GtkCHelpers gtk_im_modules.c
[4/29] Compiling emitter.c
[4/29] Compiling writer.c
[4/29] Compiling scanner.c
[4/29] Compiling GtkCHelpers gtk_dialog.c
[4/29] Compiling reader.c
[4/29] Compiling parser.c
ShellOut encountered an error
Status code: 1
Message: "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 gtk4-unix-print using your system-packager:
    brew install gtk4 glib glib-networking gobject-introspection
warning: you may be able to install graphene-gobject-1.0 using your system-packager:
    brew install graphene 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 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 gtk4 using your system-packager:
    brew install gtk4 glib glib-networking gobject-introspection
warning: you may be able to install gtk4 using your system-packager:
    brew install gtk4 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"
Output: "[0/1] Planning build
[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...
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GtkCHelpers/gtk_im_modules.c:7:10: fatal error: 'gtk/gtk.h' file not found
#include <gtk/gtk.h>
         ^~~~~~~~~~~
1 error generated.
[4/29] Compiling GtkCHelpers gtk_im_modules.c
[4/29] Compiling emitter.c
[4/29] Compiling writer.c
[4/29] Compiling scanner.c
[4/29] Compiling GtkCHelpers gtk_dialog.c
[4/29] Compiling reader.c
[4/29] Compiling parser.c"
BUILD FAILURE 5.8 macosSpm

Build Machine: Mac 5