Skip to content

Commit 22ca4e7

Browse files
committed
fix(glx-runtime): deps belong beside the version entries, not inside one
CI: `E_INTERNAL: [glx-runtime] failed:` with an empty message, twice. The `deps = { runtime = { "xim:graphics" } }` had been placed inside the 2026.08.08 version entry. The descriptor parsed, the graphics stack was never installed, the subos therefore had no libGL.so.1, and the install failed on the required-library check -- reporting the library rather than the misplaced key, which is why the message looked like a missing package instead of a typo. Every other recipe in both indexes puts deps at platform level. Moving it there means the legacy 2026.06.03 entry declares it too and pays for a download it does not read; the alternative is deleting a published version, which breaks anyone pinned to it outright.
1 parent c0888a9 commit 22ca4e7

1 file changed

Lines changed: 18 additions & 4 deletions

File tree

pkgs/c/compat.glx-runtime.lua

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,30 @@ package = {
2727
-- pass, because llvmpipe renders one too.
2828
xpm = {
2929
linux = {
30+
-- The whole hermetic graphics stack. A RUNTIME dep, not a build
31+
-- one: nothing here compiles against it, the produced consumer
32+
-- loads it.
33+
--
34+
-- PLATFORM level, beside the version entries rather than inside
35+
-- one. Every other recipe in both indexes places it here, and the
36+
-- first attempt at this change put it inside the 2026.08.08 entry:
37+
-- the descriptor parsed, the stack was never installed, and the
38+
-- install failed on the required-library check -- an error naming
39+
-- libGL.so.1 rather than the misplaced key. Whether a per-version
40+
-- `deps` is rejected or merely unread was not determined; what is
41+
-- established is that it does not take effect.
42+
--
43+
-- It therefore also applies to the legacy 2026.06.03 entry below,
44+
-- which does not use it. That costs a consumer still pinned there
45+
-- a download it will not read, and the alternative -- deleting the
46+
-- published version -- would break them outright.
47+
deps = { runtime = { "xim:graphics" } },
3048
["2026.08.08"] = {
3149
url = {
3250
GLOBAL = "https://raw.githubusercontent.com/KhronosGroup/OpenGL-Registry/a30033d3e812c9bf10094f1010374a6b15e192eb/README.adoc",
3351
CN = "https://gitcode.com/mcpp-res/glx-runtime/releases/download/2026.08.08/glx-runtime-2026.08.08.adoc",
3452
},
3553
sha256 = "ea68efce197e68413ebb62c51ab4bccfb2309a2fca776d31b49d972f59f3640e",
36-
-- The whole hermetic graphics stack. A RUNTIME dep, not a
37-
-- build one: nothing here compiles against it, the produced
38-
-- consumer loads it.
39-
deps = { runtime = { "xim:graphics" } },
4054
},
4155
-- Kept so already-published consumers pinned to it keep resolving.
4256
-- It sources libGL from the HOST and is the configuration behind

0 commit comments

Comments
 (0)