Repository navigation
Conversation
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
The
freebsd (14.3)job failed because FreeBSD removes release artifacts fromdownload.freebsd.orgwhen a release reaches end-of-life, so fetching14.3-RELEASE/src.txzreturned HTTP 404 andset -eaborted the script before either build path could run.The FreeBSD matrix now uses the supported 14.5 and 15.1 releases. The source-set fetch first tries
download.freebsd.organd, if that fails, retries the same release fromarchive.freebsd.org/old-releases, removing any partial file first. The Cirrus FreeBSD matrix was also moved off the retired 14.3 image, and its kernel-source clone now runs only when the expectedkern_lockf.cis actually missing, deriving thereleng/*branch fromuname -r.Changes
.github/workflows/build.yml: replace 14.3 with 14.5 in the FreeBSD matrix and add the archived-source fallback when the main mirror fetch fails..cirrus.yml: replace the EOL FreeBSD images with 14.5 and 15.1, and make the kernel-source clone conditional on the requiredkern_lockf.cbeing absent.Verification
ruby -e 'require "yaml"; ...'-> both.github/workflows/build.ymland.cirrus.ymlparse successfully.uname/fetch/tar-> on a simulated 14.3 main-mirror failure it fetchedhttps://archive.freebsd.org/old-releases/amd64/14.3-RELEASE/src.txz; on a simulated 14.5 success it fetched only the main mirror.python3HEAD requests ->14.5-RELEASE/src.txzand15.1-RELEASE/src.txzreturn 200 fromdownload.freebsd.org; the archived 14.3 source returns 200 fromarchive.freebsd.org.git diff --check-> clean.Risks / Follow-ups
This PR is AI Assisted.
Closes #372