feat(xpkg): 0.0.49 - #156
Merged
Merged
Conversation
Dependency version ranges in a recipe were joined as directory names, so a consumer's RUNPATH and its INTERP could come from different versions of the same package — a binary that segfaults before main with no diagnostic. See openxlings/libxpkg#33. Published to both mirrors and verified byte-identical.
Sunrisepeak
added a commit
that referenced
this pull request
Aug 5, 2026
…ry (#160) `mcpplibs.xpkg@0.0.48` stopped resolving — openxlings/xlings#486. The index file parses as valid Lua, which is why nothing caught it: the damage is semantic, not syntactic. 0.0.49's entry lost its `sha256` line and its closing brace, so every entry below it became a FIELD OF 0.0.49 rather than a sibling: ["0.0.49"] = { url = { ... }, ["0.0.48"] = { ... }, <- nested ["0.0.47"] = { ... }, <- nested sha256 = "45f23...", <- 0.0.49's, orphaned down here }, Lua reads that happily. `xlings info mcpplibs:xpkg` then listed 0.0.50, 0.0.49, 0.0.46, 0.0.45 — with 0.0.47 and 0.0.48 simply absent, and absent reads exactly like never published. Mine, from #156: the reorder that moved 0.0.49 to the top of the list used a non-greedy regex, which stopped at the closing brace of the nested `url` table instead of the entry's own. Half the entry moved; the tail stayed. Verified by parsing the file with lua5.4 and enumerating the keys — 9 versions before, 11 after. A structural check is the only thing that would have caught this, since every text-level check passes.
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.
libxpkg 0.0.49 — a dependency's version range was joined as a directory name, so a consumer's RUNPATH and INTERP could come from different versions of the same package. With two glibc versions in one home that produces a binary which segfaults before
mainwith no diagnostic. See openxlings/libxpkg#33.Both mirrors verified byte-identical.