Bug#853642: ring: ftbfs with GCC-7
Matthias Klose
doko at debian.org
Tue Jan 31 09:35:37 UTC 2017
Package: src:ring
Version: 20161221.2.7bd7d91~dfsg1-1
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7
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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/ring_20161221.2.7bd7d91~dfsg1-1_unstable_gcc7.log
The last lines of the build log are at the end of this report.
To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are 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-7/porting_to.html
[...]
from sdp.h:30,
from sipvoiplink.cpp:31:
/usr/include/c++/7/functional:869:5: note: candidate: template<class _Func, class ... _BoundArgs> typename std::_Bind_helper<std::__is_socketlike<_Func>::value, _Func, _BoundArgs ...>::type std::bind(_Func&&, _BoundArgs&& ...)
bind(_Func&& __f, _BoundArgs&&... __args)
^~~~
/usr/include/c++/7/functional:869:5: note: template argument deduction/substitution failed:
/usr/include/c++/7/functional: In substitution of 'template<class _Func, class ... _BoundArgs> typename std::_Bind_helper<std::__is_socketlike<_Func>::value, _Func, _BoundArgs ...>::type std::bind(_Func&&, _BoundArgs&& ...) [with _Func = const int&; _BoundArgs = {std::vector<ring::IpAddr, std::allocator<ring::IpAddr> >}]':
sipvoiplink.cpp:1244:107: required from here
/usr/include/c++/7/functional:869:5: error: no type named 'type' in 'struct std::_Bind_helper<true, const int&, std::vector<ring::IpAddr, std::allocator<ring::IpAddr> > >'
/usr/include/c++/7/functional:893:5: note: candidate: template<class _Result, class _Func, class ... _BoundArgs> typename std::_Bindres_helper<_Result, _Func, _BoundArgs>::type std::bind(_Func&&, _BoundArgs&& ...)
bind(_Func&& __f, _BoundArgs&&... __args)
^~~~
/usr/include/c++/7/functional:893:5: note: template argument deduction/substitution failed:
sipvoiplink.cpp:1244:107: note: couldn't deduce template parameter '_Result'
runOnMainThread(std::bind(cb, ips.empty() ? std::vector<IpAddr>{} : std::move(ips)));
^
sipvoiplink.cpp: In lambda function:
sipvoiplink.cpp:1251:27: error: 'cb' cannot be used as a function
cb(ips);
^
sipvoiplink.cpp:1255:22: error: 'cb' cannot be used as a function
cb({});
^
mv -f .deps/libsiplink_la-pres_sub_server.Tpo .deps/libsiplink_la-pres_sub_server.Plo
mv -f .deps/libsiplink_la-sippresence.Tpo .deps/libsiplink_la-sippresence.Plo
mv -f .deps/libsiplink_la-pres_sub_client.Tpo .deps/libsiplink_la-pres_sub_client.Plo
mv -f .deps/libsiplink_la-siptransport.Tpo .deps/libsiplink_la-siptransport.Plo
Makefile:579: recipe for target 'libsiplink_la-sipvoiplink.lo' failed
make[5]: *** [libsiplink_la-sipvoiplink.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
mv -f .deps/libsiplink_la-sipaccountbase.Tpo .deps/libsiplink_la-sipaccountbase.Plo
mv -f .deps/libsiplink_la-sdp.Tpo .deps/libsiplink_la-sdp.Plo
mv -f .deps/libsiplink_la-sipcall.Tpo .deps/libsiplink_la-sipcall.Plo
mv -f .deps/libsiplink_la-sipaccount.Tpo .deps/libsiplink_la-sipaccount.Plo
make[5]: Leaving directory '/<<PKGBUILDDIR>>/daemon/src/sip'
Makefile:972: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/daemon/src'
Makefile:541: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/daemon'
Makefile:472: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/daemon'
debian/rules:92: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:16: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the Pkg-voip-maintainers
mailing list