Draft
docker/ubuntu: Bump LIBSTDCXX_EXPECTED_VERSION 13.1 → 13.3#518
Conversation
Agent-Logs-Url: https://github.com/envoyproxy/envoy-build-tools/sessions/8a3d537f-bae2-4750-b0f8-ccbfeaf7c706 Co-authored-by: phlax <454682+phlax@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix CI failure in Ubuntu image build
docker/ubuntu: Bump LIBSTDCXX_EXPECTED_VERSION 13.1 → 13.3
May 7, 2026
This was referenced May 7, 2026
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.
The toolchain PPA (
ppa:ubuntu-toolchain-r/test) shippedlibstdc++6≥13.3.x, causingensure_stdlibccto fail afterdist-upgradeininstall_base(symptom visible in PR #517 CI logs).docker/linux/ubuntu/Dockerfile: bumpLIBSTDCXX_EXPECTED_VERSIONfrom13.1to13.3Original prompt
Problem
CI for
envoyproxy/envoy-build-toolsis failing in the Ubuntu image build at the[env 2/2]stage:The last line of
install_baseisensure_stdlibcc, which runs:LIBSTDCXX_EXPECTED_VERSIONis pinned in the Dockerfile:The Ubuntu toolchain PPA (
ppa:ubuntu-toolchain-r/test) has bumped theg++-13package and its bundledlibstdc++6past13.1, so theapt list libstdc++6 | grep installed | grep 13.1check now fails afterdist-upgrade, breaking the build.Task
Bump
LIBSTDCXX_EXPECTED_VERSIONindocker/linux/ubuntu/Dockerfileto the version that the toolchain PPA currently ships forlibstdc++6onubuntu:focalwithg++-13installed.How to determine the new value
Run inside an
ubuntu:focalcontainer with the same setupinstall_baseperforms (this is essentially what the Dockerfile does up to the failing check):Take the version reported (e.g.
13.3.0-2ubuntu1~20.04) and reduce it to the prefix used by the existing pin style — i.e. only the major.minor (so13.3for a13.3.xrelease). The current value13.1corresponds to13.1.x. Use the new major.minor (likely13.3).If you cannot actually run docker, use the existing failing CI run logs as evidence and pick the most likely value (
13.3) and clearly note the assumption in the PR description so a maintainer can adjust if needed.Edit
Change exactly one line in
docker/linux/ubuntu/Dockerfile:PR
docker/ubuntu: Bump LIBSTDCXX_EXPECTED_VERSIONlibstdc++6past13.1, breakingensure_stdlibccafterdist-upgradeininstall_base, and link to the failing log on PR linux/builds: Remove Debian publishing #517 as the symptom.Out of scope
ensure_stdlibccitself (don't loosen the pin) — just bump the value.The following is the prior conversation context from the user's chat exploration (may be truncated):
User: so today toolshed published a replacement for the debian images produced herein
this repo is headed to obsolescence but its still needed for the ubuntu images until all the branches that use it are eol
your mission - whether you choose to accept it or not - is to clear out the now unnecessary/confusing/ed debian publishing
Assistant: I've explored the repo and have a clear picture of the Debian publishing surface area to remove. Let me dispatch the coding agent to open a PR.
Assistant: Waiting for your response to the dialog before proceeding to dispatch the coding agent on
envoyproxy/envoy-build-toolsto remove the Debian publishing.User: @copilot Accepted Confirmation: Confirm agent session
Assistant: Mission accepted. I've dispatched the coding agent on
envoyproxy/envoy-build-toolsto clear out the Debian publishing — deletingdocker/linux/debian/,docker/linux/debian_build.sh, stripping debian branches frompush.sh/build.sh/group_manifests.sh, dropping thedebian:block from.github/config.yml, removing thebuild_image_debianjob and merge step frombuild.yml, and rewritingdocker/README.mdto point at toolshed for the new debian images. Ubuntu publishing is left untouched.