The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Gtk with Swift 5.8 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

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
Cloned https://github.com/rhx/swiftgtk.git into spi-builder-workspace
SUCCESS checkout https://github.com/rhx/swiftgtk.git at 4.12.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/rhx/gir2swift.git
[1/5325] Fetching gir2swift
Fetched https://github.com/rhx/gir2swift.git (0.39s)
Fetching https://github.com/rhx/SwiftGraphene.git
[1/76] Fetching swiftgraphene
Fetched https://github.com/rhx/SwiftGraphene.git (0.32s)
Fetching https://github.com/rhx/SwiftAtk.git
[1/3939] Fetching swiftatk
Fetched https://github.com/rhx/SwiftAtk.git (0.97s)
Fetching https://github.com/rhx/SwiftGsk.git
[1/78] Fetching swiftgsk
Fetched https://github.com/rhx/SwiftGsk.git (0.26s)
Fetching https://github.com/rhx/SwiftLibXML.git
[1/306] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git (0.24s)
Fetching https://github.com/rhx/SwiftGObject.git
[1/6626] Fetching swiftgobject
Fetched https://github.com/rhx/SwiftGObject.git (2.14s)
Fetching https://github.com/rhx/SwiftGdk.git
[1/6041] Fetching swiftgdk
Fetched https://github.com/rhx/SwiftGdk.git (5.10s)
Fetching https://github.com/rhx/SwiftGLib.git
[1/8715] Fetching swiftglib
Fetched https://github.com/rhx/SwiftGLib.git (6.68s)
Fetching https://github.com/rhx/SwiftGdkPixbuf.git
[1/1632] Fetching swiftgdkpixbuf
Fetched https://github.com/rhx/SwiftGdkPixbuf.git (0.53s)
Fetching https://github.com/rhx/SwiftPangoCairo.git
[1/991] Fetching swiftpangocairo
Fetched https://github.com/rhx/SwiftPangoCairo.git (0.35s)
Fetching https://github.com/rhx/SwiftGIO.git
[1/21597] Fetching swiftgio
Fetched https://github.com/rhx/SwiftGIO.git (26.96s)
Fetching https://github.com/rhx/SwiftGModule.git
[1/998] Fetching swiftgmodule
Fetched https://github.com/rhx/SwiftGModule.git (0.29s)
Fetching https://github.com/rhx/SwiftCairo.git
[1/1769] Fetching swiftcairo
Fetched https://github.com/rhx/SwiftCairo.git (0.38s)
Fetching https://github.com/rhx/SwiftPango.git
[1/4048] Fetching swiftpango
Fetched https://github.com/rhx/SwiftPango.git (3.72s)
Fetching https://github.com/rhx/SwiftHarfBuzz.git
[1/133] Fetching swiftharfbuzz
Fetched https://github.com/rhx/SwiftHarfBuzz.git (0.41s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/jpsim/Yams.git
[1/1423] Fetching swift-docc-plugin
[1424/12342] Fetching swift-docc-plugin, swift-argument-parser
[12343/21102] Fetching swift-docc-plugin, swift-argument-parser, yams
Fetched https://github.com/apple/swift-docc-plugin (1.63s)
Fetched https://github.com/apple/swift-argument-parser (1.63s)
Fetched https://github.com/jpsim/Yams.git (1.66s)
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.3.0 (0.34s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2178] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit (0.39s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.36s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.37s)
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/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/rhx/SwiftGdk.git
Working copy of https://github.com/rhx/SwiftGdk.git resolved at gtk4
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/SwiftCairo.git
Working copy of https://github.com/rhx/SwiftCairo.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/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/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/SwiftGLib.git
Working copy of https://github.com/rhx/SwiftGLib.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/SwiftPango.git
Working copy of https://github.com/rhx/SwiftPango.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/SwiftHarfBuzz.git
Working copy of https://github.com/rhx/SwiftHarfBuzz.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/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/SwiftGsk.git
Working copy of https://github.com/rhx/SwiftGsk.git resolved at main
warning: prohibited flag(s): -pthread
warning: you may be able to install gtk4-unix-print using your system-packager:
    apt-get install libgtk-4-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: prohibited flag(s): -pthread, -pthread
warning: prohibited flag(s): -pthread
warning: prohibited flag(s): -pthread, -pthread, -pthread, -pthread
warning: you may be able to install gtk4 using your system-packager:
    apt-get install libgtk-4-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gtk4 using your system-packager:
    apt-get install libgtk-4-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install graphene-gobject-1.0 using your system-packager:
    apt-get install libgraphene-1.0-dev gir1.2-graphene-1.0 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...
/host/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/35] Compiling GtkCHelpers gtk_im_modules.c
[4/35] Compiling emitter.c
[4/35] Compiling parser.c
[4/35] Compiling scanner.c
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>
         ^~~~~~~~~~~
[4/35] Compiling GtkCHelpers gtk_dialog.c
[4/35] Compiling reader.c
[4/35] Compiling writer.c
BUILD FAILURE 5.8 linux

Build Machine: Linux 2