Build Information
Failed to build PerfectXML, reference 3.1.3 (977d27
), with Swift 6.2 (beta) for Android on 17 Jun 2025 12:22:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-xml.git
Reference: 3.1.3
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
* tag 3.1.3 -> FETCH_HEAD
HEAD is now at 977d277 Updated import
Cloned https://github.com/perfectlysoft/perfect-xml.git
Revision (git rev-parse @):
977d27770b74f8e73653b9f569b7dac1bfea4150
SUCCESS checkout https://github.com/perfectlysoft/perfect-xml.git at 3.1.3
========================================
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-4606859-2":/host -w "$PWD" 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:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/PerfectlySoft/Perfect-libxml2.git
[1/89] Fetching perfect-libxml2
Fetched https://github.com/PerfectlySoft/Perfect-libxml2.git from cache (0.28s)
Computing version for https://github.com/PerfectlySoft/Perfect-libxml2.git
Computed https://github.com/PerfectlySoft/Perfect-libxml2.git at 3.0.1 (0.92s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-libxml2.git
Working copy of https://github.com/PerfectlySoft/Perfect-libxml2.git resolved at 3.0.1
warning: 'perfect-libxml2': ignoring declared target(s) 'libxml2' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-libxml2' is not used by any target
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.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/.build/checkouts/Perfect-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/.build/checkouts/Perfect-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 {
[5/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/.build/checkouts/Perfect-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)
[6/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/.build/checkouts/Perfect-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 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/.build/checkouts/Perfect-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 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/.build/checkouts/Perfect-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