Bug#897176: Package erroneously expects googletest headers in /usr/include
Steve M. Robbins
smr at debian.org
Sun Apr 29 13:48:53 BST 2018
Package: src:cctz
Severity: serious
Justification: fails to build from source (but built successfully in the past)
control: block 897104 by -1
Hi,
The googletest package provides full sources -- including header files
-- in /usr/src/googletest. Prior to version 1.8.0-9, a second copy of
the headers was mistakenly installed into /usr/include.
Your package relies on this behaviour and now fails to build since
googletest version 1.8.0-9 no longer installs the duplicate header
files.
I can suggest three alternative approaches to fix this.
1. Modify the build to look for headers in /usr/src/googletest.
2. Change to using pre-build libraries, in which case you would switch
build-dependencies to libgtest-dev and libgmock-dev rather than using
googletest.
3. Add build-dependency on libgtest-dev to ensure the headers are
located in /usr/include as before. If gmock is used, then add a
dependency on libgmock-dev as well.
-Steve
More information about the debian-science-maintainers
mailing list