@@ -168,34 +168,6 @@ runs:
168168 else
169169 echo "sandbox xlings: (not initialised yet)"
170170 fi
171- # ⚠️⚠️ TRANSITION: GIVE THE BOOTSTRAP THE glibc ITS BINDING NAMES.
172- #
173- # `xim:glibc`'s `latest` moved from `2.44` to `2.44.2`. A payload
174- # directory is named after the version a request RESOLVED to, while a
175- # RuntimeBinding carries the version that was DECLARED — and the xlings
176- # a released mcpp vendors into its own sandbox still declares `2.44`.
177- # So a clean machine installs `2.44.2`, the toolchain fixup asks for
178- # `2.44`, and the build stops before anything is compiled:
179- #
180- # error: selected RuntimeBinding glibc@2.44 requires payload
181- # '…/xpkgs/xim-x-glibc/2.44', but it is not installed
182- #
183- # ⚠️ On every NEW machine and on none that already existed, which is why
184- # it is invisible from a developer's own. Measured on `main` as readily
185- # as on any branch — the index records the same failure verbatim in
186- # `pkgs/g/glibc.lua` and states the rule it broke: "The index is DATA
187- # and the client is a PROGRAM: the consumer ships first."
188- #
189- # ⭐ REMOVE THIS once a released mcpp resolves it. `mcpp 2026.8.27.1`
190- # accepts an installed payload whose version REFINES the requested one
191- # (`payload_dir_for_version`), so a bootstrap from it needs nothing
192- # here. Until then the missing payload is simply installed.
193- if [ -x "$HOME/.mcpp/registry/bin/xlings" ]; then
194- XLINGS_HOME="$HOME/.mcpp/registry" XLINGS_NON_INTERACTIVE=1 \
195- "$HOME/.mcpp/registry/bin/xlings" install glibc@2.44 -y -g \
196- >/dev/null 2>&1 || true
197- echo "glibc payloads present: $(ls "$HOME/.mcpp/registry/data/xpkgs/xim-x-glibc" 2>/dev/null | tr '\n' ' ')"
198- fi
199171 echo "MCPP=$MCPP" >> "$GITHUB_ENV"
200172 echo "XLINGS_BIN=$HOME/.xlings/subos/default/bin/xlings" >> "$GITHUB_ENV"
201173
@@ -229,34 +201,6 @@ runs:
229201 else
230202 echo "sandbox xlings: (not initialised yet)"
231203 fi
232- # ⚠️⚠️ TRANSITION: GIVE THE BOOTSTRAP THE glibc ITS BINDING NAMES.
233- #
234- # `xim:glibc`'s `latest` moved from `2.44` to `2.44.2`. A payload
235- # directory is named after the version a request RESOLVED to, while a
236- # RuntimeBinding carries the version that was DECLARED — and the xlings
237- # a released mcpp vendors into its own sandbox still declares `2.44`.
238- # So a clean machine installs `2.44.2`, the toolchain fixup asks for
239- # `2.44`, and the build stops before anything is compiled:
240- #
241- # error: selected RuntimeBinding glibc@2.44 requires payload
242- # '…/xpkgs/xim-x-glibc/2.44', but it is not installed
243- #
244- # ⚠️ On every NEW machine and on none that already existed, which is why
245- # it is invisible from a developer's own. Measured on `main` as readily
246- # as on any branch — the index records the same failure verbatim in
247- # `pkgs/g/glibc.lua` and states the rule it broke: "The index is DATA
248- # and the client is a PROGRAM: the consumer ships first."
249- #
250- # ⭐ REMOVE THIS once a released mcpp resolves it. `mcpp 2026.8.27.1`
251- # accepts an installed payload whose version REFINES the requested one
252- # (`payload_dir_for_version`), so a bootstrap from it needs nothing
253- # here. Until then the missing payload is simply installed.
254- if [ -x "$HOME/.mcpp/registry/bin/xlings" ]; then
255- XLINGS_HOME="$HOME/.mcpp/registry" XLINGS_NON_INTERACTIVE=1 \
256- "$HOME/.mcpp/registry/bin/xlings" install glibc@2.44 -y -g \
257- >/dev/null 2>&1 || true
258- echo "glibc payloads present: $(ls "$HOME/.mcpp/registry/data/xpkgs/xim-x-glibc" 2>/dev/null | tr '\n' ' ')"
259- fi
260204 echo "MCPP=$MCPP" >> "$GITHUB_ENV"
261205 echo "XLINGS_BIN=$(cygpath -w "$USERPROFILE/.xlings/subos/default/bin/xlings.exe")" >> "$GITHUB_ENV"
262206
0 commit comments