The package net-cpp is failing to build from source with Boost 1.88
[ 60%] Building CXX object src/CMakeFiles/net-cpp.dir/core/net/http/impl/curl/multi.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -Dnet_cpp_EXPORTS -I/<<PKGBUILDDIR>>/include -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/net-cpp-3.2.0-1 -Wdate-time -D_FORTIFY_SOURCE=3 -std=c++17 -Wall -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -Wextra -fPIC -MD -MT src/CMakeFiles/net-cpp.dir/core/net/http/impl/curl/multi.cpp.o -MF CMakeFiles/net-cpp.dir/core/net/http/impl/curl/multi.cpp.o.d -o CMakeFiles/net-cpp.dir/core/net/http/impl/curl/multi.cpp.o -c /<<PKGBUILDDIR>>/src/core/net/http/impl/curl/multi.cpp
/<<PKGBUILDDIR>>/src/core/net/http/impl/curl/multi.cpp:25:10: fatal error: boost/asio/io_service.hpp: No such file or directory
25 | #include <boost/asio/io_service.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
This patch fixes the FTBFS on Boost 1.88 by adopting the new API introduced by that release.
PPA builds for review: https:/ /launchpad. net/~mateus- morais/ +archive/ ubuntu/ plusone
This patch has also been sent upstream: https:/ /gitlab. com/ubports/ development/ core/lib- cpp/net- cpp/-/merge_ requests/ 20