Repository navigation
ci: bootstrap pins to 2026.8.27.5 — the last compiled-in glibc constants - #574
Merged
Merged
Conversation
Seven workflows bootstrapped an xlings whose subos runtime binding is a COMPILED-IN CONSTANT: five on v2026.8.8.1, two on v2026.8.10.1. Both predate 2026.8.27.2, where the binding started coming from the index. Measured across four client versions against an index carrying glibc 2.44 and 2.44.2 with `latest = 2.44.2`: v2026.8.8.1 [constant] declares 2.39 installs 2.44.2 BREAKS v2026.8.10.1 [constant] declares 2.44 installs 2.44.2 BREAKS 2026.8.27.4 [reads index] declares 2.44.2 installs 2.44.2 ok 2026.8.27.5 [index + D1] declares 2.44.2 installs 2.44.2 ok Every client whose binding is a constant installs one version while declaring another; every client that reads the index stays consistent. These pins were the last constants in the loop. What this unblocks: a packaging revision of a runtime package could not be published at all while they sat here. glibc 2.44.2 -- the build that fixes the host `/etc/ld.so.preload` breach (mcpp#484) -- has been withdrawn from the index three times for exactly this reason. Note v2026.8.8.1 was ALREADY mismatched today, declaring 2.39 on a home running 2.44 (mcpp#406); the restore does not create that, it only changes which version it gets wrong. Cost: BOOTSTRAP_XLINGS_VERSION appears in 17 cache keys, so the first run after this is a cold build. One-off. Also corrects two comments that no longer describe reality: - the aarch64 rationale still said "move this pin to 2026.8.27.3 once it is released" -- an instruction this commit carries out, so it had to stop reading as pending work. - three workflows claimed to bump BOOTSTRAP_XLINGS_VERSION "together with XIM_PKGINDEX_REF so CI uses a known-good pair". Measured: that variable is declared in seven workflows and checked out in three, two of them the Windows legs. On linux/macos the index is whatever is current. A comment describing a lock that does not exist is worse than none, because the next person bumping these pins will believe it.
Sunrisepeak
added a commit
to openxlings/xim-pkgindex
that referenced
this pull request
Aug 27, 2026
Withdrawn three times, never because the artifact was bad. The binding IS the payload directory name, and consumers held that name as a compiled-in constant: a consumer with `[email protected]` baked in needs `xim-x-glibc/2.44` on disk, while 36 range dependencies (`glibc@>=2.38/2.39`) resolve through select_best -- MAXIMUM satisfying, which does not consult `latest` -- and install the higher one. The consumer then refuses: error: selected RuntimeBinding [email protected] requires payload '<home>/.../xpkgs/xim-x-glibc/2.44', but it is not installed What changed is that every consumer now takes the binding from THIS FILE rather than from a constant, so both questions asked of this table give the same answer again. Measured across four client versions against exactly the state this commit produces: v2026.8.8.1 [constant] declares 2.39 installs 2.44.2 mismatch v2026.8.10.1 [constant] declares 2.44 installs 2.44.2 mismatch 2026.8.27.4 [reads index] declares 2.44.2 installs 2.44.2 ok 2026.8.27.5 [index + D1] declares 2.44.2 installs 2.44.2 ok Both mismatching versions are out of the loop: openxlings/xlings#574 moved all seven CI bootstrap pins to 2026.8.27.5, and mcpp-community/mcpp#520 moved mcpp's bundled xlings there too. MOVING `latest` WITH THE ENTRY IS NOT OPTIONAL. Adding 2.44.2 while leaving `latest` at 2.44 is strictly worse than not adding it -- select_best would install 2.44.2 while every binding still said 2.44. That was measured too. Why it is worth doing, `strings` on the two published loaders: 2.44 2.44.2 XLINGS_LD_PRELOAD_FILE absent present build-machine paths 8 0 preload path /etc/ld.so.preload /nonexistent/... The 2.44 every user is on today reads the HOST's /etc/ld.so.preload (mcpp-community/mcpp#484) and still carries the machine it was built on. 2.44 stays in the table, append-only: subos created against it keep resolving, and on 2026.8.27.5 the declaration outranks `latest`, so they are not dragged forward. sha256 recomputed from the downloaded artifact, not copied from the withdrawal note: ed4bf048b8ed2b65433e0dd655f93133da4a9bd458276cfa986b7cccde835d08 tests/g/test_glibc.py: 11 passed, 1 failed -- the failure is bare-name ambiguity from three namespaces providing glibc on this machine, and it fails identically on unmodified main. Co-authored-by: sunrisepeak <[email protected]>
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.
Seven workflows bootstrapped an xlings whose subos runtime binding is a compiled-in constant — five on
v2026.8.8.1, two onv2026.8.10.1. Both predate2026.8.27.2, where the binding started coming from the index.Measured
Four client versions against an index carrying glibc 2.44 and 2.44.2, with
latest = 2.44.2— i.e. the state restoring the entry would actually produce:v2026.8.8.1v2026.8.10.12026.8.27.42026.8.27.5Every client whose binding is a constant installs one version while declaring another; every client that reads the index stays consistent. These pins were the last constants in the loop.
What it unblocks
A packaging revision of a runtime package could not be published at all while these sat here. glibc 2.44.2 — the build that fixes the host
/etc/ld.so.preloadbreach (mcpp-community/mcpp#484) — has been withdrawn from the index three times for exactly this reason.Note
v2026.8.8.1was already mismatched today: it declares 2.39 on a home running 2.44 (mcpp-community/mcpp#406). Restoring 2.44.2 does not create that, it only changes which version it gets wrong.Cost
BOOTSTRAP_XLINGS_VERSIONappears in 17 cache keys, so the first run after this is a cold build. One-off.Two comments corrected
XIM_PKGINDEX_REFso CI uses a known-good xlings + package index pair". Measured: that variable is declared in seven workflows and checked out in three, two of them the Windows legs. On linux/macos the index is whatever is current. A comment describing a lock that does not exist is worse than none — the next person bumping these will believe it.Ordering: this lands first, mcpp's own xlings pin follows, and the index entry moves last. Consumers ship before
latestdoes.