Summary: | media-libs/mesa - libxml2 python check should use --host-root | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | James Le Cuirot <chewi> |
Component: | [OLD] Library | Assignee: | Matt Turner <mattst88> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | x11 |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | mesa-python-check-deps.patch |
Thanks, that's a good idea. I've applied the patch to mesa-9.2.5, mesa-10.0.2, and mesa-9999 (in the x11-overlay). Thanks! |
Created attachment 368698 [details, diff] mesa-python-check-deps.patch When building in a ROOT, libxml2 does not get installed to ROOT because it is only in DEPEND. has_version checks ROOT by default so python_check_deps fails even though DEPEND is satisfied. libxml2 (and Python) really is a host build dependency so adding --host-root to the has_version call fixes the check and allows Mesa to build, even when cross-compiling. Note that python_check_deps already checks for Python itself in / and not ROOT because it wouldn't make sense to execute the Python located in ROOT. See attached patch.