[Debian-med-packaging] Bug#891335: clonalframe: FTBFS with glibc 2.27: error: 'UNDERFLOW' was not declared in this scope

Andreas Tille tille at debian.org
Wed Feb 28 09:03:28 UTC 2018


Control: tags -1 help

Hi Aurelien,

On Sat, Feb 24, 2018 at 05:52:42PM +0100, Aurelien Jarno wrote:
> | src/util.cpp: In static member function 'static double wb::Util::lBinoProb(int, int, double)':
> | src/util.cpp:109:36: error: 'UNDERFLOW' was not declared in this scope
> |                  if (runningtotal < UNDERFLOW)
> |                                     ^~~~~~~~~
> | src/util.cpp:109:36: note: suggested alternative: 'EOVERFLOW'
> |                  if (runningtotal < UNDERFLOW)
> |                                     ^~~~~~~~~
> |                                     EOVERFLOW
> | src/util.cpp:118:36: error: 'OVERFLOW' was not declared in this scope
> |                  if (runningtotal > OVERFLOW)
> |                                     ^~~~~~~~
> | src/util.cpp:118:36: note: suggested alternative: 'EOVERFLOW'
> |                  if (runningtotal > OVERFLOW)
> |                                     ^~~~~~~~
> |                                     EOVERFLOW
> | src/util.cpp:130:36: error: 'UNDERFLOW' was not declared in this scope
> |                  if (runningtotal < UNDERFLOW)
> |                                     ^~~~~~~~~
> | src/util.cpp:130:36: note: suggested alternative: 'EOVERFLOW'
> |                  if (runningtotal < UNDERFLOW)
> |                                     ^~~~~~~~~
> |                                     EOVERFLOW
> | src/util.cpp:139:36: error: 'OVERFLOW' was not declared in this scope
> |                  if (runningtotal > OVERFLOW)
> |                                     ^~~~~~~~
> | src/util.cpp:139:36: note: suggested alternative: 'EOVERFLOW'
> |                  if (runningtotal > OVERFLOW)
> |                                     ^~~~~~~~
> |                                     EOVERFLOW
> ...
> Starting with glibc 2.27, support for SVID error handling has been
> removed, including the corresponding constants. This causes this
> package to FTBFS.

While there is some suggested alternative I need to admit that I need
more precise advise which I also did not found in a web search (probably
its me to seek for the wrong keywords).  Can you give an example for a
correct replacement of 

   if (runningtotal < UNDERFLOW)

and 

   if (runningtotal > OVERFLOW)

?

Thanks a lot

    Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list