Build Information
Failed to build ResponseDetective with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/netguru/ResponseDetective.git
Reference: 1.5.1
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/netguru/ResponseDetective
* tag 1.5.1 -> FETCH_HEAD
HEAD is now at f4c120e Merge pull request #64 from mattboran/feature/swiftpm
Cloned https://github.com/netguru/ResponseDetective.git
Revision (git rev-parse @):
f4c120ea136221cdb12e690bcc87cf987a66ef0f
SUCCESS checkout https://github.com/netguru/ResponseDetective.git at 1.5.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/netguru/ResponseDetective.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/432] Fetching cwlcatchexception
[2/1668] Fetching cwlcatchexception, cwlpreconditiontesting
[1669/15871] Fetching cwlcatchexception, cwlpreconditiontesting, quick
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.73s)
Fetching https://github.com/Quick/Nimble.git
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.73s)
[1989/14203] Fetching quick
[14204/21898] Fetching quick, ohhttpstubs
Fetched https://github.com/Quick/Quick.git (1.06s)
Fetched https://github.com/AliSoftware/OHHTTPStubs.git (0.43s)
[1/17287] Fetching nimble
Fetched https://github.com/Quick/Nimble.git (1.35s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (0.42s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.0.0 (0.37s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 3.0.0 (0.41s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.0.0
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 3.0.0
Building for debugging...
/host/spi-builder-workspace/ResponseDetective/Sources/RDTXMLBodyDeserializer.m:8:9: fatal error: 'libxml/tree.h' file not found
#import <libxml/tree.h>
^~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling RDTXMLBodyDeserializer.m
/host/spi-builder-workspace/ResponseDetective/Sources/RDTHTMLBodyDeserializer.m:8:9: fatal error: 'libxml/HTMLtree.h' file not found
#import <libxml/HTMLtree.h>
^~~~~~~~~~~~~~~~~~~
[0/2] Compiling RDTHTMLBodyDeserializer.m
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/ResponseDetective/Sources/RDTHTMLBodyDeserializer.m:8:9: fatal error: 'libxml/HTMLtree.h' file not found
#import <libxml/HTMLtree.h>
^~~~~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling RDTHTMLBodyDeserializer.m
/host/spi-builder-workspace/ResponseDetective/Sources/RDTXMLBodyDeserializer.m:8:9: fatal error: 'libxml/tree.h' file not found
#import <libxml/tree.h>
^~~~~~~~~~~~~~~
[0/2] Compiling RDTXMLBodyDeserializer.m
BUILD FAILURE 5.9 linux