Description of problem: Fedora 19 only provides gtest-1.6.0, which at least in some instances doesn't work with gmock-1.5.0, which is the only provided gmock in F19. Version-Release number of selected component (if applicable): gtest-0:1.6.0-2.fc19.x86_64 gtest-devel-0:1.6.0-2.fc19.x86_64 gmock-0:1.5.0-3.fc18.x86_64 gmock-devel-0:1.5.0-3.fc18.x86_64 (Note that there is no other version of gmock in F19: <http://koji.fedoraproject.org/koji/buildinfo?buildID=387091>) How reproducible: In my case, always. Steps to Reproduce: 1. Clone amarok from <git://anongit.kde.org/amarok.git>. 2. Build it. 3. Actual results: Building tests fails because gtest-config --version outputs an error message about version mismatch with gmock instead of a version number. Expected results: We should have a matching version of gtest installed. Additional info: I was not able to use gmock-1.6.0 from F20 because this didn't include libgmock and only provided a noarch package. I was able to build gtest-1.5.0 from the F18 spec by adding the -i parameter to autoreconf in the prep phase.
According to upstream documentation, gmock dependencies require a src compilation for it's package with 1.6 & > . I'm not a fan of this policy and reasoning, but alas that is what the recent update requires. Thus you will need to compile /usr/src/gmock/gmock-all.cc into your testing sources. I've verified this is correct, and works on several other packages.