net-cpp FTBFS with Boost 1.88

Bug #2133902 reported by Mateus Rodrigues de Morais
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
net-cpp (Ubuntu)
In Progress
Undecided
Mateus Rodrigues de Morais

Bug Description

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.

Revision history for this message
Mateus Rodrigues de Morais (mateus-morais) wrote (last edit ):

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.