> CMake Error at CMakeLists.txt:228 (add_subdirectory): > add_subdirectory given source "thirdparty/snappy" which is not an existing > directory. Presumably the cmake files need to be patched to remove the add_subdirectory since we're linking with an external libsnappy? FWIW, I'm trying to build with USE="cli egl -qt4" ABI_X86="32 64"
Funny thing, apitrace-4.0-system-libs.patch removes the add_subdirectory, then apitrace-4.0-glxtrace-only.patch adds it back. Removing the second chunk of the glx patch allowed me to build it successfuly. Though, I only tried with the gui tool enabled.
should be all set now in the tree; thanks for the report! Commit message: Do not re-add snappy subdir for lib-only builds http://sources.gentoo.org/dev-util/apitrace/files/apitrace-4.0-glxtrace-only.patch?r1=1.1&r2=1.2