[Debian-med-packaging] Bug#938472: Autoconf detection of libsparsehash-dev fails in sga (Was: Bug#938472: sga: Python2 removal in sid/bullseye)

Yavor Doganov yavor at gnu.org
Fri Sep 13 16:55:05 BST 2019


Andreas Tille wrote:
> The configure faulure is rather:
> 
> checking google/sparse_hash_set usability... no
> checking google/sparse_hash_set presence... yes
> configure: WARNING: google/sparse_hash_set: present but cannot be compiled

> +export DEB_CXXFLAGS_MAINT_APPEND=-std=c++98

The problem is exactly the opposite -- configure.ac is enforcing c++98
while these headers assume a newer standard.  The configure check
should pass if you remove this line in configure.ac:

| AC_SUBST(CXXFLAGS, "-std=c++98 -O3")

However, you may encounter compilation errors if the software is not
yet ready for GCC's default C++ standard.



More information about the Debian-med-packaging mailing list