Skip to content

Conversation

@hunsche
Copy link
Contributor

@hunsche hunsche commented Oct 31, 2025

Summary

This pull request migrates the abseil-cpp project to use the new ubuntu-24-04 base 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:

  1. projects/abseil-cpp/project.yaml: Sets the base_os_version property to ubuntu-24-04, officially opting the project into the new base image.
  2. projects/abseil-cpp/Dockerfile: Updates the FROM instruction to pull the corresponding gcr.io/oss-fuzz-base/base-builder:ubuntu-24-04 image. This ensures the project's build environment aligns with the specified OS version.
  3. infra/ci/check_base_os.py: Enables ubuntu-24-04 as a SUPPORTED_VERSION in 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.

@github-actions
Copy link

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

@hunsche hunsche force-pushed the feat/abseil-ubuntu-migration branch from 192d7d5 to c154200 Compare October 31, 2025 14:53
@hunsche
Copy link
Contributor Author

hunsche commented Oct 31, 2025

/gcbrun trial_build.py abseil-cpp


install_deps()

http_archive(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@javanlacerda
Copy link
Contributor

/gcbrun trial_build.py abseil-cpp

@hunsche
Copy link
Contributor Author

hunsche commented Nov 5, 2025

/gcbrun trial_build.py abseil-cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants