Build Information
Failed to build PerfectXML, reference main (c019da), with Swift 6.2 for Android on 14 Oct 2026 22:01:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-xml.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/perfectlysoft/perfect-xml
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c019dad Merge pull request #7 from PerfectlySoft/release-prep
Cloned https://github.com/perfectlysoft/perfect-xml.git
Revision (git rev-parse @):
c019dadeca927420dce595e040d5c4424b40082f
SUCCESS checkout https://github.com/perfectlysoft/perfect-xml.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-xml.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:d84c435a77e30f1b4b40344b42d2ce7e8dc33d04eebdaebfb0e2bc42b4ff2af5
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--11D90AFD9DD3AB2.txt
[3/8] Compiling PerfectXML XPath.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/libxml2/libxml2.h:4:10: error: 'libxml2/libxml/tree.h' file not found
2 | #ifndef _libxml2_h_
3 | #define _libxml2_h_
4 | #include <libxml2/libxml/tree.h>
| `- error: 'libxml2/libxml/tree.h' file not found
5 | #include <libxml2/libxml/xmlreader.h>
6 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/PerfectXML/SAX.swift:8:8: error: could not build C module 'perfectxml2'
6 | //
7 |
8 | import perfectxml2
| `- error: could not build C module 'perfectxml2'
9 |
10 | public struct SAXError: Error {
[4/8] Compiling PerfectXML XMLStream.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/libxml2/libxml2.h:4:10: error: 'libxml2/libxml/tree.h' file not found
2 | #ifndef _libxml2_h_
3 | #define _libxml2_h_
4 | #include <libxml2/libxml/tree.h>
| `- error: 'libxml2/libxml/tree.h' file not found
5 | #include <libxml2/libxml/xmlreader.h>
6 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/PerfectXML/SAX.swift:8:8: error: could not build C module 'perfectxml2'
6 | //
7 |
8 | import perfectxml2
| `- error: could not build C module 'perfectxml2'
9 |
10 | public struct SAXError: Error {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/8] Emitting module PerfectXML
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/libxml2/libxml2.h:4:10: error: 'libxml2/libxml/tree.h' file not found
2 | #ifndef _libxml2_h_
3 | #define _libxml2_h_
4 | #include <libxml2/libxml/tree.h>
| `- error: 'libxml2/libxml/tree.h' file not found
5 | #include <libxml2/libxml/xmlreader.h>
6 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/PerfectXML/SAX.swift:8:8: error: could not build C module 'perfectxml2'
6 | //
7 |
8 | import perfectxml2
| `- error: could not build C module 'perfectxml2'
9 |
10 | public struct SAXError: Error {
[6/8] Compiling PerfectXML SAX.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/libxml2/libxml2.h:4:10: error: 'libxml2/libxml/tree.h' file not found
2 | #ifndef _libxml2_h_
3 | #define _libxml2_h_
4 | #include <libxml2/libxml/tree.h>
| `- error: 'libxml2/libxml/tree.h' file not found
5 | #include <libxml2/libxml/xmlreader.h>
6 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/PerfectXML/SAX.swift:8:8: error: could not build C module 'perfectxml2'
6 | //
7 |
8 | import perfectxml2
| `- error: could not build C module 'perfectxml2'
9 |
10 | public struct SAXError: Error {
[7/8] Compiling PerfectXML Codable.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/libxml2/libxml2.h:4:10: error: 'libxml2/libxml/tree.h' file not found
2 | #ifndef _libxml2_h_
3 | #define _libxml2_h_
4 | #include <libxml2/libxml/tree.h>
| `- error: 'libxml2/libxml/tree.h' file not found
5 | #include <libxml2/libxml/xmlreader.h>
6 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/PerfectXML/SAX.swift:8:8: error: could not build C module 'perfectxml2'
6 | //
7 |
8 | import perfectxml2
| `- error: could not build C module 'perfectxml2'
9 |
10 | public struct SAXError: Error {
[8/8] Compiling PerfectXML XMLDOM.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/libxml2/libxml2.h:4:10: error: 'libxml2/libxml/tree.h' file not found
2 | #ifndef _libxml2_h_
3 | #define _libxml2_h_
4 | #include <libxml2/libxml/tree.h>
| `- error: 'libxml2/libxml/tree.h' file not found
5 | #include <libxml2/libxml/xmlreader.h>
6 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/PerfectXML/SAX.swift:8:8: error: could not build C module 'perfectxml2'
6 | //
7 |
8 | import perfectxml2
| `- error: could not build C module 'perfectxml2'
9 |
10 | public struct SAXError: Error {
BUILD FAILURE 6.2 android