The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR="/Applications/Xcode-14.2.0.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/admin/builds/Z6YBxSjp/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.7
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-14.2.0.app" xcrun swift build --arch arm64
Fetching https://github.com/rhx/gir2swift.git from cache
Fetched https://github.com/rhx/gir2swift.git (0.18s)
Fetching https://github.com/rhx/SwiftGraphene.git from cache
Fetched https://github.com/rhx/SwiftGraphene.git (0.17s)
Fetching https://github.com/rhx/SwiftAtk.git from cache
Fetched https://github.com/rhx/SwiftAtk.git (0.50s)
Fetching https://github.com/rhx/SwiftGsk.git from cache
Fetched https://github.com/rhx/SwiftGsk.git (0.19s)
Fetching https://github.com/rhx/SwiftLibXML.git from cache
Fetched https://github.com/rhx/SwiftLibXML.git (0.16s)
Fetching https://github.com/rhx/SwiftGObject.git from cache
Fetched https://github.com/rhx/SwiftGObject.git (0.19s)
Fetching https://github.com/rhx/SwiftGdk.git from cache
Fetched https://github.com/rhx/SwiftGdk.git (0.20s)
Fetching https://github.com/rhx/SwiftGLib.git from cache
Fetched https://github.com/rhx/SwiftGLib.git (0.21s)
Fetching https://github.com/rhx/SwiftGdkPixbuf.git from cache
Fetched https://github.com/rhx/SwiftGdkPixbuf.git (0.39s)
Fetching https://github.com/rhx/SwiftPangoCairo.git from cache
Fetched https://github.com/rhx/SwiftPangoCairo.git (0.19s)
Fetching https://github.com/rhx/SwiftGIO.git from cache
Fetched https://github.com/rhx/SwiftGIO.git (0.21s)
Fetching https://github.com/rhx/SwiftGModule.git from cache
Fetched https://github.com/rhx/SwiftGModule.git (0.17s)
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.20s)
Fetching https://github.com/rhx/SwiftHarfBuzz.git from cache
Fetched https://github.com/rhx/SwiftHarfBuzz.git (0.17s)
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.23s)
Fetched https://github.com/apple/swift-argument-parser (0.23s)
Fetched https://github.com/jpsim/Yams.git (0.23s)
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.03s)
Fetching https://github.com/apple/swift-docc-symbolkit from cache
Fetched https://github.com/apple/swift-docc-symbolkit (0.31s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.04s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.03s)
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/SwiftGModule.git
Working copy of https://github.com/rhx/SwiftGModule.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/SwiftGIO.git
Working copy of https://github.com/rhx/SwiftGIO.git resolved at main
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/SwiftGdkPixbuf.git
Working copy of https://github.com/rhx/SwiftGdkPixbuf.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/rhx/SwiftGdk.git
Working copy of https://github.com/rhx/SwiftGdk.git resolved at gtk4
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/SwiftCairo.git
Working copy of https://github.com/rhx/SwiftCairo.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/rhx/SwiftGObject.git
Working copy of https://github.com/rhx/SwiftGObject.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/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/SwiftHarfBuzz.git
Working copy of https://github.com/rhx/SwiftHarfBuzz.git resolved at main
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/SwiftPango.git
Working copy of https://github.com/rhx/SwiftPango.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/gir2swift.git
Working copy of https://github.com/rhx/gir2swift.git resolved at main
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 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 gio-unix-2.0 using your system-packager:
    brew install 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
Compiling plugin GenerateManual...
Compiling plugin Swift-DocC...
Compiling plugin Swift-DocC Preview...
Compiling plugin gir2swift-plugin...
Building for debugging...
/Users/admin/builds/Z6YBxSjp/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.
[0/25] Compiling GtkCHelpers gtk_im_modules.c
[0/25] Compiling writer.c
[0/25] Compiling GtkCHelpers gtk_dialog.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.18s)
Fetching https://github.com/rhx/SwiftGraphene.git from cache
Fetched https://github.com/rhx/SwiftGraphene.git (0.17s)
Fetching https://github.com/rhx/SwiftAtk.git from cache
Fetched https://github.com/rhx/SwiftAtk.git (0.50s)
Fetching https://github.com/rhx/SwiftGsk.git from cache
Fetched https://github.com/rhx/SwiftGsk.git (0.19s)
Fetching https://github.com/rhx/SwiftLibXML.git from cache
Fetched https://github.com/rhx/SwiftLibXML.git (0.16s)
Fetching https://github.com/rhx/SwiftGObject.git from cache
Fetched https://github.com/rhx/SwiftGObject.git (0.19s)
Fetching https://github.com/rhx/SwiftGdk.git from cache
Fetched https://github.com/rhx/SwiftGdk.git (0.20s)
Fetching https://github.com/rhx/SwiftGLib.git from cache
Fetched https://github.com/rhx/SwiftGLib.git (0.21s)
Fetching https://github.com/rhx/SwiftGdkPixbuf.git from cache
Fetched https://github.com/rhx/SwiftGdkPixbuf.git (0.39s)
Fetching https://github.com/rhx/SwiftPangoCairo.git from cache
Fetched https://github.com/rhx/SwiftPangoCairo.git (0.19s)
Fetching https://github.com/rhx/SwiftGIO.git from cache
Fetched https://github.com/rhx/SwiftGIO.git (0.21s)
Fetching https://github.com/rhx/SwiftGModule.git from cache
Fetched https://github.com/rhx/SwiftGModule.git (0.17s)
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.20s)
Fetching https://github.com/rhx/SwiftHarfBuzz.git from cache
Fetched https://github.com/rhx/SwiftHarfBuzz.git (0.17s)
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.23s)
Fetched https://github.com/apple/swift-argument-parser (0.23s)
Fetched https://github.com/jpsim/Yams.git (0.23s)
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.03s)
Fetching https://github.com/apple/swift-docc-symbolkit from cache
Fetched https://github.com/apple/swift-docc-symbolkit (0.31s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.04s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.03s)
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/SwiftGModule.git
Working copy of https://github.com/rhx/SwiftGModule.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/SwiftGIO.git
Working copy of https://github.com/rhx/SwiftGIO.git resolved at main
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/SwiftGdkPixbuf.git
Working copy of https://github.com/rhx/SwiftGdkPixbuf.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/rhx/SwiftGdk.git
Working copy of https://github.com/rhx/SwiftGdk.git resolved at gtk4
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/SwiftCairo.git
Working copy of https://github.com/rhx/SwiftCairo.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/rhx/SwiftGObject.git
Working copy of https://github.com/rhx/SwiftGObject.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/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/SwiftHarfBuzz.git
Working copy of https://github.com/rhx/SwiftHarfBuzz.git resolved at main
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/SwiftPango.git
Working copy of https://github.com/rhx/SwiftPango.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/gir2swift.git
Working copy of https://github.com/rhx/gir2swift.git resolved at main
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 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 gio-unix-2.0 using your system-packager:
    brew install 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: "Compiling plugin GenerateManual...
Compiling plugin Swift-DocC...
Compiling plugin Swift-DocC Preview...
Compiling plugin gir2swift-plugin...
Building for debugging...
/Users/admin/builds/Z6YBxSjp/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.
[0/25] Compiling GtkCHelpers gtk_im_modules.c
[0/25] Compiling writer.c
[0/25] Compiling GtkCHelpers gtk_dialog.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 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
[0/1] Planning build
Compiling plugin GenerateManual...
Compiling plugin Swift-DocC...
Compiling plugin Swift-DocC Preview...
Compiling plugin gir2swift-plugin...
Building for debugging...
/Users/admin/builds/Z6YBxSjp/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.
[0/25] Compiling GtkCHelpers gtk_im_modules.c
[0/25] Compiling writer.c
[0/25] Compiling GtkCHelpers gtk_dialog.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 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: "[0/1] Planning build
Compiling plugin GenerateManual...
Compiling plugin Swift-DocC...
Compiling plugin Swift-DocC Preview...
Compiling plugin gir2swift-plugin...
Building for debugging...
/Users/admin/builds/Z6YBxSjp/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.
[0/25] Compiling GtkCHelpers gtk_im_modules.c
[0/25] Compiling writer.c
[0/25] Compiling GtkCHelpers gtk_dialog.c"
BUILD FAILURE 5.7 macosSpm