Skip to content

gcc12: add ubuntu 24.04 system-package mapping - #1403

Closed
srikrishnagopu wants to merge 1 commit into
mainfrom
export-D111946117
Closed

gcc12: add ubuntu 24.04 system-package mapping#1403
srikrishnagopu wants to merge 1 commit into
mainfrom
export-D111946117

Conversation

@srikrishnagopu

Copy link
Copy Markdown
Contributor

Summary:
X-link: facebook/BGP#7

The BGP OSS GitHub Actions build runs getdeps directly on a bare ubuntu-24.04 runner (unlike the on-diff/FBOSS builds, which run inside the CentOS Stream 9 container). getdeps fails while resolving the gcc12 dependency:

KeyError: 'project gcc12 has no fetcher configuration or system packages matching {distro=ubuntu, distro_vers=24.04, ...}'

The gcc12 manifest only declares CentOS Stream 9 RPMs (gcc-toolset-12), with no ubuntu mapping and no fetcher, so getdeps cannot satisfy it on ubuntu. Both bgp and fboss depend on gcc12, so this blocks the whole BGP getdeps build.

Add a [debs] mapping for ubuntu 24.04 (gcc-12, g++-12, both available in noble's universe repo). This is purely additive — the CentOS path is unchanged — and fixes gcc12 resolution for every ubuntu getdeps consumer.

Differential Revision: D111946117

Summary:
X-link: facebook/BGP#7

The BGP OSS GitHub Actions build runs getdeps directly on a bare `ubuntu-24.04` runner (unlike the on-diff/FBOSS builds, which run inside the CentOS Stream 9 container). getdeps fails while resolving the `gcc12` dependency:

  KeyError: 'project gcc12 has no fetcher configuration or system packages matching {distro=ubuntu, distro_vers=24.04, ...}'

The `gcc12` manifest only declares CentOS Stream 9 RPMs (`gcc-toolset-12`), with no ubuntu mapping and no fetcher, so getdeps cannot satisfy it on ubuntu. Both `bgp` and `fboss` depend on `gcc12`, so this blocks the whole BGP getdeps build.

Add a `[debs]` mapping for ubuntu 24.04 (`gcc-12`, `g++-12`, both available in noble's universe repo). This is purely additive — the CentOS path is unchanged — and fixes gcc12 resolution for every ubuntu getdeps consumer.

Differential Revision: D111946117
@srikrishnagopu
srikrishnagopu requested a review from a team as a code owner July 22, 2026 21:38
@meta-cla meta-cla Bot added the CLA Signed label Jul 22, 2026
@meta-codesync

meta-codesync Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

@srikrishnagopu has exported this pull request. If you are a Meta employee, you can view the originating Diff in D111946117.

meta-codesync Bot pushed a commit to facebook/BGP that referenced this pull request Jul 23, 2026
Summary:
X-link: facebook/fboss#1403


The BGP OSS GitHub Actions build runs getdeps directly on a bare `ubuntu-24.04` runner (unlike the on-diff/FBOSS builds, which run inside the CentOS Stream 9 container). getdeps fails while resolving the `gcc12` dependency:

  KeyError: 'project gcc12 has no fetcher configuration or system packages matching {distro=ubuntu, distro_vers=24.04, ...}'

The `gcc12` manifest only declares CentOS Stream 9 RPMs (`gcc-toolset-12`), with no ubuntu mapping and no fetcher, so getdeps cannot satisfy it on ubuntu. Both `bgp` and `fboss` depend on `gcc12`, so this blocks the whole BGP getdeps build.

Add a `[debs]` mapping for ubuntu 24.04 (`gcc-12`, `g++-12`, both available in noble's universe repo). This is purely additive — the CentOS path is unchanged — and fixes gcc12 resolution for every ubuntu getdeps consumer.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant