Package: src:flightcrew
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Subject: Package erroneously expects googletest headers in /usr/include
Package: apt
Version: 1.6.1
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

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to