Confirmed. I noticed this when backporting Mir to trusty. Only having a dependency on gmock is insufficient. You need to remember gtest too.
** Changed in: google-mock (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of DX Packages, which is subscribed to google-mock in Ubuntu. https://bugs.launchpad.net/bugs/1272017 Title: gmock has a hidden dependency on gtest Status in google-mock package in Ubuntu: Confirmed Bug description: When compiling with gmock the following code from gmock-port.h refers to files only installed by gtest: // Most of the types needed for porting Google Mock are also required // for Google Test and are defined in gtest-port.h. #include "gtest/internal/gtest-linked_ptr.h" #include "gtest/internal/gtest-port.h" The gmock package should be updated to depend upon on libgtest. ProblemType: Bug DistroRelease: Ubuntu 13.10 Package: google-mock 1.6.0+svn437-0ubuntu5 ProcVersionSignature: Ubuntu 3.11.0-15.23-generic 3.11.10 Uname: Linux 3.11.0-15-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.12.5-0ubuntu2.2 Architecture: amd64 Date: Thu Jan 23 17:44:36 2014 Dependencies: InstallationDate: Installed on 2011-06-01 (966 days ago) InstallationMedia: Xubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427) MarkForUpload: True SourcePackage: google-mock UpgradeStatus: Upgraded to saucy on 2014-01-04 (18 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/google-mock/+bug/1272017/+subscriptions -- Mailing list: https://launchpad.net/~dx-packages Post to : dx-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~dx-packages More help : https://help.launchpad.net/ListHelp