Created attachment 371582 [details, diff] libxcb-python-check-deps.patch Continuing from bug #472224 and in the same manner as bug #499234... When building in a ROOT, xcb-proto 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. xcb-proto (and Python) really is a host build dependency so adding --host-root to the has_version call fixes the check and allows libxcb 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.
*** Bug 503830 has been marked as a duplicate of this bug. ***
-9999 fixed... [master 3580394] x11-libs/libxcb: Fix finding Python when building in a root, bug #503228. Patch by James Le Cuirot. 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 x11-libs/libxcb/Manifest
+ 29 Jul 2014; Michał Górny <mgorny@gentoo.org> libxcb-1.10.ebuild, + libxcb-1.9.3-r1.ebuild: + Fix finding Python when building in a root, bug #503228. Patch by James Le + Cuirot.