You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
9.751 /root/qbt-build/libtorrent/include/libtorrent/io_service.hpp:40:10: fatal error: boost/asio/io_service.hpp: No such file or directory
Boost 1.87 release notes:
Removed some previously deprecated facilities:
Removed Boost.Coroutine-based spawn() overloads. The spawn() function now works only with the fiber support in Boost.Context.
Removed deprecated asio::connect overloads.
Removed deprecated ip::address_v4 member functions.
Removed deprecated ip::address_v6 member functions.
Removed deprecated constant socket_base::max_connections.
Removed deprecated classes const_buffers_1 and mutable_buffers_1.
Removed deprecated function buffer_cast.
Removed deprecated use_future_t::operator[].
Removed deprecated alias experimental::append.
Removed deprecated alias experimental::prepend.
Removed deprecated alias experimental::as_tuple.
Removed deprecated alias experimental::deferred.
Removed deprecated class ssl::rfc2818_verification.
Removed deprecated alias io_service.
Removed deprecated class io_context::work.
Removed deprecated io_context run functions.
Removed deprecated function io_context::reset.
Removed deprecated io_context::service member functions.
Removed deprecated dispatch and post members from io_context andxi io_context::strand.
Partial build log.
9.751 FAILED: CMakeFiles/torrent-rasterbar.dir/src/alert.cpp.o
9.751 /usr/bin/c++ -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_HAS_STD_CHRONO -DBOOST_EXCEPTION_DISABLE -DTORRENT_BUILDING_LIBRARY -DTORRENT_USE_ICONV -DTORRENT_USE_LIBCRYPTO -DTORRENT_USE_OPENSSL -D_FILE_OFFSET_BITS=64 -I/root/qbt-build/libtorrent/include -I/root/qbt-build/boost -O3 -march=native -std=c++17 -static -w -Wno-psabi -I/root/qbt-build/include -O3 -DNDEBUG -std=gnu++17 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wpedantic -Wvla -Wno-format-zero-length -ftemplate-depth=512 -fexceptions -MD -MT CMakeFiles/torrent-rasterbar.dir/src/alert.cpp.o -MF CMakeFiles/torrent-rasterbar.dir/src/alert.cpp.o.d -o CMakeFiles/torrent-rasterbar.dir/src/alert.cpp.o -c /root/qbt-build/libtorrent/src/alert.cpp
9.751 In file included from /root/qbt-build/libtorrent/include/libtorrent/aux_/session_interface.hpp:39,
9.751 from /root/qbt-build/libtorrent/include/libtorrent/ip_voter.hpp:40,
9.751 from /root/qbt-build/libtorrent/include/libtorrent/peer_list.hpp:47,
9.751 from /root/qbt-build/libtorrent/include/libtorrent/torrent.hpp:51,
9.751 from /root/qbt-build/libtorrent/src/alert.cpp:42:
9.751 /root/qbt-build/libtorrent/include/libtorrent/io_service.hpp:40:10: fatal error: boost/asio/io_service.hpp: No such file or directory
9.751 40 | #include <boost/asio/io_service.hpp>
9.751 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
9.751 compilation terminated.
9.790 [7/156] Building CXX object CMakeFiles/torrent-rasterbar.dir/src/block_cache.cpp.o
9.790 FAILED: CMakeFiles/torrent-rasterbar.dir/src/block_cache.cpp.o
9.790 /usr/bin/c++ -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_HAS_STD_CHRONO -DBOOST_EXCEPTION_DISABLE -DTORRENT_BUILDING_LIBRARY -DTORRENT_USE_ICONV -DTORRENT_USE_LIBCRYPTO -DTORRENT_USE_OPENSSL -D_FILE_OFFSET_BITS=64 -I/root/qbt-build/libtorrent/include -I/root/qbt-build/boost -O3 -march=native -std=c++17 -static -w -Wno-psabi -I/root/qbt-build/include -O3 -DNDEBUG -std=gnu++17 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wpedantic -Wvla -Wno-format-zero-length -ftemplate-depth=512 -fexceptions -MD -MT CMakeFiles/torrent-rasterbar.dir/src/block_cache.cpp.o -MF CMakeFiles/torrent-rasterbar.dir/src/block_cache.cpp.o.d -o CMakeFiles/torrent-rasterbar.dir/src/block_cache.cpp.o -c /root/qbt-build/libtorrent/src/block_cache.cpp
9.790 In file included from /root/qbt-build/libtorrent/include/libtorrent/disk_io_thread.hpp:40,
9.790 from /root/qbt-build/libtorrent/src/block_cache.cpp:39:
9.790 /root/qbt-build/libtorrent/include/libtorrent/io_service.hpp:40:10: fatal error: boost/asio/io_service.hpp: No such file or directory
9.790 40 | #include <boost/asio/io_service.hpp>
9.790 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
9.790 compilation terminated.
9.972 [8/156] Building CXX object CMakeFiles/torrent-rasterbar.dir/src/bt_peer_connection.cpp.o
9.972 FAILED: CMakeFiles/torrent-rasterbar.dir/src/bt_peer_connection.cpp.o
9.973 /usr/bin/c++ -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_HAS_STD_CHRONO -DBOOST_EXCEPTION_DISABLE -DTORRENT_BUILDING_LIBRARY -DTORRENT_USE_ICONV -DTORRENT_USE_LIBCRYPTO -DTORRENT_USE_OPENSSL -D_FILE_OFFSET_BITS=64 -I/root/qbt-build/libtorrent/include -I/root/qbt-build/boost -O3 -march=native -std=c++17 -static -w -Wno-psabi -I/root/qbt-build/include -O3 -DNDEBUG -std=gnu++17 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wpedantic -Wvla -Wno-format-zero-length -ftemplate-depth=512 -fexceptions -MD -MT CMakeFiles/torrent-rasterbar.dir/src/bt_peer_connection.cpp.o -MF CMakeFiles/torrent-rasterbar.dir/src/bt_peer_connection.cpp.o.d -o CMakeFiles/torrent-rasterbar.dir/src/bt_peer_connection.cpp.o -c /root/qbt-build/libtorrent/src/bt_peer_connection.cpp
9.973 In file included from /root/qbt-build/libtorrent/include/libtorrent/aux_/session_interface.hpp:39,
9.973 from /root/qbt-build/libtorrent/include/libtorrent/ip_voter.hpp:40,
9.973 from /root/qbt-build/libtorrent/include/libtorrent/peer_list.hpp:47,
9.973 from /root/qbt-build/libtorrent/include/libtorrent/torrent.hpp:51,
9.973 from /root/qbt-build/libtorrent/include/libtorrent/bt_peer_connection.hpp:51,
9.973 from /root/qbt-build/libtorrent/src/bt_peer_connection.cpp:44:
9.973 /root/qbt-build/libtorrent/include/libtorrent/io_service.hpp:40:10: fatal error: boost/asio/io_service.hpp: No such file or directory
9.973 40 | #include <boost/asio/io_service.hpp>
9.973 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
9.973 compilation terminated.
10.26 [9/156] Building CXX object CMakeFiles/torrent-rasterbar.dir/src/bloom_filter.cpp.o
10.31 [10/156] Building CXX object CMakeFiles/torrent-rasterbar.dir/src/bdecode.cpp.o
10.50 [11/156] Building CXX object CMakeFiles/torrent-rasterbar.dir/src/chained_buffer.cpp.o
10.81 [12/156] Building CXX object CMakeFiles/torrent-rasterbar.dir/src/broadcast_socket.cpp.o
10.81 FAILED: CMakeFiles/torrent-rasterbar.dir/src/broadcast_socket.cpp.o
10.81 /usr/bin/c++ -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_HAS_STD_CHRONO -DBOOST_EXCEPTION_DISABLE -DTORRENT_BUILDING_LIBRARY -DTORRENT_USE_ICONV -DTORRENT_USE_LIBCRYPTO -DTORRENT_USE_OPENSSL -D_FILE_OFFSET_BITS=64 -I/root/qbt-build/libtorrent/include -I/root/qbt-build/boost -O3 -march=native -std=c++17 -static -w -Wno-psabi -I/root/qbt-build/include -O3 -DNDEBUG -std=gnu++17 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wpedantic -Wvla -Wno-format-zero-length -ftemplate-depth=512 -fexceptions -MD -MT CMakeFiles/torrent-rasterbar.dir/src/broadcast_socket.cpp.o -MF CMakeFiles/torrent-rasterbar.dir/src/broadcast_socket.cpp.o.d -o CMakeFiles/torrent-rasterbar.dir/src/broadcast_socket.cpp.o -c /root/qbt-build/libtorrent/src/broadcast_socket.cpp
10.81 In file included from /root/qbt-build/libtorrent/src/broadcast_socket.cpp:41:
10.81 /root/qbt-build/libtorrent/include/libtorrent/broadcast_socket.hpp: In member function 'boost::asio::ip::address_v4 libtorrent::broadcast_socket::socket_entry::broadcast_address() const':
10.81 /root/qbt-build/libtorrent/include/libtorrent/broadcast_socket.hpp:125:61: error: no matching function for call to 'boost::asio::ip::address_v4::broadcast(boost::asio::ip::address_v4, const boost::asio::ip::address_v4&) const'
10.81 125 | return address_v4::broadcast(socket->local_endpoint(ec).address().to_v4(), netmask);
10.81 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10.81 In file included from /root/qbt-build/boost/boost/asio/ip/address.hpp:25,
10.81 from /root/qbt-build/boost/boost/asio/ip/detail/socket_option.hpp:25,
10.81 from /root/qbt-build/boost/boost/asio/ip/multicast.hpp:20,
10.81 from /root/qbt-build/libtorrent/src/broadcast_socket.cpp:36:
10.81 /root/qbt-build/boost/boost/asio/ip/address_v4.hpp:249:21: note: candidate: 'static boost::asio::ip::address_v4 boost::asio::ip::address_v4::broadcast()'
10.81 249 | static address_v4 broadcast() noexcept
10.81 | ^~~~~~~~~
10.81 /root/qbt-build/boost/boost/asio/ip/address_v4.hpp:249:21: note: candidate expects 0 arguments, 2 provided
10.81 /root/qbt-build/libtorrent/src/broadcast_socket.cpp: In function 'bool libtorrent::is_link_local(const boost::asio::ip::address&)':
10.81 /root/qbt-build/libtorrent/src/broadcast_socket.cpp:80:39: error: 'const class boost::asio::ip::address_v4' has no member named 'to_ulong'
10.81 80 | unsigned long ip = a4.to_ulong();
10.81 | ^~~~~~~~
10.81 /root/qbt-build/libtorrent/src/broadcast_socket.cpp: In function 'bool libtorrent::is_local(const boost::asio::ip::address&)':
10.81 /root/qbt-build/libtorrent/src/broadcast_socket.cpp:103:39: error: 'class boost::asio::ip::address_v4' has no member named 'to_ulong'
10.81 103 | unsigned long ip = a4.to_ulong();
10.81 | ^~~~~~~~
10.81 /root/qbt-build/libtorrent/src/broadcast_socket.cpp: In function 'bool libtorrent::is_any(const boost::asio::ip::address&)':
10.81 /root/qbt-build/libtorrent/src/broadcast_socket.cpp:124:46: error: 'class boost::asio::ip::address_v6' has no member named 'to_v4'
10.81 124 | return (addr.to_v6().to_v4() == address_v4::any());
10.81 | ^~~~~
10.99 [13/156] Building CXX object CMakeFiles/torrent-rasterbar.dir/src/alert_manager.cpp.o
10.99 FAILED: CMakeFiles/torrent-rasterbar.dir/src/alert_manager.cpp.o
10.99 /usr/bin/c++ -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_HAS_STD_CHRONO -DBOOST_EXCEPTION_DISABLE -DTORRENT_BUILDING_LIBRARY -DTORRENT_USE_ICONV -DTORRENT_USE_LIBCRYPTO -DTORRENT_USE_OPENSSL -D_FILE_OFFSET_BITS=64 -I/root/qbt-build/libtorrent/include -I/root/qbt-build/boost -O3 -march=native -std=c++17 -static -w -Wno-psabi -I/root/qbt-build/include -O3 -DNDEBUG -std=gnu++17 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wpedantic -Wvla -Wno-format-zero-length -ftemplate-depth=512 -fexceptions -MD -MT CMakeFiles/torrent-rasterbar.dir/src/alert_manager.cpp.o -MF CMakeFiles/torrent-rasterbar.dir/src/alert_manager.cpp.o.d -o CMakeFiles/torrent-rasterbar.dir/src/alert_manager.cpp.o -c /root/qbt-build/libtorrent/src/alert_manager.cpp
10.99 In file included from /root/qbt-build/libtorrent/include/libtorrent/torrent_handle.hpp:62,
10.99 from /root/qbt-build/libtorrent/include/libtorrent/alert_types.hpp:38,
10.99 from /root/qbt-build/libtorrent/include/libtorrent/alert_manager.hpp:40,
10.99 from /root/qbt-build/libtorrent/src/alert_manager.cpp:34:
10.99 /root/qbt-build/libtorrent/include/libtorrent/broadcast_socket.hpp: In member function 'boost::asio::ip::address_v4 libtorrent::broadcast_socket::socket_entry::broadcast_address() const':
10.99 /root/qbt-build/libtorrent/include/libtorrent/broadcast_socket.hpp:125:61: error: no matching function for call to 'boost::asio::ip::address_v4::broadcast(boost::asio::ip::address_v4, const boost::asio::ip::address_v4&) const'
10.99 125 | return address_v4::broadcast(socket->local_endpoint(ec).address().to_v4(), netmask);
10.99 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10.99 In file included from /root/qbt-build/boost/boost/asio/ip/address.hpp:25,
10.99 from /root/qbt-build/libtorrent/include/libtorrent/address.hpp:45,
10.99 from /root/qbt-build/libtorrent/include/libtorrent/torrent_handle.hpp:51:
10.99 /root/qbt-build/boost/boost/asio/ip/address_v4.hpp:249:21: note: candidate: 'static boost::asio::ip::address_v4 boost::asio::ip::address_v4::broadcast()'
10.99 249 | static address_v4 broadcast() noexcept
10.99 | ^~~~~~~~~
10.99 /root/qbt-build/boost/boost/asio/ip/address_v4.hpp:249:21: note: candidate expects 0 arguments, 2 provided
10.99 [14/156] Building CXX object CMakeFiles/torrent-rasterbar.dir/src/announce_entry.cpp.o
11.81 [15/156] Building CXX object CMakeFiles/torrent-rasterbar.dir/src/add_torrent_params.cpp.o
11.81 ninja: build stopped: subcommand failed.
11.82
11.82 ⬤ Error: The build command produced an exit code greater than 0 - Check the logs
11.82
11.82 ⬤ Warning: Developers can be easily startled or confused by wild issues, if you are seeing this warning and cannot resolve the issue yourself, please open an issue at this repo first:
11.82
11.82 ⬤ https://github.com/userdocs/qbittorrent-nox-static/issues
11.82
------
Dockerfile:27
--------------------
25 | RUN bash /root/qbittorrent-nox-static.sh -lt RC_1_2 -qt release-5.0.1 openssl
26 | RUN bash /root/qbittorrent-nox-static.sh -lt RC_1_2 -qt release-5.0.1 boost
27 | >>> RUN bash /root/qbittorrent-nox-static.sh -lt RC_1_2 -qt release-5.0.1 libtorrent
28 | RUN bash /root/qbittorrent-nox-static.sh -lt RC_1_2 -qt release-5.0.1 double_conversion
29 | RUN bash /root/qbittorrent-nox-static.sh -lt RC_1_2 -qt release-5.0.1 qtbase
--------------------
ERROR: failed to solve: process "/bin/sh -c bash /root/qbittorrent-nox-static.sh -lt RC_1_2 -qt release-5.0.1 libtorrent" did not complete successfully: exit code: 1
The text was updated successfully, but these errors were encountered:
Looks like you've already reported to qBittorrent via arvidn/libtorrent#7796
Easiest fix is likely to pin version in this case.
boost/asio/io_service.hpp is no longer available in 1.87, per the new changes in boost rolled out on December 12th.
https://www.boost.org/doc/libs/1_87_0/doc/html/boost_asio/history.html
Error being thrown repeititvely:
Boost 1.87 release notes:
Partial build log.
The text was updated successfully, but these errors were encountered: