Bug#778115: sflphone: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:36:47 UTC 2015


Package: src:sflphone
Version: 1.4.1-0.1
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/sflphone_1.4.1-0.1_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
In file included from /usr/include/c++/5/string:43:0,
                 from /usr/include/c++/5/stdexcept:39,
                 from /«PKGBUILDDIR»/daemon/src/voiplink.h:37,
                 from sipvoiplink.h:43,
                 from sipvoiplink.cpp:34:
/usr/include/c++/5/bits/localefwd.h:127:11: note:   'std::ctype'
     class ctype;
           ^
In file included from /usr/include/c++/5/bits/basic_ios.h:37:0,
                 from /usr/include/c++/5/ios:44,
                 from /usr/include/c++/5/ostream:38,
                 from /usr/include/c++/5/iostream:39,
                 from /usr/include/commoncpp/config.h:51,
                 from /usr/include/ccrtp/base.h:42,
                 from /usr/include/ccrtp/channel.h:41,
                 from /«PKGBUILDDIR»/daemon/src/ip_utils.h:36,
                 from sipaccount.h:45,
                 from sipvoiplink.h:44,
                 from sipvoiplink.cpp:34:
/usr/include/c++/5/bits/locale_facets.h:2646:36: error: expected primary-expression before '>' token
     { return use_facet<ctype<_CharT> >(__loc).tolower(__c); }
                                    ^
/usr/include/c++/5/bits/locale_facets.h:2646:38: error: expected primary-expression before '>' token
     { return use_facet<ctype<_CharT> >(__loc).tolower(__c); }
                                      ^
/usr/include/c++/5/bits/locale_facets.h:2646:47: error: request for member 'tolower' in '__loc', which is of non-class type 'const int'
     { return use_facet<ctype<_CharT> >(__loc).tolower(__c); }
                                               ^
/usr/include/c++/5/bits/locale_facets.h: At global scope:
/usr/include/c++/5/bits/locale_facets.h:2649:1: error: expected declaration before '}' token
 } // namespace std
 ^
make[5]: *** [libsiplink_la-sipvoiplink.lo] Error 1
Makefile:573: recipe for target 'libsiplink_la-sipvoiplink.lo' failed
make[5]: Leaving directory '/«PKGBUILDDIR»/daemon/src/sip'
make[4]: *** [all-recursive] Error 1
Makefile:742: recipe for target 'all-recursive' failed
make[4]: Leaving directory '/«PKGBUILDDIR»/daemon/src'
make[3]: *** [all-recursive] Error 1
Makefile:503: recipe for target 'all-recursive' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/daemon'
make[2]: *** [all] Error 2
Makefile:433: recipe for target 'all' failed
make[2]: Leaving directory '/«PKGBUILDDIR»/daemon'
make[1]: *** [override_dh_auto_build] Error 2
debian/rules:24: recipe for target 'override_dh_auto_build' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
debian/rules:9: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-voip-maintainers mailing list