What broke the build of geoip is that gcc 6 changed the default 
C++ standard from C++98 to C++14.

Note that this just changed the default, when told to process C++98 code 
gcc 6 does not differ in any significant way from gcc 5.

Not all valid C++98 code is also valid C++11 and C++14 code.

ompl 1.1.0 does not seem to be valid C++11 code (but according to the 
upstream changelog ompl >= 1.2.0 does require a C++11 compiler).

There are at least two solutions for this FTBFS:

I have confirmed that upstream 1.2.1 builds in unstable (manual build 
without Debian packaging), so fixing #835030 should also fix the FTBFS.

If updating ompl is not easily possible for some reason, I have 
confirmed that building works when telling gcc that this is C++98
code by adding the follosing to debian/rules:
  export DEB_CXXFLAGS_MAINT_APPEND = -std=gnu++98

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to