feat(abseil-cpp): Migrate abseil-cpp to Ubuntu 24.04#14216
Closed
feat(abseil-cpp): Migrate abseil-cpp to Ubuntu 24.04#14216
Conversation
|
hunsche is a new contributor to projects/abseil-cpp. The PR must be approved by known contributors before it can be merged. The past contributors are: derekmauro, junyer, DonggeLiu, PiotrSikora, inferno-chromium, kabeer27 |
192d7d5 to
c154200
Compare
Contributor
Author
|
/gcbrun trial_build.py abseil-cpp |
javanlacerda
reviewed
Nov 5, 2025
projects/abseil-cpp/WORKSPACE
Outdated
|
|
||
| install_deps() | ||
|
|
||
| http_archive( |
Contributor
Author
There was a problem hiding this comment.
This was an attempt to fix the existing errors in the project, but it didn't work. There are more errors. I'm going to revert this and migrate it exactly as it is.
Contributor
|
/gcbrun trial_build.py abseil-cpp |
Contributor
Author
|
/gcbrun trial_build.py abseil-cpp |
Contributor
Author
|
/gcbrun trial_build.py abseil-cpp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request migrates the
abseil-cppproject to use the newubuntu-24-04base image for fuzzing. This makes it one of the first pilot projects to be migrated to the new, modernized build environment.Motivation
As part of the broader OSS-Fuzz initiative to keep our build environments up-to-date, we are gradually migrating projects to newer base operating systems. This provides projects with access to more recent compilers, updated libraries (e.g., libc), and modern tooling, which can lead to better bug detection and overall fuzzer stability.
Changes in this PR
This migration involves three key changes:
projects/abseil-cpp/project.yaml: Sets thebase_os_versionproperty toubuntu-24-04, officially opting the project into the new base image.projects/abseil-cpp/Dockerfile: Updates theFROMinstruction to pull the correspondinggcr.io/oss-fuzz-base/base-builder:ubuntu-24-04image. This ensures the project's build environment aligns with the specified OS version.infra/ci/check_base_os.py: Enablesubuntu-24-04as aSUPPORTED_VERSIONin the CI presubmit script. This is a one-time change that allows this and future project migrations to pass validation.Verification
All CI checks, including the previously failing
trial-build, are expected to pass. The project has also been confirmed to build successfully with the new base image.