Bug#831074: How to fix the ompl FTBFS
Adrian Bunk
bunk at stusta.de
Sun Aug 21 15:28:27 UTC 2016
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
More information about the debian-science-maintainers
mailing list