Skip to content

picolibc 1.8.12.3 — the dependency pinned a version that does not exist - #340

Merged
Sunrisepeak merged 1 commit into
mainfrom
picolibc-exact-pin
Sep 4, 2026
Merged

picolibc 1.8.12.3 — the dependency pinned a version that does not exist#340
Sunrisepeak merged 1 commit into
mainfrom
picolibc-exact-pin

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

A bare requirement in mcpp is an exact pin, not a caret: is_version_constraint returns false for a bare number, so "22.1.8" became the wire address and the fetch installed 22.1.8.2 under a directory mcpp then could not find.

Both entries' notes carried the same wrong claim and are corrected. Verified against the published index before tagging.

A BARE REQUIREMENT IN mcpp IS AN EXACT PIN, NOT A CARET.

`1.8.12.2` depended on `llvm.compiler-rt-builtins = "22.1.8"`, written on the
belief that a bare requirement is a caret and would match the published
`22.1.8.2`. That is true of the matching grammar in `mcpp.version_req` and false
of the resolution path: `mcpp::pm::is_version_constraint` returns false for a
bare number, so no resolution runs and the literal becomes the wire address.
Measured: `Downloading v22.1.8`, then `install path missing after fetch` —
xlings resolved and installed the real version while mcpp looked for a directory
named after the requirement.

Both entries' notes carried the same wrong claim and are corrected.

VERIFIED AGAINST THE PUBLISHED INDEX BEFORE TAGGING, which is the step whose
absence produced two broken releases today: a consumer built with the new
manifest as a path dependency, so that its own edge resolved from the index and
nothing else did, reported `compiler-rt-builtins@22.1.8.2, graph` and produced
an image that printed through `printf` and exited 0.
@Sunrisepeak
Sunrisepeak merged commit 0dab7fe into main Sep 4, 2026
4 checks passed
@Sunrisepeak
Sunrisepeak deleted the picolibc-exact-pin branch September 4, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants