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

Aurelien Jarno aurel32 at debian.org
Sat Feb 24 16:52:42 UTC 2018


Package: clonalframe
Version: 1.2-7
Severity: important
User: debian-glibc at lists.debian.org
Usertags: 2.27

clonalframe 1.2-7 fails to build with glibc 2.27 (2.27-0experimental0
from experimental):

| g++ -c -pipe -W -Wall -O3 -static -DHAVE_INLINE -DGSL_RANGE_CHECK_OFF -Isrc -O2 -Wall -W -fPIC  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o build/util.o src/util.cpp
| src/util.cpp: In static member function 'static void wb::Util::normalize(double*, int)':
| src/util.cpp:83:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|          for (unsigned int i=0;i<size;i++) sum+=v[i];
|                                ~^~~~~
| src/util.cpp:85:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|          for (unsigned int i=0;i<size;i++) v[i]/=sum;
|                                ~^~~~~
| 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
| Makefile:614: recipe for target 'build/util.o' failed
| make[2]: *** [build/util.o] Error 1
| make[2]: Leaving directory '/<<PKGBUILDDIR>>'
| debian/rules:21: recipe for target 'override_dh_auto_build' failed
| make[1]: *** [override_dh_auto_build] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| debian/rules:14: recipe for target 'build-arch' failed
| make: *** [build-arch] Error 2
| dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2

A full build log is available there:
http://aws-logs.debian.net/2018/02/07/glibc-exp/clonalframe_1.2-7_unstable_glibc-exp.log

Starting with glibc 2.27, support for SVID error handling has been
removed, including the corresponding constants. This causes this
package to FTBFS.



More information about the Debian-med-packaging mailing list