Package: resiprocate Version: 1:1.10.1-2 Severity: important User: [email protected] Usertags: ftbfs-gcc-6
This package fails to build with GCC 6. GCC 6 has not been released yet, but it's expected that GCC 6 will become the default compiler for stretch. Note that only the first error is reported; there might be more. You can find a snapshot of GCC 6 in experimental. To build with GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly. You may be able to find out more about this issue at https://gcc.gnu.org/gcc-6/changes.html > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux ... > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -I/usr/include/sipxtapi -D__pingtel_on_posix__ -D_linux_ > -D_REENTRANT -D_FILE_OFFS -DDEFAULT_BRIDGE_MAX_IN_OUTPUTS=20 > -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS > -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT > -DRESIP_TOOLCHAIN_GNU -I .. -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -fpermissive -I/usr/include/postgresql -Wall > -Wno-deprecated -c SelectInterruptor.cxx -fPIE -o SelectInterruptor.o > >/dev/null 2>&1 > In file included from ../rutil/Data.hxx:13:0, > from ../rutil/Log.hxx:4, > from ../rutil/SysLogBuf.hxx:12, > from SysLogStream.cxx:1: > ../rutil/compat.hxx: In function 'const _Tp& resip::resipMin(const _Tp&, > const _Tp&)': > ../rutil/compat.hxx:187:31: warning: statement is indented as if it were > guarded by... [-Wmisleading-indentation] > if (__b < __a) return __b; return __a; > ^~~~~~ > > ../rutil/compat.hxx:187:4: note: ...this 'if' clause, but it is not > if (__b < __a) return __b; return __a; > ^~ > > ../rutil/compat.hxx: In function 'const _Tp& resip::resipMax(const _Tp&, > const _Tp&)': > ../rutil/compat.hxx:194:31: warning: statement is indented as if it were > guarded by... [-Wmisleading-indentation] > if (__a < __b) return __b; return __a; > ^~~~~~ > > ../rutil/compat.hxx:194:4: note: ...this 'if' clause, but it is not > if (__a < __b) return __b; return __a; > ^~ > > Data.cxx: At global scope: > Data.cxx:760:50: error: 'bool resip::operator<(const resip::Data&, const > resip::Data&)' should have been declared inside 'resip' > resip::operator<(const Data& lhs, const Data& rhs) > ^ -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

