build: source resolute toolchain from rustc-release PPA and pin vendor_rust to 1.96.0#232
Merged
Merged
Conversation
…r_rust to 1.96.0 Verified against the ~lablup/+archive/ubuntu/rustc-release PPA that rustc-1.96 is published for jammy, noble, and resolute at 1.96.0+dfsg1. Two adjustments follow from that: Resolute (Ubuntu 26.04) now documents the same dependent-PPA toolchain source as jammy and noble instead of claiming it builds from the archive without the dependency PPA, since the rustc-release PPA serves 26.04 too and debian/control already prefers the versioned rustc-1.96 alternative. vendor_rust drops from 1.96.1 to 1.96.0 so the runner-side lockfile validation and cargo vendor step use the exact patch Launchpad compiles with, eliminating any patch-level skew between the vendoring toolchain and the build toolchain.
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
Follow-up to #231. Verified the actual state of the
~lablup/+archive/ubuntu/rustc-releasePPA and adjusted the packaging config to match reality.PPA verification
Queried the Launchpad API (
getPublishedSources).rustc-1.96is published for all three target series:So the #231 precondition (PPA must ship
rustc-1.96/cargo-1.96) is already satisfied, and the PPA serves Resolute (26.04) as well. The PPA patch is 1.96.0, not 1.96.1.Changes
launchpad_ppa.ymlanddebian/README.packaging, instead of claiming it builds from the 26.04 archive without the dependency PPA.debian/controlalready prefers the versionedrustc-1.96alternative, so no control change is needed.vendor_rustdrops from 1.96.1 to 1.96.0 for all distros so the runner-side lockfile validation andcargo vendorstep run on the exact patch Launchpad compiles with, removing any patch-level skew between the vendoring toolchain and the build toolchain.Verification
Workflow and docs only; no Rust source or
debian/controlbuild-deps changed.