[Aptitude-devel] Bug#852666: Bug#852666: "Can't figure out where Google Mock lives" although it is installed

Axel Beckert abe at debian.org
Thu Jan 26 09:47:04 UTC 2017


Control: notfound -1 0.8.5
Control: reassign -1 src:aptitude
Control: found -1 0.8.5-1
Control: retitle -1 aptitude: FTBFS with Google Mock releases before 1.8.0

Hi,

thanks for the bug report.

jean-christophe manciot wrote:
> Package: aptitude
> Version: 0.8.5

Debian's BTS uses package versions, not upstream versions. I've
corrected the version accordingly.

> distribution: Ubuntu 16.10 yakkety

I'm not completely sure why this is reported to Debian.

I currently assume that you tried to build Debian's aptitude package
on Ubuntu 16.10. If not, please correct me.

> checking how to link gmock... configure: error: Can't figure out where
> Google Mock lives; either install the google-mock package or place the
> library in the link path
> 
> However:
> =======
> 1) *It is already installed*:
> # apt-cache policy google-mock
> google-mock:
>   Installed: 1.7.0-18092013-2.1

Debian has google-mock 1.8.0 since November 2016 and that version has
changed paths where to find Google Mock. Aptitude was adapted to that
path change with the 0.8.4-1 upload.

So the cause for your issue is likely that this change made aptitude
incompatible with building against google-mock versions before 1.8.0.

This means that we probably should restrict the google-mock
build-dependency to ">= 1.8.0". Will take care of that.

> What could be done to work around this issue?

Probably installing a newer version of google-mock.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the Aptitude-devel mailing list