Skip to content

[CI] Build failures with ABSEIL 20240116 and CMAKE 3.30 #2998

@marcalff

Description

@marcalff

CI started to fail for this build:

CI / CMake test (with abseil) (pull_request) 

The failure is in:

./ci/install_abseil.sh

Failure:

-- Configuring done (0.5s)
CMake Error at CMake/AbseilHelpers.cmake:317 (target_link_libraries):
  The link interface of target "test_allocator" contains:

    GTest::gmock

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  absl/container/CMakeLists.txt:206 (absl_cc_library)


CMake Generate step failed.  Build files cannot be regenerated correctly.
-- Generating done (0.2s)
Error: Process completed with exit code 1.

To investigate, I suspect a regression caused by the new image Version: 20240708.1.0:

Current runner version: '2.317.0'
Operating System
  Ubuntu
  20.04.6
  LTS
Runner Image
  Image: ubuntu-20.04
  Version: 20240708.1.0

Previous runs that builds properly:

Current runner version: '2.317.0'
Operating System
  Ubuntu
  20.04.6
  LTS
Runner Image
  Image: ubuntu-20.04
  Version: 20240701.1.0

See related:

To investigate, CMake was upgraded.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingissue:blockingThis issue is preventing other fixes

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions