Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Package fastnetmon fails to build from source in Fedora Rawhide/F44 since Boost 1.90 landed in https://bodhi.fedoraproject.org/updates/FEDORA-2026-025b0b5436 for https://fedoraproject.org/wiki/Changes/F44_Boost_1_90. NOTE: As of now, the new Boost hasn’t yet hit the Koji buildroot for Rawhide, and it will be a day or two before it is included in a compose and appears in dnf repos for mock builds. Version-Release number of selected component (if applicable): 1.2.1-28.20220528git420e7b8.fc44 Steps to Reproduce: koji wait-repo f44-build --build=boost-1.90.0-3.fc44 --request && koji build --scratch f44 fastnetmon-1.2.1-28.20220528git420e7b8.fc44.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/fastnetmon The compiler error is: [ 67%] Building CXX object CMakeFiles/unified_parser.dir/unified_parser.cpp.o /usr/bin/g++ -DENABLE_CAPNP -DENABLE_GOBGP -DFASTNETMON_API -DFASTNETMON_ENABLE_AFPACKET -DMONGO -I/opt/capnproto_0_8_0/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DOPENSSL_NO_ENGINE -DNDEBUG --std=c++20 -MD -MT CMakeFiles/unified_parser.dir/unified_parser.cpp.o -MF CMakeFiles/unified_parser.dir/unified_parser.cpp.o.d -o CMakeFiles/unified_parser.dir/unified_parser.cpp.o -c /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/unified_parser.cpp /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.cpp: In function ‘std::string dns_lookup(std::string)’: /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.cpp:1165:22: error: ‘io_service’ is not a member of ‘boost::asio’; did you mean ‘use_service’? 1165 | boost::asio::io_service io_service; | ^~~~~~~~~~ | use_service /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.cpp:1166:49: error: ‘io_service’ was not declared in this scope 1166 | boost::asio::ip::tcp::resolver resolver(io_service); | ^~~~~~~~~~ /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.cpp:1168:41: error: ‘query’ is not a member of ‘boost::asio::ip::tcp::resolver’ {aka ‘boost::asio::ip::basic_resolver<boost::asio::ip::tcp>’} 1168 | boost::asio::ip::tcp::resolver::query query(domain_name, ""); | ^~~~~ /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.cpp:1170:46: error: ‘iterator’ is not a member of ‘boost::asio::ip::tcp::resolver’ {aka ‘boost::asio::ip::basic_resolver<boost::asio::ip::tcp>’} 1170 | for (boost::asio::ip::tcp::resolver::iterator i = resolver.resolve(query); | ^~~~~~~~ /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.cpp:1171:14: error: ‘i’ was not declared in this scope 1171 | i != boost::asio::ip::tcp::resolver::iterator(); ++i) { | ^ /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.cpp:1171:51: error: ‘iterator’ is not a member of ‘boost::asio::ip::tcp::resolver’ {aka ‘boost::asio::ip::basic_resolver<boost::asio::ip::tcp>’} 1171 | i != boost::asio::ip::tcp::resolver::iterator(); ++i) { | ^~~~~~~~ /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.cpp: In function ‘bool write_simple_packet(int, simple_packet_t&, bool)’: /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.cpp:1416:26: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1416 | if (write_result != bytes.size()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.cpp: In function ‘bool validate_ipv6_or_ipv4_host(std::string)’: /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.cpp:1490:31: error: ‘from_string’ is not a member of ‘boost::asio::ip::address’ 1490 | boost::asio::ip::address::from_string(host, ec); | ^~~~~~~~~~~ /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.cpp: In function ‘bool execute_web_request_secure(std::string, std::string, std::string, uint32_t&, std::string&, std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >&)’: /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.cpp:1598:68: error: ‘query’ is not a member of ‘boost::asio::ip::tcp::resolver’ {aka ‘boost::asio::ip::basic_resolver<boost::asio::ip::tcp>’} 1598 | auto end_point = r.resolve(boost::asio::ip::tcp::resolver::query{ host, port }, ec); | ^~~~~ /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.cpp: In function ‘bool execute_web_request(std::string, std::string, std::string, uint32_t&, std::string&, std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >&, std::string&)’: /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.cpp:1752:22: error: ‘io_service’ is not a member of ‘boost::asio’; did you mean ‘use_service’? 1752 | boost::asio::io_service ios; | ^~~~~~~~~~ | use_service /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.cpp:1753:42: error: ‘ios’ was not declared in this scope; did you mean ‘std::ios’? 1753 | boost::asio::ip::tcp::resolver r(ios); | ^~~ | std::ios In file included from /usr/include/c++/16/bits/localefwd.h:43, from /usr/include/c++/16/string:48, from /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fastnetmon_types.h:10, from /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.h:3, from /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.cpp:1: /usr/include/c++/16/iosfwd:136:41: note: ‘std::ios’ declared here 136 | typedef basic_ios<char> ios; | ^~~ /builddir/build/BUILD/fastnetmon-1.2.1-build/fastnetmon-420e7b873253fdc1b52b517d9c28db39bf384427/src/fast_library.cpp:1756:68: error: ‘query’ is not a member of ‘boost::asio::ip::tcp::resolver’ {aka ‘boost::asio::ip::basic_resolver<boost::asio::ip::tcp>’} 1756 | auto end_point = r.resolve(boost::asio::ip::tcp::resolver::query{ host, port }, ec); | ^~~~~ This io_service API was removed from Boost at some point, after apparently being deprecated for some time. According to https://github.com/boostorg/asio/issues/110, the appropriate migration is to io_context. I’m tracking this because this incompatibility will prevent me from rebuilding fastnetmon for abseil-cpp-20260107.0 on or shortly after 2026-01-18. At that point, this FTBFS will become a FTI in Rawhide. Reproducible: Always
(In reply to Ben Beasley from comment #0) > I’m tracking this because this incompatibility will prevent me from > rebuilding fastnetmon for abseil-cpp-20260107.0 on or shortly after > 2026-01-18. At that point, this FTBFS will become a FTI in Rawhide. Actually, since this package links some Boost shared libraries, it already fails to install, or at least will do so as soon as Boost 1.90 hits a compose. Fortunately, it turns out that this is already fixed upstream: https://src.fedoraproject.org/rpms/fastnetmon/pull-request/5
FEDORA-2026-d4f395011d (fastnetmon-1.2.1-29.20220528git420e7b8.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-d4f395011d
FEDORA-2026-d4f395011d (fastnetmon-1.2.1-29.20220528git420e7b8.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.