Build Information
Failed to build libgit2, reference spm (160ab4
), with Swift 5.9 for Linux on 11 Aug 2024 07:31:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.49.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mbernson/libgit2.git
Reference: spm
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/mbernson/libgit2
* branch spm -> FETCH_HEAD
* [new branch] spm -> origin/spm
HEAD is now at 160ab4b Update Package.swift
Cloned https://github.com/mbernson/libgit2.git
Revision (git rev-parse @):
160ab4b0b213679c3188d97536534446bf189737
SUCCESS checkout https://github.com/mbernson/libgit2.git at spm
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/mbernson/libgit2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:2fbbf0786de06d5b5ae93c54da051e64b9ddb960e317c9af2272259f6411b6fe
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
clang-13: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[0/213] Compiling http.c
clang-13: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
clang-13: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
clang-13: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[1/213] Compiling pcre_byte_order.c
[1/213] Compiling pcre_chartables.c
[3/213] Compiling pcre_config.c
clang-13: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[4/213] Compiling api.c
clang-13: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[5/213] Compiling zstream.c
clang-13: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[6/213] Compiling varint.c
clang-13: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
clang-13: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[7/213] Compiling vector.c
[8/213] Compiling wildmatch.c
clang-13: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
In file included from /host/spi-builder-workspace/src/libgit2/stash.c:10:
In file included from /host/spi-builder-workspace/src/libgit2/repository.h:21:
In file included from /host/spi-builder-workspace/src/libgit2/refs.h:17:
In file included from /host/spi-builder-workspace/src/libgit2/oid.h:14:
In file included from /host/spi-builder-workspace/src/util/hash.h:13:
In file included from /host/spi-builder-workspace/src/util/hash/sha.h:17:
/host/spi-builder-workspace/src/util/hash/common_crypto.h:13:10: fatal error: 'CommonCrypto/CommonDigest.h' file not found
#include <CommonCrypto/CommonDigest.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[9/213] Compiling stash.c
clang-13: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[9/213] Compiling realpath.c
clang-13: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[9/213] Compiling utf8.c
clang-13: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[9/213] Compiling util.c
clang-13: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[9/213] Compiling pcre_compile.c
[9/213] Compiling process.c
clang-13: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[9/213] Compiling llhttp.c
[9/213] Compiling map.c
BUILD FAILURE 5.9 linux