Skip to content

gcc12: add ubuntu 24.04 system-package mapping (#7) - #7

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

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

Conversation

@srikrishnagopu

@srikrishnagopu srikrishnagopu commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

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

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 14, 2026
@meta-codesync

meta-codesync Bot commented Jul 14, 2026

Copy link
Copy Markdown

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

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
@meta-codesync meta-codesync Bot changed the title gcc12: add ubuntu 24.04 system-package mapping gcc12: add ubuntu 24.04 system-package mapping (#7) Jul 23, 2026
@meta-codesync
meta-codesync Bot force-pushed the export-D111946117 branch from 638e3db to d59ed1f Compare July 23, 2026 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant