RELEASE.md: why a failed Rust fails at once for the rest of a step
The ports tree's clean passes a flavored port's FLAVOR on to its dependencies, so a dependency without flavors looks for work-<flavor> and keeps its half-built work directory; its build tools are removed, and every later port that needs it fails at once until the next step. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
98b6a457ad
commit
01e09eccd2
1 changed files with 7 additions and 1 deletions
|
|
@ -229,7 +229,13 @@ release/vm.sh pull-out 14.3 26.1 # -> /scratch/mono-opnsense/out/26.1
|
|||
build-only dependencies are not kept and get rebuilt. A port that
|
||||
fails is recorded and the step goes on with the others, then fails at the
|
||||
end. Tools stops at the first failure only when its step is given an
|
||||
argument, and `build` gives none.
|
||||
argument, and `build` gives none. A failed dependency that has no
|
||||
flavors, of a port that has them, keeps its half-built work directory
|
||||
for the rest of the step: the ports tree's clean passes the flavor on,
|
||||
and the dependency looks for `work-<flavor>` instead. Tools has removed
|
||||
its build tools by then, so every later port that needs it fails at
|
||||
once (2026-11-20: Rust, "Couldn't find required command: cmake"). The
|
||||
next `build` retries them in a fresh stage.
|
||||
5. The ports fetch their distfiles as they build. Some no longer download as
|
||||
recorded in the ports tree's distinfo, chiefly patches GitHub generates
|
||||
on the fly (`github.com/<owner>/<repo>/commit/<hash>.patch`): GitHub
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue