While debugging a build problem, I discovered this curious fact: The libvirt configure script checks for the existence of a directory called .git, and if so it: - enables building the test suite - adds -Werror to the build flags I can sort of see why upstream might think these useful but in the Debian context I don't think I agree. I suggest passing to configure from debian/rules, --with-test-suite --disable-werror Thanks, Ian.
Control: found -1 11.9.0-2 Although the build system has changed since 2016, I just discovered that unfortunately this curious fact has not. The .git-dependent behavior can now be avoided by adding