Skip to content

mcpp 2026.8.10.1: host toolchain fixup binds [email protected] but the resolver installs 2.44 — every cross-build lane fails #406

Closed as not planned

Description

@Sunrisepeak

Symptom

Every xlings CI lane that cross-builds now fails, on main as well as on PRs:

Downloading xim:[email protected] [====================] 40.4 MB / 40.4 MB
error: host toolchain post-install fixup: selected RuntimeBinding [email protected] requires payload
'/home/runner/.mcpp/registry/data/xpkgs/xim-x-glibc/2.39', but it is not installed;
mcpp will not fall back to another directory entry

mcpp downloads glibc 2.44 and then binds 2.39, which was never installed.

A/B — it is the mcpp version, not the consumer

openxlings/xlings's xlings-ci-aarch64 job installs the latest mcpp on purpose (xlings install mcpp -y, "deliberately takes the LATEST mcpp, not the pin -- it exists to catch cross-build breakage against the current client"). Re-running the same run id before and after the index bump:

run mcpp installed result
31330886396 @ 2026-08-09T19:09 xim:[email protected] pass
31330886396 re-run @ 2026-08-10T03:41 xim:[email protected] fail, error above

Same commit, same workflow, same runner image. The only difference is which mcpp the index served.

Trigger

  • openxlings/xim-pkgindex#582 (artifact published 2026-08-08T20:22Z) made xim:glibc latest 2.44.
  • openxlings/xim-pkgindex#588 (artifact published 2026-08-10T01:55Z, auto-generated by the mcpp release pipeline) made xim:mcpp latest 2026.8.8.4 → 2026.8.10.1.

The second one is what flipped it. Between those two publishes the aarch64 lane was green.

Also reproduces locally

Building xlings against its xpkg dependency, build.mcpp gets INTERP from glibc 2.39 and RPATH from glibc 2.44:

INTERP  .../xim-x-glibc/2.39/lib64/ld-linux-x86-64.so.2
RPATH   .../xim-x-glibc/2.44/lib64:...
→ symbol lookup error: .../xim-x-glibc/2.44/lib64/libc.so.6:
  undefined symbol: __pointer_chk_guard, version GLIBC_PRIVATE

Verified this is not a consumer-side change by reproducing it against unmodified libxpkg 0.0.55. Temporarily hiding xim-x-glibc/2.44 from the registry makes the build succeed, which confirms the two halves disagree rather than either being wrong on its own.

Impact

Every cross-build lane in openxlings/xlings, on main. It is currently blocking the 2026.8.10.2 release (the fix for openxlings/xlings#524, where cold homes cannot install gcc).

Workaround in place

xlings-ci-aarch64 is being pinned to [email protected] temporarily, with a pointer to this issue. That pin muzzles the canary this job exists to be, so it should come out as soon as this is fixed.

Note on the shape

"Selected 2.39, installed 2.44" is one question with two answerers. Whichever side is authoritative, the other should be derived from it rather than resolved independently — the same failure mode as openxlings/xlings#524 and #481.

Activity

  1. Sunrisepeak commented on Aug 10, 2026

    @Sunrisepeak
    MemberAuthor

    Retracting the framing: this is not an mcpp bug, and the title is wrong. Root cause is on the xlings side.

    select_glibc_payload_lib's exact match, and its refusal to fall back to another directory entry, are correct. Given a truthful subos_info.runtime it does the right thing, and the #392 guard it implements exists precisely because an INTERP from one glibc and a RUNPATH from another faults before main with no diagnostic.

    What was wrong is the record it was reading. The bootstrap xlings pinned in our CI (v2026.8.8.1) stamped subos_info.runtime from a constant when it created the default SubOS — [email protected] on a home that then resolved and installed glibc 2.44 (index latest since openxlings/xim-pkgindex#582). The declaration was false from the moment it was written; mcpp just refused to paper over it, which is what it should do.

    Fixed in openxlings/xlings#528 by bootstrapping with v2026.8.10.1, the first release that declares the version actually active rather than a constant. Verified on an isolated home created by it: declaration [email protected], payload 2.44, farm libc.so.6 → 2.44, and every install through it succeeds.

    The remaining half is also ours and tracked at openxlings/xlings#529: xlings use refuses to activate a runtime the SubOS does not declare, while the install path neither checks nor reconciles it — so the declaration can drift again. A bootstrap that starts out truthful does not make a mutable declaration correct.

    Sorry for the misdirected report. Closing as invalid unless you would rather keep it open as a note that subos_info.runtime is a contract mcpp depends on — I would understand wanting that written down somewhere on your side too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions