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 4.16.0 (3cd5ce), with Swift 5.10 for Linux on 11 Mar 2025 10:14:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/swiftgtk.git
Reference: 4.16.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/rhx/swiftgtk
 * tag               4.16.0     -> FETCH_HEAD
HEAD is now at 3cd5ce0 Update for glib-2.82 and gtk-4.16
Cloned https://github.com/rhx/swiftgtk.git
Revision (git rev-parse @):
3cd5ce0c3a7c04375d8a52ba0d34d6da29b07164
SUCCESS checkout https://github.com/rhx/swiftgtk.git at 4.16.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/rhx/swiftgtk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/rhx/gir2swift.git
[1/5539] Fetching gir2swift
Fetched https://github.com/rhx/gir2swift.git from cache (0.34s)
Fetching https://github.com/rhx/SwiftGraphene.git
[1/80] Fetching swiftgraphene
Fetched https://github.com/rhx/SwiftGraphene.git from cache (0.19s)
Fetching https://github.com/rhx/SwiftAtk.git
[1/3941] Fetching swiftatk
Fetched https://github.com/rhx/SwiftAtk.git from cache (0.87s)
Fetching https://github.com/rhx/SwiftGsk.git
[1/94] Fetching swiftgsk
Fetched https://github.com/rhx/SwiftGsk.git from cache (0.19s)
Fetching https://github.com/rhx/SwiftLibXML.git
[1/306] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git from cache (0.18s)
Fetching https://github.com/rhx/SwiftGObject.git
[1/11714] Fetching swiftgobject
Fetched https://github.com/rhx/SwiftGObject.git from cache (1.84s)
Fetching https://github.com/rhx/SwiftGdk.git
[1/6082] Fetching swiftgdk
Fetched https://github.com/rhx/SwiftGdk.git from cache (4.57s)
Fetching https://github.com/rhx/SwiftGLib.git
[1/21669] Fetching swiftglib
Fetched https://github.com/rhx/SwiftGLib.git from cache (6.93s)
error: gir2swift is required using two different revision-based requirements (main and development), which is not supported
BUILD FAILURE 5.10 linux