Build Information
Failed to build gRPC, reference v1.67.0 (875c04
), with Swift 5.10 for Linux on 9 Oct 2024 11:22:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grpc/grpc-ios.git
Reference: v1.67.0
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/grpc/grpc-ios
* tag v1.67.0 -> FETCH_HEAD
HEAD is now at 875c042 use pip to install pyyaml
Cloned https://github.com/grpc/grpc-ios.git
Revision (git rev-parse @):
875c042535ae18517edef6afede2695f606a9401
SUCCESS checkout https://github.com/grpc/grpc-ios.git at v1.67.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/grpc/grpc-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:de52ea9a9b71f638f9ab112bc11e200b74fab18027de8589a3de4f14b5e22683
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/firebase/abseil-cpp-SwiftPM.git
Fetching https://github.com/firebase/boringssl-SwiftPM.git
[1/8143] Fetching boringssl-swiftpm
[653/11749] Fetching boringssl-swiftpm, abseil-cpp-swiftpm
Fetched https://github.com/firebase/abseil-cpp-SwiftPM.git from cache (2.52s)
Fetched https://github.com/firebase/boringssl-SwiftPM.git from cache (2.58s)
Computing version for https://github.com/firebase/abseil-cpp-SwiftPM.git
Computed https://github.com/firebase/abseil-cpp-SwiftPM.git at 0.20240116.1 (0.37s)
Computing version for https://github.com/firebase/boringssl-SwiftPM.git
Computed https://github.com/firebase/boringssl-SwiftPM.git at 0.32.1 (0.41s)
Creating working copy for https://github.com/firebase/boringssl-SwiftPM.git
Working copy of https://github.com/firebase/boringssl-SwiftPM.git resolved at 0.32.1
Creating working copy for https://github.com/firebase/abseil-cpp-SwiftPM.git
Working copy of https://github.com/firebase/abseil-cpp-SwiftPM.git resolved at 0.20240116.1
warning: 'spi-builder-workspace': ignoring target 'build-test' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
While building module 'abseil' imported from /host/spi-builder-workspace/src/core/client_channel/client_channel.h:22:
In file included from <module-includes>:17:
/host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/base/internal/exception_safety_testing.h:33:10: fatal error: 'gtest/gtest.h' file not found
#include "gtest/gtest.h"
^~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/src/core/client_channel/client_channel.cc:17:
/host/spi-builder-workspace/src/core/client_channel/client_channel.h:22:10: fatal error: could not build module 'abseil'
#include "absl/status/status.h"
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[0/992] Compiling client_channel.cc
[0/992] Compiling client_channel_plugin.cc
[0/992] Compiling channel_trace.cc
[0/992] Compiling client_channel_factory.cc
[0/992] Compiling channelz_registry.cc
[0/992] Compiling backup_poller.cc
[0/992] Compiling channelz.cc
While building module 'abseil' imported from /host/spi-builder-workspace/src/core/client_channel/client_channel_filter.h:30:
In file included from <module-includes>:17:
/host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/base/internal/exception_safety_testing.h:33:10: fatal error: 'gtest/gtest.h' file not found
#include "gtest/gtest.h"
^~~~~~~~~~~~~~~
[0/992] Compiling client_channel_filter.cc
BUILD FAILURE 5.10 linux