A multilib media-libs/mesa-9.2.0-r1 needs a multilib dev-libs/libclc-0.0.1_pre20130819, otherwise the non-default portion of it will fail to configure: Package libclc was not found in the pkg-config search path. Perhaps you should add the directory containing `libclc.pc' to the PKG_CONFIG_PATH environment variable No package 'libclc' found Package libclc was not found in the pkg-config search path. Perhaps you should add the directory containing `libclc.pc' to the PKG_CONFIG_PATH environment variable No package 'libclc' found configure: error: pkg-config cannot use libclc.pc which is required to build clover If you need a build.log, please tell me. I currently assume that the issue is obvious.
libclc has no library at all, so I assume I was wrong about libclc needing to be ported to multilib (unless the headers are platform dependent). Instead it seems that only mesa needs to be adapted to search for the pkg-config file in the right location.
After creating a link to /usr/lib/pkgconfig/libclc.pc in /usr/lib32/pkgconfig, it also compiles fine on my machine.
(In reply to Mario Kicherer from comment #2) > After creating a link to /usr/lib/pkgconfig/libclc.pc in > /usr/lib32/pkgconfig, it also compiles fine on my machine. I confirm that this workaround works. Can it be integrated into the libclc ebuild? Or can the mesa ebuild add a temporary directory (including such symlink) to the PKG_CONFIG_PATH used during its configure phase?
Same issue here. The libclc.pc file is searched in /usr/share/pkgconfig (on amd64) but can be found in /usr/lib/pkgconfig (dev-libs/libclc-0.0.1_pre20130819). Adding a PKG_CONFIG_PATH=/usr/lib/pkgconfig above the econf in the ebuild did resolve the issue for me. I think there is a nicer way how to do it, unfortunately I don't know how.
*libclc-0.0.1_pre20130819-r1 (13 Oct 2013) 13 Oct 2013; Michał Górny <mgorny@gentoo.org> +libclc-0.0.1_pre20130819-r1.ebuild, -libclc-0.0.1_pre20130819.ebuild: Fix pkg-config file install to use /usr/share (current git does that already).