Skip to content

Commit c8ab4ff

Browse files
release: 2026.10.24.1, with xlings 2026.10.24.1 bundled and as the vendored floor
The release takes the next version so it ships beside xlings 2026.10.24.1, whose script-package alias quotes its path (openxlings/xlings#699, released through #701): a script package's hook loads under a home whose path holds a space, which the index had only worked around for gcc (xim-pkgindex#1035). `kXlingsVersion` records the twelfth floor; the CI and release workflows install the same version. Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
1 parent 0ea631f commit c8ab4ff

33 files changed

Lines changed: 72 additions & 58 deletions

‎.agents/docs/2026-10-23-target-base-and-execution-host-design.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ status: landed
55

66
# 目标基座与执行宿主:sysroot 的通用模型、运行器契约、自备输入,以及同批的发布产物路径(#832)
77

8-
日期:2026-10-23。分析基线:`4c80028c`(mcpp 2026.10.22.1)。实现:mcpp 2026.10.23.1。
8+
日期:2026-10-23。分析基线:`4c80028c`(mcpp 2026.10.22.1)。实现:mcpp 2026.10.24.1。
99

1010
**修订记录**
1111

@@ -23,6 +23,7 @@ status: landed
2323
- 新增拒绝码 `target-base`。
2424
- §15.2:R3(e2e 932)在 CI 上实测出链路上的第二处缺陷,位于 xlings:脚本类型包的别名写作未加引号的 `xlings script <路径>`,shim 按空白切分它(`failed to load script: package file not found: /tmp/…/mc`)。处理分两处:xim-pkgindex#1035 让 gcc 的 hook 以 argv 形式直接运行 `xlings script <脚本>`,不经别名,对已发布的所有 xlings 都成立,本次发布因此不依赖 xlings 的发布;openxlings/xlings#699 给别名中的路径加引号,修正根因。"不需要改 xlings"这一判断在实测后改为"本次发布不依赖 xlings 的修复,但 xlings 有一个需要修的缺陷"。索引侧另需修复的调用有 53 处,多于 §15.2 原先估计的范围。
2525
- §15.2:R3 在 CI 上实测出链路上的另两处缺陷。其一在 mcpp:build.ninja 中的工具变量(`cxx`、`cc`、`ar`、`mcpp` 等)与工具链路径参数(`-B`、`-isysroot`、`-ffile-prefix-map` 等)只做了 ninja 转义、没有按宿主加引号,`/bin/sh` 在空格处切开(`/bin/sh: 1: /tmp/…/mc: not found`);工具变量改为 `ninja_tool_word`,路径参数改由 `escape_path` 在需要时加引号,不需要引号的路径逐字节不变,`read_engine_binding` 同时读回带引号的写法。其二在 glibc 载荷:重定位把安装目录写进 `libc.so`、`libm.so`、`libm.a` 三个 GNU ld 脚本,ld 在空白处切分未加引号的文件名;xim-pkgindex#1044 在重定位之后给含空白的名字加双引号。
26+
- 发布:版本号定为 2026.10.24.1;内置 xlings 与版本下限升至 2026.10.24.1(含 xlings#699 的别名引号修复,经 #701 发布),因此脚本类型包在空格 home 下的修复不再只依赖索引侧的绕行(#1035)。同批并入 mcpp#836(mwrap 与包模板的使用文档)。
2627
- §15.5 R3:实测确认,空格路径可以构建;非 ASCII 字符(`家`)使 GCC 16 的 module mapper(libcody)在预编译 std 模块时失败(`malformed string … INCLUDE-TRANSLATE`)。这是上游限制:同一份 gcc 放在仅含空格的目录下可以构建。mcpp 在该错误之后点名原因与出路(ASCII 路径的 home,或 llvm);R3 改为空格 home 必须能构建,非 ASCII home 要么构建、要么给出这条诊断。docs/20 记为已知工具链限制。
2728
- §15.3:`trim_paths` 不作用于 `mcpp test`(以及与之同面的 configure 过程)。CI 实测:mcpp 自己的单测在 release 默认档下借 `__FILE__` 定位仓库,被裁剪成 `workspace@0.0.0/src` 后全部找不到。测试二进制在构建处运行,不发布;`ndebug` 照常作用于测试(与 Cargo 的 release 关闭 `debug_assertions` 一致)。
2829
- §4.5:clean specs 不恢复 `%(sysroot_spec)`。回归 e2e 220 实测:链接器拿到 `--sysroot` 后,会把 sysroot 前缀加到每个输入共享库的 DT_RUNPATH 上,SubOS farm 中 `libEGL.so` 的 RUNPATH 以绝对路径指向载荷,于是 `libGLdispatch` 找不到。hello 程序逐字节相同的测量只覆盖了没有这类输入的链接。改为:被陈述的 gnu-sysroot 基座由渲染器给 gcc 显式加上 `-Wl,--sysroot=<root>`(clang 的驱动自己把 `--sysroot` 交给链接器),生态缺省视图不变。SPEC-006 §4.3 按此改写。

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ inputs:
3333
# `package.name`, so one of the two was simply unreachable — and which one
3434
# depended on the machine, which is why CI failed on `compat:lua` on
3535
# Windows and `mcpplibs.capi:lua` on Linux. Never pin below that.
36-
default: '2026.10.19.1'
36+
default: '2026.10.24.1'
3737

3838
outputs:
3939
sandbox-key:

‎.github/actions/setup-macos-llvm/action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ inputs:
1515
# Floor imposed by the index, not a routine bump — see
1616
# .github/actions/bootstrap-mcpp/action.yml for why 0.4.69 is required
1717
# (two packages named `lua` in one repo need openxlings/xlings#381).
18-
default: '2026.10.19.1'
18+
default: '2026.10.24.1'
1919
image:
2020
description: >
2121
The runner label the job runs on (macos-15, xcode-27). It is part of the

‎.github/workflows/bootstrap-macos.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
# Dormant (workflow_dispatch only), but kept in step with the rest —
1818
# check_version_pins.sh holds it there. Floor: 0.4.69, below which the
1919
# index cannot resolve two packages that share a short name.
20-
XLINGS_VERSION: '2026.10.19.1'
20+
XLINGS_VERSION: '2026.10.24.1'
2121
steps:
2222
- uses: actions/checkout@v4
2323

‎.github/workflows/ci-bootstrap.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
os: [ubuntu-24.04, macos-15, windows-2025]
4242
env:
4343
XLINGS_NON_INTERACTIVE: '1'
44-
XLINGS_VERSION: '2026.10.19.1'
44+
XLINGS_VERSION: '2026.10.24.1'
4545
steps:
4646
- uses: actions/checkout@v4
4747

@@ -50,7 +50,7 @@ jobs:
5050
shell: bash
5151
run: |
5252
set -euo pipefail
53-
curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s v2026.10.19.1
53+
curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s v2026.10.24.1
5454
echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH"
5555
echo "$HOME/.xlings/bin" >> "$GITHUB_PATH"
5656
@@ -124,7 +124,7 @@ jobs:
124124
shell: bash
125125
run: |
126126
set -euo pipefail
127-
curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s v2026.10.19.1
127+
curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s v2026.10.24.1
128128
echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH"
129129
130130
- name: Install the newest release and build the tree with it (mcpp build --strict)

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ jobs:
161161
env:
162162
XLINGS_NON_INTERACTIVE: '1'
163163
run: |
164-
curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s v2026.10.19.1
164+
curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s v2026.10.24.1
165165
echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH"
166166
167167
- name: Install mcpp and config mirror
@@ -324,7 +324,7 @@ jobs:
324324

325325
- name: Install xlings + mcpp
326326
run: |
327-
curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s v2026.10.19.1
327+
curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s v2026.10.24.1
328328
# Deliberately NOT writing to $GITHUB_PATH here. On container
329329
# images that declare no PATH in their config (opensuse/
330330
# tumbleweed), appending a single dir to GITHUB_PATH makes the
@@ -473,7 +473,7 @@ jobs:
473473
# (older ones carry minos=15 and refuse to start).
474474
# v0.4.51+: in-process sha256 — this image has no sha256sum
475475
# binary, so pinned fetches failed before it.
476-
curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s v2026.10.19.1
476+
curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s v2026.10.24.1
477477
echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH"
478478
479479
- name: Install mcpp and config mirror

‎.github/workflows/ci-linux-e2e.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ jobs:
414414
415415
- name: Bootstrap xlings + released mcpp
416416
run: |
417-
curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s v2026.10.19.1
417+
curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s v2026.10.24.1
418418
export PATH="$HOME/.xlings/subos/current/bin:$PATH"
419419
xlings update
420420
xlings install mcpp -y -g

‎.github/workflows/cross-build-test.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
# release assets were uploaded in a broken state (records present,
132132
# blobs missing → 404 on GET); re-uploaded clean. The stale-INDEX
133133
# half is handled by the marker-clear below.
134-
XLINGS_VERSION: '2026.10.19.1'
134+
XLINGS_VERSION: '2026.10.24.1'
135135
run: |
136136
tarball="xlings-${XLINGS_VERSION}-linux-x86_64.tar.gz"
137137
bash "$GITHUB_WORKSPACE/.github/tools/fetch_release.sh" \
@@ -323,7 +323,7 @@ jobs:
323323
- name: Bootstrap mcpp via xlings
324324
env:
325325
XLINGS_NON_INTERACTIVE: '1'
326-
XLINGS_VERSION: '2026.10.19.1'
326+
XLINGS_VERSION: '2026.10.24.1'
327327
run: |
328328
tarball="xlings-${XLINGS_VERSION}-linux-x86_64.tar.gz"
329329
bash "$GITHUB_WORKSPACE/.github/tools/fetch_release.sh" \

‎.github/workflows/release.yml‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
# Pin xlings to a known-good version. The upstream install
105105
# script always grabs `latest` (no version override), so we
106106
# download + self-install manually to avoid broken releases.
107-
XLINGS_VERSION: '2026.10.19.1'
107+
XLINGS_VERSION: '2026.10.24.1'
108108
run: |
109109
# BY VERSION, NOT BY PRESENCE. A restored ~/.xlings holds the
110110
# xlings of an earlier release, and this binary is the one the
@@ -332,7 +332,7 @@ jobs:
332332
- name: Bootstrap mcpp via xlings
333333
env:
334334
XLINGS_NON_INTERACTIVE: '1'
335-
XLINGS_VERSION: '2026.10.19.1'
335+
XLINGS_VERSION: '2026.10.24.1'
336336
run: |
337337
tarball="xlings-${XLINGS_VERSION}-linux-x86_64.tar.gz"
338338
bash "$GITHUB_WORKSPACE/.github/tools/fetch_release.sh" \
@@ -403,7 +403,7 @@ jobs:
403403
# below are pinned to the same version as XLINGS_VERSION; they are
404404
# NOT interpolated from it, so check_version_pins.sh scans for them
405405
# explicitly (they were absent from the old lock-step comment).
406-
XLA="xlings-2026.10.19.1-linux-aarch64.tar.gz"
406+
XLA="xlings-2026.10.24.1-linux-aarch64.tar.gz"
407407
# NOT fetch_release.sh: this asset is OPTIONAL and the `if` is the
408408
# point — an arch with no prebuilt xlings must fall through quietly,
409409
# while the helper retries a 404 five times before giving up. The one
@@ -412,9 +412,9 @@ jobs:
412412
# cover it.
413413
if curl -fsSL --retry 3 --retry-delay 2 --retry-all-errors \
414414
--connect-timeout 20 --max-time 600 -o "/tmp/$XLA" \
415-
"https://github.com/openxlings/xlings/releases/download/v2026.10.19.1/$XLA"; then
415+
"https://github.com/openxlings/xlings/releases/download/v2026.10.24.1/$XLA"; then
416416
tar -xzf "/tmp/$XLA" -C /tmp
417-
XLBIN=$(find /tmp/xlings-2026.10.19.1-linux-aarch64 -path '*/bin/xlings' -type f | head -1)
417+
XLBIN=$(find /tmp/xlings-2026.10.24.1-linux-aarch64 -path '*/bin/xlings' -type f | head -1)
418418
if [ -n "$XLBIN" ]; then
419419
mkdir -p "$STAGING/$WRAPPER/registry/bin"
420420
cp "$XLBIN" "$STAGING/$WRAPPER/registry/bin/xlings"
@@ -492,7 +492,7 @@ jobs:
492492
- name: Bootstrap mcpp via xlings
493493
env:
494494
XLINGS_NON_INTERACTIVE: '1'
495-
XLINGS_VERSION: '2026.10.19.1'
495+
XLINGS_VERSION: '2026.10.24.1'
496496
run: |
497497
# By version, not by presence (see the Linux job).
498498
have=$("$HOME/.xlings/subos/default/bin/xlings" --version 2>/dev/null | awk '{print $2}')
@@ -682,7 +682,7 @@ jobs:
682682
shell: bash
683683
env:
684684
XLINGS_NON_INTERACTIVE: '1'
685-
XLINGS_VERSION: '2026.10.19.1'
685+
XLINGS_VERSION: '2026.10.24.1'
686686
run: |
687687
# Captured before the `cd` below, in POSIX form: this step never
688688
# returns to the workspace, and GITHUB_WORKSPACE is a backslash

‎CHANGELOG.md‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
> Each `## [<version>]` section is that release's notes. Entries are written in English
55
> from 2026.9.28.3 on; earlier entries remain as written.
66

7-
## [2026.10.23.1] - 2026-10-23
7+
## [2026.10.24.1] - 2026-10-24
88

99
### Added
1010

@@ -58,6 +58,12 @@
5858
false` under the profile to keep the previous artifact; the first shipping
5959
build after the upgrade says so once. Both profiles rebuild once; `dev` does
6060
not.
61+
- Bundle xlings 2026.10.24.1 and raise the vendored floor to it: a script
62+
package's alias quotes its path, so its hook loads under a home whose path
63+
holds a space (openxlings/xlings#699, mcpp#832).
64+
- The getting-started guide, the features page and the usage skill describe
65+
package-owned project templates and the `mcpplibs.mwrap` adapter convention
66+
(mcpp#835, #836).
6167

6268
### Fixed
6369

0 commit comments

Comments
 (0)