Build Information
Failed to build gRPC, reference main (5f768c
), with Swift 5.9 for Linux on 13 Oct 2024 06:45:11 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.9-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: 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/grpc/grpc-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5f768c6 use pip to install pyyaml
Cloned https://github.com/grpc/grpc-ios.git
Revision (git rev-parse @):
5f768c6c2e2340cc67bb6eeedcf5eec3e187d2e3
SUCCESS checkout https://github.com/grpc/grpc-ios.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:9f9025114c0603ac6ea1951d396f9bc1cd3a7c1b5aa8548b3ea2615c8c5705ce
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/firebase/abseil-cpp-SwiftPM.git
Fetching https://github.com/firebase/boringssl-SwiftPM.git
[1/8143] Fetching boringssl-swiftpm
[572/11749] Fetching boringssl-swiftpm, abseil-cpp-swiftpm
Fetched https://github.com/firebase/abseil-cpp-SwiftPM.git (2.63s)
Fetched https://github.com/firebase/boringssl-SwiftPM.git (2.70s)
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.38s)
Computing version for https://github.com/firebase/boringssl-SwiftPM.git
Computed https://github.com/firebase/boringssl-SwiftPM.git at 0.32.1 (0.42s)
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...
[0/997] Copying PrivacyInfo.xcprivacy
[0/997] Copying Info.plist
[2/997] Compiling uncompr.c
[3/997] Compiling zutil.c
[4/997] Compiling cert.upb_minitable.c
[5/997] Compiling common.upb_minitable.c
[6/997] Compiling ring_hash.upb_minitable.c
[7/997] Compiling wrr_locality.upb_minitable.c
[8/997] Compiling trees.c
[9/997] Compiling time_cc.cc
[10/997] Compiling status.cc
[11/997] Compiling string_ref.cc
[12/997] Compiling byte_buffer_cc.cc
While building module 'abseil' imported from /host/spi-builder-workspace/src/core/client_channel/client_channel_factory.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_factory.cc:19:
/host/spi-builder-workspace/src/core/client_channel/client_channel_factory.h:22:10: fatal error: could not build module 'abseil'
#include "absl/strings/string_view.h"
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[13/997] Compiling client_channel_factory.cc
[13/997] Compiling server_posix.cc
[13/997] Compiling server_context.cc
While building module 'abseil' imported from /host/spi-builder-workspace/src/core/client_channel/client_channel_filter.h:31:
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"
^~~~~~~~~~~~~~~
[13/997] Compiling client_channel_filter.cc
[13/997] Compiling server_credentials.cc
[13/997] Compiling xds_server_builder.cc
[13/997] Compiling xds_server_credentials.cc
While building module 'abseil' imported from /host/spi-builder-workspace/spm-core-include/grpc/event_engine/endpoint_config.h:21:
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/cpp/thread_manager/thread_manager.cc:19:
In file included from /host/spi-builder-workspace/src/cpp/thread_manager/thread_manager.h:24:
In file included from /host/spi-builder-workspace/src/core/lib/resource_quota/api.h:18:
/host/spi-builder-workspace/spm-core-include/grpc/event_engine/endpoint_config.h:21:10: fatal error: could not build module 'abseil'
#include "absl/strings/string_view.h"
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[13/997] Compiling thread_manager.cc
BUILD FAILURE 5.9 linux