Files
RedBear-OS/recipes/libs/libxml2/recipe.toml
T
vasilito 35e28dd37a clang21/libxml2: fix cross-build tablegen path + missing libiconv dep
clang21 (recipes/dev/clang21): the cross build (redox target) references
${COOKBOOK_HOST_SYSROOT}/bin/clang-tblgen and .../llvm-tblgen to generate the
*.inc sources, but cookbook does not export COOKBOOK_HOST_SYSROOT, so the paths
collapsed to /bin/clang-tblgen and ninja died: "'/bin/clang-tblgen' ... missing
and no known rule to make it". Point COOKBOOK_HOST_SYSROOT at the redoxer
toolchain, which ships host-runnable clang-tblgen/llvm-tblgen (LLVM 21.1.2) —
the same way the mesa recipe sets it.

libxml2 (recipes/libs/libxml2): declare the libiconv dependency. libxml2 2.15.x
requires iconv and its configure aborts "libiconv not found"; a libiconv recipe
exists but was never built because nothing depended on it.

Both are base recipes (not the operator's dirty mesa/kf6/libclc source WIP).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-26 00:18:39 +09:00

29 lines
683 B
TOML

[package]
name = "libxml2"
version = "2.15.3"
[source]
tar = "https://gitlab.gnome.org/GNOME/libxml2/-/archive/v2.15.3/libxml2-v2.15.3.tar.bz2"
blake3 = "03c5284cd7fe6b524f9b69d3d7e42fd6f0226d1873eefbba1e485fe045024423"
script = """
autotools_recursive_regenerate
"""
[build]
template = "custom"
dependencies = [
# libxml2 2.15.x requires iconv; its configure aborts with "libiconv not
# found" without it staged into the sysroot. A libiconv recipe exists but
# was not being built because nothing declared the dependency.
"libiconv",
"xz",
"zlib"
]
script = """
DYNAMIC_STATIC_INIT
COOKBOOK_CONFIGURE_FLAGS+=(
--without-python
)
cookbook_configure
"""