Bug#778103: reconserver: ftbfs with GCC-5

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


Package: src:reconserver
Version: 0.10.3-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/reconserver_0.10.3-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

[...]
                 from B2BCallManager.hxx:10,
                 from B2BCallManager.cxx:2:
/usr/include/c++/5/backward/auto_ptr.h:260:7: note: candidate: std::auto_ptr<_Tp>::auto_ptr(std::auto_ptr_ref<_Tp>) [with _Tp = resip::ExtensionHeader]
       auto_ptr(auto_ptr_ref<element_type> __ref) throw()
       ^
/usr/include/c++/5/backward/auto_ptr.h:260:7: note:   no known conversion for argument 1 from 'const std::auto_ptr<resip::ExtensionHeader>' to 'std::auto_ptr_ref<resip::ExtensionHeader>'
/usr/include/c++/5/backward/auto_ptr.h:125:9: note: candidate: template<class _Tp1> std::auto_ptr<_Tp>::auto_ptr(std::auto_ptr<_Tp1>&)
         auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { }
         ^
/usr/include/c++/5/backward/auto_ptr.h:125:9: note:   template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:33:0,
                 from /usr/include/c++/5/bits/allocator.h:46,
                 from /usr/include/c++/5/memory:63,
                 from B2BCallManager.hxx:10,
                 from B2BCallManager.cxx:2:
/usr/include/c++/5/ext/new_allocator.h:130:9: note:   types 'std::auto_ptr<T>' and 'const std::auto_ptr<resip::ExtensionHeader>' have incompatible cv-qualifiers
       { ::new((void *)__p) _Tp(__val); }
         ^
In file included from /usr/include/c++/5/memory:88:0,
                 from B2BCallManager.hxx:10,
                 from B2BCallManager.cxx:2:
/usr/include/c++/5/backward/auto_ptr.h:112:7: note: candidate: std::auto_ptr<_Tp>::auto_ptr(std::auto_ptr<_Tp>&) [with _Tp = resip::ExtensionHeader] <near match>
       auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { }
       ^
/usr/include/c++/5/backward/auto_ptr.h:112:7: note:   conversion of argument 1 would be ill-formed:
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:33:0,
                 from /usr/include/c++/5/bits/allocator.h:46,
                 from /usr/include/c++/5/memory:63,
                 from B2BCallManager.hxx:10,
                 from B2BCallManager.cxx:2:
/usr/include/c++/5/ext/new_allocator.h:130:9: error: binding 'const std::auto_ptr<resip::ExtensionHeader>' to reference of type 'std::auto_ptr<resip::ExtensionHeader>&' discards qualifiers
       { ::new((void *)__p) _Tp(__val); }
         ^
In file included from /usr/include/c++/5/memory:88:0,
                 from B2BCallManager.hxx:10,
                 from B2BCallManager.cxx:2:
/usr/include/c++/5/backward/auto_ptr.h:103:7: note: candidate: std::auto_ptr<_Tp>::auto_ptr(std::auto_ptr<_Tp>::element_type*) [with _Tp = resip::ExtensionHeader; std::auto_ptr<_Tp>::element_type = resip::ExtensionHeader]
       auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { }
       ^
/usr/include/c++/5/backward/auto_ptr.h:103:7: note:   no known conversion for argument 1 from 'const std::auto_ptr<resip::ExtensionHeader>' to 'std::auto_ptr<resip::ExtensionHeader>::element_type* {aka resip::ExtensionHeader*}'
make[2]: *** [B2BCallManager.o] Error 1
Makefile:340: recipe for target 'B2BCallManager.o' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
Makefile:241: recipe for target 'all' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:34: 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