Build Information
Failed to build Gtk, reference main (133d37), with Swift 6.2 for Android on 9 Mar 2026 23:45:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/swiftgtk.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 133d37d Stabilise CI on development
Cloned https://github.com/rhx/swiftgtk.git
Revision (git rev-parse @):
133d37d714fa01fa134ccc85049af547eab663f5
SUCCESS checkout https://github.com/rhx/swiftgtk.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/rhx/swiftgtk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:0e5e7915595da63d8208b049b9b111c031f8df8a6b9b79e3bba6f3737b8b2f25
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/rhx/gir2swift.git
[1/5583] Fetching gir2swift
Fetched https://github.com/rhx/gir2swift.git from cache (0.68s)
Fetching https://github.com/rhx/SwiftAtk.git
[1/3969] Fetching swiftatk
Fetched https://github.com/rhx/SwiftAtk.git from cache (1.67s)
Fetching https://github.com/rhx/SwiftGdk.git
[1/6124] Fetching swiftgdk
Fetched https://github.com/rhx/SwiftGdk.git from cache (10.40s)
Fetching https://github.com/rhx/SwiftLibXML.git
[1/316] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git from cache (0.33s)
Fetching https://github.com/rhx/SwiftGObject.git
[1/26136] Fetching swiftgobject
Fetched https://github.com/rhx/SwiftGObject.git from cache (5.12s)
Fetching https://github.com/rhx/SwiftGdkPixbuf.git
[1/1669] Fetching swiftgdkpixbuf
Fetched https://github.com/rhx/SwiftGdkPixbuf.git from cache (0.72s)
Fetching https://github.com/rhx/SwiftPangoCairo.git
[1/1000] Fetching swiftpangocairo
Fetched https://github.com/rhx/SwiftPangoCairo.git from cache (0.44s)
Fetching https://github.com/rhx/SwiftGLib.git
[1/21843] Fetching swiftglib
Fetched https://github.com/rhx/SwiftGLib.git from cache (9.92s)
Fetching https://github.com/rhx/SwiftGIO.git
[1/59779] Fetching swiftgio
Fetched https://github.com/rhx/SwiftGIO.git from cache (37.15s)
Fetching https://github.com/rhx/SwiftGModule.git
[1/15504] Fetching swiftgmodule
Fetched https://github.com/rhx/SwiftGModule.git from cache (2.32s)
Fetching https://github.com/rhx/SwiftCairo.git
[1/1803] Fetching swiftcairo
Fetched https://github.com/rhx/SwiftCairo.git from cache (0.76s)
Fetching https://github.com/rhx/SwiftPango.git
[1/4075] Fetching swiftpango
Fetched https://github.com/rhx/SwiftPango.git from cache (2.02s)
Fetching https://github.com/rhx/SwiftHarfBuzz.git
[1/172] Fetching swiftharfbuzz
Fetched https://github.com/rhx/SwiftHarfBuzz.git from cache (0.33s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
[1/17182] Fetching swift-argument-parser
[173/28687] Fetching swift-argument-parser, yams
Fetching https://github.com/apple/swift-docc-plugin
Fetched https://github.com/apple/swift-argument-parser from cache (1.72s)
[7594/11505] Fetching yams
[8860/13676] Fetching yams, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.80s)
Fetched https://github.com/jpsim/Yams.git from cache (3.01s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (3.62s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.54s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3668] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.54s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.08s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.44s)
Creating working copy for https://github.com/rhx/SwiftPangoCairo.git
Working copy of https://github.com/rhx/SwiftPangoCairo.git resolved at main (0318374)
Creating working copy for https://github.com/rhx/SwiftGObject.git
Working copy of https://github.com/rhx/SwiftGObject.git resolved at main (a959fc9)
Creating working copy for https://github.com/rhx/SwiftGModule.git
Working copy of https://github.com/rhx/SwiftGModule.git resolved at main (eecf947)
Creating working copy for https://github.com/rhx/SwiftCairo.git
Working copy of https://github.com/rhx/SwiftCairo.git resolved at main (87cd2aa)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/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 (1670dc5)
Creating working copy for https://github.com/rhx/SwiftHarfBuzz.git
Working copy of https://github.com/rhx/SwiftHarfBuzz.git resolved at main (788b7a6)
Creating working copy for https://github.com/rhx/SwiftGIO.git
Working copy of https://github.com/rhx/SwiftGIO.git resolved at main (9a2ee26)
Creating working copy for https://github.com/rhx/SwiftLibXML.git
Working copy of https://github.com/rhx/SwiftLibXML.git resolved at main (19deabb)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.0
Creating working copy for https://github.com/rhx/SwiftGdk.git
Working copy of https://github.com/rhx/SwiftGdk.git resolved at main (6ce71a6)
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/SwiftAtk.git
Working copy of https://github.com/rhx/SwiftAtk.git resolved at main (acaaa7f)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/rhx/SwiftGdkPixbuf.git
Working copy of https://github.com/rhx/SwiftGdkPixbuf.git resolved at main (a0fee7d)
Creating working copy for https://github.com/rhx/SwiftGLib.git
Working copy of https://github.com/rhx/SwiftGLib.git resolved at main (10e8466)
Creating working copy for https://github.com/rhx/gir2swift.git
Working copy of https://github.com/rhx/gir2swift.git resolved at main (3a5f1ed)
warning: you may be able to install gtk+-3.0 using your system-packager:
apt-get install libgtk-3-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install harfbuzz-gobject using your system-packager:
apt-get install libharfbuzz-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gio-unix-2.0 using your system-packager:
apt-get install libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install pango using your system-packager:
apt-get install libpango1.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install cairo using your system-packager:
apt-get install libcairo2-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install pangocairo using your system-packager:
apt-get install libpango1.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gdk-pixbuf-2.0 using your system-packager:
apt-get install libgdk-pixbuf2.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gdk-3.0 using your system-packager:
apt-get install libgtk-3-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install atk using your system-packager:
apt-get install libatk1.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
[0/21] Write sources
[6/21] Compiling writer.c
[7/21] Compiling reader.c
[8/21] Compiling parser.c
[9/21] Compiling api.c
[10/21] Compiling emitter.c
[11/21] Compiling scanner.c
[11/21] Write swift-version--3EE9C60077A20DAF.txt
[14/45] Emitting module ArgumentParserToolInfo
[15/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/46] Compiling Yams Mark.swift
[18/46] Compiling Yams Node.Mapping.swift
[19/47] Compiling Yams YamlError.swift
[19/47] Wrapping AST for ArgumentParserToolInfo for debugging
[21/93] Compiling SwiftLibXML XMLNameSpace.swift
[22/93] Compiling SwiftLibXML XMLPath.swift
[23/93] Compiling SwiftLibXML XMLElement.swift
[24/93] Compiling SwiftLibXML XMLAttribute.swift
[25/93] Compiling SwiftLibXML EmptySequence.swift
[26/93] Emitting module SwiftLibXML
[27/93] Compiling SwiftLibXML XMLDocument.swift
[29/94] Compiling ArgumentParser InputKey.swift
[30/94] Compiling ArgumentParser InputOrigin.swift
[31/94] Compiling ArgumentParser FishCompletionsGenerator.swift
[32/94] Compiling ArgumentParser ZshCompletionsGenerator.swift
[33/94] Compiling ArgumentParser BashCompletionsGenerator.swift
[34/94] Compiling ArgumentParser CompletionsGenerator.swift
[34/94] Wrapping AST for SwiftLibXML for debugging
[36/94] Emitting module ArgumentParser
[37/100] Compiling ArgumentParser ArgumentHelp.swift
[38/100] Compiling ArgumentParser ParsableCommand.swift
[39/100] Compiling ArgumentParser ArgumentDecoder.swift
[40/100] Compiling ArgumentParser ArgumentDefinition.swift
[41/100] Emitting module Yams
[42/100] Compiling ArgumentParser ArgumentSet.swift
[43/100] Compiling ArgumentParser CommandParser.swift
[44/101] Wrapping AST for Yams for debugging
[46/101] Compiling ArgumentParser Foundation.swift
[47/101] Compiling ArgumentParser Mutex.swift
[48/101] Compiling ArgumentParser Platform.swift
[49/101] Compiling ArgumentParser SequenceExtensions.swift
[50/101] Compiling ArgumentParser StringExtensions.swift
[51/101] Compiling ArgumentParser SwiftExtensions.swift
[52/101] Compiling ArgumentParser Tree.swift
[53/101] Compiling ArgumentParser CodingKeyValidator.swift
[54/101] Compiling ArgumentParser NonsenseFlagsValidator.swift
[55/101] Compiling ArgumentParser ParsableArgumentsValidation.swift
[56/101] Compiling ArgumentParser PositionalArgumentsValidator.swift
[57/101] Compiling ArgumentParser UniqueNamesValidator.swift
[59/101] Compiling ArgumentParser Name.swift
[60/101] Compiling ArgumentParser Parsed.swift
[61/101] Compiling ArgumentParser ParsedValues.swift
[62/101] Compiling ArgumentParser ParserError.swift
[63/101] Compiling ArgumentParser SplitArguments.swift
[64/101] Compiling ArgumentParser DumpHelpGenerator.swift
[65/101] Compiling ArgumentParser HelpCommand.swift
[66/101] Compiling ArgumentParser HelpGenerator.swift
[67/101] Compiling ArgumentParser MessageInfo.swift
[68/101] Compiling ArgumentParser UsageGenerator.swift
[69/101] Compiling ArgumentParser CollectionExtensions.swift
[74/101] Compiling ArgumentParser Argument.swift
[75/101] Compiling ArgumentParser ArgumentDiscussion.swift
[77/101] Compiling ArgumentParser ParentCommand.swift
[78/101] Compiling ArgumentParser AsyncParsableCommand.swift
[79/101] Compiling ArgumentParser CommandConfiguration.swift
[80/101] Compiling ArgumentParser CommandGroup.swift
[81/101] Compiling ArgumentParser EnumerableFlag.swift
[82/101] Compiling ArgumentParser ExpressibleByArgument.swift
[83/101] Compiling ArgumentParser ParsableArguments.swift
[84/101] Compiling ArgumentParser ArgumentVisibility.swift
[85/101] Compiling ArgumentParser CompletionKind.swift
[86/101] Compiling ArgumentParser Errors.swift
[87/101] Compiling ArgumentParser Flag.swift
[88/101] Compiling ArgumentParser NameSpecification.swift
[89/101] Compiling ArgumentParser Option.swift
[90/101] Compiling ArgumentParser OptionGroup.swift
[97/102] Wrapping AST for ArgumentParser for debugging
[99/143] Compiling libgir2swift GirBitfield.swift
[100/143] Compiling libgir2swift GirCType.swift
[101/143] Compiling libgir2swift GirCallback.swift
[102/143] Compiling libgir2swift GirClass.swift
[103/143] Compiling libgir2swift GirConstant.swift
[104/143] Compiling libgir2swift GirDatatype.swift
[105/148] Compiling libgir2swift GirRecord.swift
[106/148] Compiling libgir2swift GirSignal.swift
[107/148] Compiling libgir2swift GirThing.swift
[108/148] Compiling libgir2swift GirUnion.swift
[109/148] Compiling libgir2swift girtype+xml.swift
[110/148] Emitting module libgir2swift
[111/148] Compiling libgir2swift GirEnumeration.swift
[112/148] Compiling libgir2swift GirField.swift
[113/148] Compiling libgir2swift GirFunction.swift
[114/148] Compiling libgir2swift GirInterface.swift
[115/148] Compiling libgir2swift GirMethod.swift
[116/148] Compiling libgir2swift GirProperty.swift
[117/148] Compiling libgir2swift Gir2Swift.swift
[118/148] Compiling libgir2swift GirType.swift
[119/148] Compiling libgir2swift TypeConversion.swift
[120/148] Compiling libgir2swift TypeReference.swift
[121/148] Compiling libgir2swift GirAlias.swift
[122/148] Compiling libgir2swift GirArgument.swift
[123/148] Compiling libgir2swift Character+Utilities.swift
[124/148] Compiling libgir2swift Collection+Utilities.swift
[125/148] Compiling libgir2swift Streams.swift
[126/148] Compiling libgir2swift String+Substring.swift
[127/148] Compiling libgir2swift String+Utilities.swift
[128/148] Compiling libgir2swift gtk2swiftdoc.swift
[129/148] Compiling libgir2swift ConversionContext.swift
[130/148] Compiling libgir2swift Gir+Enums.swift
[131/148] Compiling libgir2swift Gir+KnowTypeSets.swift
[132/148] Compiling libgir2swift Gir+KnownTypes.swift
[133/148] Compiling libgir2swift Gir.swift
[134/148] Compiling libgir2swift System.swift
[135/148] Compiling libgir2swift XML+Utilities.swift
[136/148] Compiling libgir2swift generation.swift
[137/148] Compiling libgir2swift planning.swift
[138/148] Compiling libgir2swift postprocessing.swift
[139/148] Compiling libgir2swift CodeBuilder.swift
[140/148] Compiling libgir2swift c2swift.swift
[141/148] Compiling libgir2swift emit-class.swift
[142/148] Compiling libgir2swift emit-signals.swift
[143/148] Compiling libgir2swift gir+swift.swift
[144/148] Compiling libgir2swift girtypes+swift.swift
[145/149] Wrapping AST for libgir2swift for debugging
[147/151] Emitting module gir2swift
[148/151] Compiling gir2swift main.swift
[149/152] Wrapping AST for gir2swift for debugging
[150/152] Write Objects.LinkFileList
[151/152] Linking gir2swift-tool
warning: you may be able to install gtk+-3.0 using your system-packager:
apt-get install libgtk-3-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install harfbuzz-gobject using your system-packager:
apt-get install libharfbuzz-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gio-unix-2.0 using your system-packager:
apt-get install libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install pango using your system-packager:
apt-get install libpango1.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install cairo using your system-packager:
apt-get install libcairo2-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install pangocairo using your system-packager:
apt-get install libpango1.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gdk-pixbuf-2.0 using your system-packager:
apt-get install libgdk-pixbuf2.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gdk-3.0 using your system-packager:
apt-get install libgtk-3-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install atk using your system-packager:
apt-get install libatk1.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin gir2swift-plugin
[4/4] Compiling plugin GenerateManual
[5/5] Compiling plugin GenerateDoccReference
Building for debugging...
[5/73] Write sources
[8/73] Compiling reader.c
[8/73] Write sources
[16/73] Compiling writer.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
2 | #include <gtk/gtk.h>
| ^~~~~~~~~~~
1 error generated.
[17/73] Compiling GtkCHelpers gtk_dialog.c
[17/73] Write swift-version--3EE9C60077A20DAF.txt
[17/73] Compiling scanner.c
[17/73] Compiling api.c
[17/73] Compiling emitter.c
[17/73] Compiling scanner.c
[17/73] Compiling parser.c
[17/73] Compiling writer.c
BUILD FAILURE 6.2 android