Skip to content

Commit 464a16a

Browse files
committed
Revert "ci: 把引导阶段绑定指名的 glibc 载荷装给它(过渡步骤)"
⚠️⚠️ **它一次都没有执行过,而且它的前提本身做不到。** ## 没执行 我先前把日志里的 `glibc payloads present: ` 读成了它的输出。那是**回显的脚本正文** —— 展开后的输出一次都没出现过。守卫 `[ -x "$HOME/.mcpp/registry/bin/xlings" ]` 在 那个位置为假:mcpp 的 registry 要到第一次运行 mcpp 才建出来。 ⚠️ 同一个坑今天第三次:**判据是子串匹配,而被匹配到的是脚本自己。** ## 前提做不到 `xlings install glibc@2.44` 会把请求**解析成** `2.44.2`,建出来的目录就叫 `2.44.2` —— 它**不可能**造出旧绑定要找的那个 `2.44` 目录。这一步的整个想法 (「把绑定指名的那个载荷装上」)对这个包管理器无法成立。 ## 真正修好它的是上一个 commit `openkal cross-build` 在桥**之前**就已经绿了:02:10 / 02:41 / 02:57 三次,而桥是 03:15 的 6e310aa。⇒ 止血的是 `b3735fc`(撤回 xlings pin 前移),不是这座桥。 ⇒ 留着它 = 留一段永不执行的 CI 代码,配一条声称自己承重、并让下一个人去「等发布后 移除」的注释。删掉。 ⚠️ 生态那七个仓库里也有同一段,同样是空转;它们下一轮改用正式版时一并删。
1 parent 7325184 commit 464a16a

3 files changed

Lines changed: 0 additions & 112 deletions

File tree

‎.github/actions/bootstrap-mcpp/action.yml‎

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -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

‎.github/workflows/ci-aarch64-fresh-install.yml‎

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -68,34 +68,6 @@ jobs:
6868
- name: Fresh-install mcpp via xlings
6969
run: |
7070
xlings install mcpp -y
71-
# ⚠️⚠️ TRANSITION: GIVE THE BOOTSTRAP THE glibc ITS BINDING NAMES.
72-
#
73-
# `xim:glibc`'s `latest` moved from `2.44` to `2.44.2`. A payload
74-
# directory is named after the version a request RESOLVED to, while a
75-
# RuntimeBinding carries the version that was DECLARED — and the xlings
76-
# a released mcpp vendors into its own sandbox still declares `2.44`.
77-
# So a clean machine installs `2.44.2`, the toolchain fixup asks for
78-
# `2.44`, and the build stops before anything is compiled:
79-
#
80-
# error: selected RuntimeBinding glibc@2.44 requires payload
81-
# '…/xpkgs/xim-x-glibc/2.44', but it is not installed
82-
#
83-
# ⚠️ On every NEW machine and on none that already existed, which is why
84-
# it is invisible from a developer's own. Measured on `main` as readily
85-
# as on any branch — the index records the same failure verbatim in
86-
# `pkgs/g/glibc.lua` and states the rule it broke: "The index is DATA
87-
# and the client is a PROGRAM: the consumer ships first."
88-
#
89-
# ⭐ REMOVE THIS once a released mcpp resolves it. `mcpp 2026.8.27.1`
90-
# accepts an installed payload whose version REFINES the requested one
91-
# (`payload_dir_for_version`), so a bootstrap from it needs nothing
92-
# here. Until then the missing payload is simply installed.
93-
if [ -x "$HOME/.mcpp/registry/bin/xlings" ]; then
94-
XLINGS_HOME="$HOME/.mcpp/registry" XLINGS_NON_INTERACTIVE=1 \
95-
"$HOME/.mcpp/registry/bin/xlings" install glibc@2.44 -y -g \
96-
>/dev/null 2>&1 || true
97-
echo "glibc payloads present: $(ls "$HOME/.mcpp/registry/data/xpkgs/xim-x-glibc" 2>/dev/null | tr '\n' ' ')"
98-
fi
9971
mcpp --version
10072
mcpp self config --mirror GLOBAL 2>/dev/null || true
10173

‎.github/workflows/ci-fresh-install.yml‎

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -466,34 +466,6 @@ jobs:
466466
formula_version="$(brew info --json=v2 mcpp-community/mcpp/mcpp-m \
467467
| python3 -c 'import json,sys; print(json.load(sys.stdin)["formulae"][0]["versions"]["stable"])')"
468468
echo "formula declares: $formula_version"
469-
# ⚠️⚠️ TRANSITION: GIVE THE BOOTSTRAP THE glibc ITS BINDING NAMES.
470-
#
471-
# `xim:glibc`'s `latest` moved from `2.44` to `2.44.2`. A payload
472-
# directory is named after the version a request RESOLVED to, while a
473-
# RuntimeBinding carries the version that was DECLARED — and the xlings
474-
# a released mcpp vendors into its own sandbox still declares `2.44`.
475-
# So a clean machine installs `2.44.2`, the toolchain fixup asks for
476-
# `2.44`, and the build stops before anything is compiled:
477-
#
478-
# error: selected RuntimeBinding glibc@2.44 requires payload
479-
# '…/xpkgs/xim-x-glibc/2.44', but it is not installed
480-
#
481-
# ⚠️ On every NEW machine and on none that already existed, which is why
482-
# it is invisible from a developer's own. Measured on `main` as readily
483-
# as on any branch — the index records the same failure verbatim in
484-
# `pkgs/g/glibc.lua` and states the rule it broke: "The index is DATA
485-
# and the client is a PROGRAM: the consumer ships first."
486-
#
487-
# ⭐ REMOVE THIS once a released mcpp resolves it. `mcpp 2026.8.27.1`
488-
# accepts an installed payload whose version REFINES the requested one
489-
# (`payload_dir_for_version`), so a bootstrap from it needs nothing
490-
# here. Until then the missing payload is simply installed.
491-
if [ -x "$HOME/.mcpp/registry/bin/xlings" ]; then
492-
XLINGS_HOME="$HOME/.mcpp/registry" XLINGS_NON_INTERACTIVE=1 \
493-
"$HOME/.mcpp/registry/bin/xlings" install glibc@2.44 -y -g \
494-
>/dev/null 2>&1 || true
495-
echo "glibc payloads present: $(ls "$HOME/.mcpp/registry/data/xpkgs/xim-x-glibc" 2>/dev/null | tr '\n' ' ')"
496-
fi
497469
mcpp --version
498470
mcpp --version | grep -Fq "$formula_version"
499471

0 commit comments

Comments
 (0)