Package: src:anytun
Version: 0.3.8-1.1
Severity: important
Tags: sid forky
User: [email protected]
Usertags: boost1.88
anytun ftbfs with boost1.88:
[...]
(re)building anytun-showtables.d
x86_64-linux-gnu-g++ -DLOG_SYSLOG -DLOG_FILE -DLOG_STDOUT -DUSE_GCRYPT
-g -Wall -O2 packetSource.cpp -c -o packetSource.o
In file included from
/usr/include/boost/smart_ptr/detail/deprecated_macros.hpp:8,
from
/usr/include/boost/smart_ptr/detail/sp_counted_base.hpp:22,
from
/usr/include/boost/smart_ptr/detail/shared_count.hpp:22,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:17,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:17,
from
/usr/include/boost/date_time/posix_time/posix_time_types.hpp:10,
from /usr/include/boost/asio/time_traits.hpp:25,
from
/usr/include/boost/asio/detail/timer_queue_ptime.hpp:24,
from
/usr/include/boost/asio/detail/deadline_timer_service.hpp:31,
from /usr/include/boost/asio/basic_deadline_timer.hpp:27,
from /usr/include/boost/asio.hpp:33,
from packetSource.cpp:46:
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice
of declaring the Bind placeholders (_1, _2, ...) in the global namespace
is deprecated. Please use <boost/bind/bind.hpp> + using namespace
boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain
the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
In file included from packetSource.cpp:51:
packetSource.h:59:41: error: ‘iterator’ in
‘boost::asio::ip::udp::resolver’ {aka ‘class
boost::asio::ip::basic_resolver<boost::asio::ip::udp>’} does not name a type
59 | typedef boost::asio::ip::udp::resolver::iterator
PacketSourceResolverIt;
| ^~~~~~~~
packetSource.h:86:18: error: ‘PacketSourceResolverIt’ has not been declared
86 | void onResolve(PacketSourceResolverIt it);
| ^~~~~~~~~~~~~~~~~~~~~~
packetSource.h:90:16: error: ‘io_service’ in namespace ‘boost::asio’
does not name a type; did you mean ‘use_service’?
90 | boost::asio::io_service io_service_;
| ^~~~~~~~~~
| use_service
In file included from packetSource.cpp:53:
resolver.h:56:63: error: ‘iterator’ is not a member of
‘boost::asio::ip::udp::resolver’ {aka
‘boost::asio::ip::basic_resolver<boost::asio::ip::udp>’}
56 | typedef boost::function<void
(boost::asio::ip::udp::resolver::iterator)> UdpResolveCallback;
|
^~~~~~~~
resolver.h:56:72: error: template argument 1 is invalid
56 | typedef boost::function<void
(boost::asio::ip::udp::resolver::iterator)> UdpResolveCallback;
|
^
resolver.h:57:63: error: ‘iterator’ is not a member of
‘boost::asio::ip::tcp::resolver’ {aka
‘boost::asio::ip::basic_resolver<boost::asio::ip::tcp>’}
57 | typedef boost::function<void
(boost::asio::ip::tcp::resolver::iterator)> TcpResolveCallback;
|
^~~~~~~~
resolver.h:57:72: error: template argument 1 is invalid
57 | typedef boost::function<void
(boost::asio::ip::tcp::resolver::iterator)> TcpResolveCallback;
|
^
resolver.h:95:16: error: ‘io_service’ in namespace ‘boost::asio’ does
not name a type; did you mean ‘use_service’?
95 | boost::asio::io_service io_service_;
| ^~~~~~~~~~
| use_service
packetSource.cpp: In constructor
‘UDPPacketSource::UDPPacketSource(std::string, std::string)’:
packetSource.cpp:65:52: error: cannot convert
‘boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void
(UDPPacketSource::*)(int), void, UDPPacketSource, int>,
boost::_bi::list<boost::_bi::value<UDPPacketSource*>, boost::arg<1> > >’
to ‘const UdpResolveCallback&’ {aka ‘const int&’}
65 | gResolver.resolveUdp(localaddr, port,
boost::bind(&UDPPacketSource::onResolve, this, _1),
boost::bind(&UDPPacketSource::onError, this, _1), gOpt.getResolvAddrType());
|
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
|
boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void
(UDPPacketSource::*)(int), void, UDPPacketSource, int>,
boost::_bi::list<boost::_bi::value<UDPPacketSource*>, boost::arg<1> > >
resolver.h:86:95: note: initializing argument 3 of ‘void
Resolver::resolveUdp(const std::string&, const std::string&, const
UdpResolveCallback&, const ErrorCallback&, ResolvAddrType)’
86 | void resolveUdp(const std::string& addr, const std::string&
port, UdpResolveCallback const& onResolve, ErrorCallback const& onError,
ResolvAddrType r = ANY);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
packetSource.cpp: At global scope:
packetSource.cpp:79:6: error: variable or field ‘onResolve’ declared void
79 | void UDPPacketSource::onResolve(PacketSourceResolverIt it)
| ^~~~~~~~~~~~~~~
packetSource.cpp:79:33: error: ‘PacketSourceResolverIt’ was not declared
in this scope
79 | void UDPPacketSource::onResolve(PacketSourceResolverIt it)
| ^~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:227: packetSource.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'