Skip to content

Commit 38d0832

Browse files
committed
fix(glib): re-cut 2.82.5 — gmoduleconf.h goes flat
CI failed on a fresh extraction with gmodule.c:52: fatal error: gmoduleconf.h: No such file or directory while every warm tree passed — the signature of the trap this fork already documents for `include/` itself. mcpp builds the compiler command line from `include_dirs` BEFORE running the build program and SILENTLY DROPS an entry naming a directory that does not exist yet. `include/.gitkeep` makes `include/` exist; it does not make `include/gmodule/` exist, and that was the entry gmodule needed. Writing gmoduleconf.h flat removes the entry and the problem together. Fork CI green on both toolchains; the three examples pass here against the re-cut release. CN container moves to 2.82.5-1: gitcode will not replace an asset of the same name.
1 parent 288a4fe commit 38d0832

3 files changed

Lines changed: 24 additions & 6 deletions

File tree

‎pkgs/g/gnome.glib.lua‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,15 @@ package = {
8282
["2.82.5"] = {
8383
url = {
8484
GLOBAL = "https://github.com/mcpplibs/glib/archive/refs/tags/2.82.5.tar.gz",
85-
CN = "https://gitcode.com/mcpp-res/glib/releases/download/2.82.5/glib-2.82.5.tar.gz",
85+
-- ⚠️ The container tag is `2.82.5-1`, not `2.82.5`. The fork's
86+
-- tag was re-cut once while this descriptor was still
87+
-- unpublished — safe only because nothing had extracted it
88+
-- yet — and gitcode refuses to REPLACE an asset of the same
89+
-- name in an existing release. Verified: this URL's sha256
90+
-- equals the GLOBAL tarball's.
91+
CN = "https://gitcode.com/mcpp-res/glib/releases/download/2.82.5-1/glib-2.82.5.tar.gz",
8692
},
87-
sha256 = "ea18347c494e6df76cfce4838473b0d53992e670499d5714342829b22c92c308",
93+
sha256 = "98118dacf3ebc9d5aefba340e9248385f1643b76ca672b864c37a3e4fb71caf6",
8894
},
8995
},
9096
},

‎pkgs/g/gnome.gmodule.lua‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,15 @@ package = {
8282
["2.82.5"] = {
8383
url = {
8484
GLOBAL = "https://github.com/mcpplibs/glib/archive/refs/tags/2.82.5.tar.gz",
85-
CN = "https://gitcode.com/mcpp-res/glib/releases/download/2.82.5/glib-2.82.5.tar.gz",
85+
-- ⚠️ The container tag is `2.82.5-1`, not `2.82.5`. The fork's
86+
-- tag was re-cut once while this descriptor was still
87+
-- unpublished — safe only because nothing had extracted it
88+
-- yet — and gitcode refuses to REPLACE an asset of the same
89+
-- name in an existing release. Verified: this URL's sha256
90+
-- equals the GLOBAL tarball's.
91+
CN = "https://gitcode.com/mcpp-res/glib/releases/download/2.82.5-1/glib-2.82.5.tar.gz",
8692
},
87-
sha256 = "ea18347c494e6df76cfce4838473b0d53992e670499d5714342829b22c92c308",
93+
sha256 = "98118dacf3ebc9d5aefba340e9248385f1643b76ca672b864c37a3e4fb71caf6",
8894
},
8995
},
9096
},

‎pkgs/g/gnome.gobject.lua‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,15 @@ package = {
8282
["2.82.5"] = {
8383
url = {
8484
GLOBAL = "https://github.com/mcpplibs/glib/archive/refs/tags/2.82.5.tar.gz",
85-
CN = "https://gitcode.com/mcpp-res/glib/releases/download/2.82.5/glib-2.82.5.tar.gz",
85+
-- ⚠️ The container tag is `2.82.5-1`, not `2.82.5`. The fork's
86+
-- tag was re-cut once while this descriptor was still
87+
-- unpublished — safe only because nothing had extracted it
88+
-- yet — and gitcode refuses to REPLACE an asset of the same
89+
-- name in an existing release. Verified: this URL's sha256
90+
-- equals the GLOBAL tarball's.
91+
CN = "https://gitcode.com/mcpp-res/glib/releases/download/2.82.5-1/glib-2.82.5.tar.gz",
8692
},
87-
sha256 = "ea18347c494e6df76cfce4838473b0d53992e670499d5714342829b22c92c308",
93+
sha256 = "98118dacf3ebc9d5aefba340e9248385f1643b76ca672b864c37a3e4fb71caf6",
8894
},
8995
},
9096
},

0 commit comments

Comments
 (0)