When cross-fix-root munges the .pc files in SYSROOT, it does so in a way that causes problems. The original line is: prefix=/usr which is changes to: prefix='/usr/armv6j-gentoo-linux-gnueabi/usr' Most of the time this works. In other cases, you get something like this: -rw-r--r-- 1 root root 2540 Jan 6 21:28 /usr/armv6j-gentoo-linux-gnueabi/'/usr/armv6j-gentoo-linux-gnueabi/usr'/include/xorg/evdev-properties.h
you need to post real details
What more do you need? I think the problem and problem is pretty clear.
i see no bug in what cross-fix-root is doing and you have yet to name an exact package or .pc file or packages being affected indirectly for me to review
The package that installed that file was x11-drivers/xf86-input-evdev-2.3.2. I'm not sure which .pc files caused the problem, since cross-fix-root modifies all of them.
the issue is that x11-drivers/xf86-input-evdev relies on xorg-server.pc for the sdkdir, and changing prefix= for CFLAGS/LDFLAGS caused the sdkdir to change as well. we can probably switch to PKG_CONFIG_SYSROOT_DIR which was added to the latest version (0.23) which should avoid having to modify any variables.
sadly, pkg-config has some horrible bugs in PKG_CONFIG_SYSROOT_DIR which makes it effectively useless. apparently it was fixed upstream, but i cant figure out the bazaar repo to find it. https://bugs.freedesktop.org/show_bug.cgi?id=16905
should be fixed in git http://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commitdiff;h=8b3391ee4540c4ee139a29f077142e550c9bdb5b
What does that change actually do?
hmm, forgot to `git push`
That makes a lot more sense. Your link didn't work, so I just looked at the commitdiff of the last commit on the repo.