diff --git a/03-vsomeip3-boost-asio-deprecation.patch b/03-vsomeip3-boost-asio-deprecation.patch new file mode 100644 index 0000000..c3e43f3 --- /dev/null +++ b/03-vsomeip3-boost-asio-deprecation.patch @@ -0,0 +1,63 @@ +--- vsomeip-3.5.11/implementation/endpoints/src/local_tcp_client_endpoint_impl.cpp~ 2025-11-14 14:12:07.000000000 +0000 ++++ vsomeip-3.5.11/implementation/endpoints/src/local_tcp_client_endpoint_impl.cpp 2026-01-22 14:24:46.309463004 +0000 +@@ -25,6 +25,10 @@ + #include "../../protocol/include/protocol.hpp" + #include "../../routing/include/routing_host.hpp" + ++// boost::asio::io_context::strand::wrap is deprecated ++// and should be replaced with boost::asio::bind_executor ++#pragma GCC diagnostic warning "-Wdeprecated-declarations" ++ + namespace vsomeip_v3 { + + local_tcp_client_endpoint_impl::local_tcp_client_endpoint_impl(const std::shared_ptr& _endpoint_host, +--- vsomeip-3.5.11/implementation/endpoints/src/tcp_client_endpoint_impl.cpp~ 2025-11-14 14:12:07.000000000 +0000 ++++ vsomeip-3.5.11/implementation/endpoints/src/tcp_client_endpoint_impl.cpp 2026-01-22 14:33:44.323383593 +0000 +@@ -20,6 +20,10 @@ + #include "../../utility/include/utility.hpp" + #include "../../utility/include/bithelper.hpp" + ++// boost::asio::io_context::strand::wrap is deprecated ++// and should be replaced with boost::asio::bind_executor ++#pragma GCC diagnostic warning "-Wdeprecated-declarations" ++ + namespace vsomeip_v3 { + + tcp_client_endpoint_impl::tcp_client_endpoint_impl(const std::shared_ptr& _endpoint_host, +--- vsomeip-3.5.11/implementation/endpoints/src/local_uds_client_endpoint_impl.cpp~ 2025-11-14 14:12:07.000000000 +0000 ++++ vsomeip-3.5.11/implementation/endpoints/src/local_uds_client_endpoint_impl.cpp 2026-01-22 14:36:48.259884673 +0000 +@@ -21,6 +21,10 @@ + #include "../../protocol/include/protocol.hpp" + #include "../../routing/include/routing_host.hpp" + ++// boost::asio::io_context::strand::wrap is deprecated ++// and should be replaced with boost::asio::bind_executor ++#pragma GCC diagnostic warning "-Wdeprecated-declarations" ++ + namespace vsomeip_v3 { + + local_uds_client_endpoint_impl::local_uds_client_endpoint_impl(const std::shared_ptr& _endpoint_host, +--- vsomeip-3.5.11/implementation/endpoints/src/udp_client_endpoint_impl.cpp~ 2025-11-14 14:12:07.000000000 +0000 ++++ vsomeip-3.5.11/implementation/endpoints/src/udp_client_endpoint_impl.cpp 2026-01-22 14:39:16.849000928 +0000 +@@ -19,6 +19,10 @@ + #include "../../utility/include/utility.hpp" + #include "../../utility/include/bithelper.hpp" + ++// boost::asio::io_context::strand::wrap is deprecated ++// and should be replaced with boost::asio::bind_executor ++#pragma GCC diagnostic warning "-Wdeprecated-declarations" ++ + namespace vsomeip_v3 { + + udp_client_endpoint_impl::udp_client_endpoint_impl(const std::shared_ptr& _endpoint_host, +--- vsomeip-3.5.11/implementation/routing/src/routing_manager_impl.cpp~ 2025-11-14 14:12:07.000000000 +0000 ++++ vsomeip-3.5.11/implementation/routing/src/routing_manager_impl.cpp 2026-01-22 14:42:04.516589196 +0000 +@@ -1421,7 +1421,7 @@ + if (is_forwarded) { + trace::header its_header; + const boost::asio::ip::address_v4 its_remote_address = +- _remote_address.is_v4() ? _remote_address.to_v4() : boost::asio::ip::address_v4::from_string("6.6.6.6"); ++ _remote_address.is_v4() ? _remote_address.to_v4() : boost::asio::ip::make_address_v4("6.6.6.6"); + trace::protocol_e its_protocol = _receiver->is_local() ? trace::protocol_e::local + : _receiver->is_reliable() ? trace::protocol_e::tcp + : trace::protocol_e::udp; diff --git a/04-vsomeip3-gcc16-warning.patch b/04-vsomeip3-gcc16-warning.patch new file mode 100644 index 0000000..9645c75 --- /dev/null +++ b/04-vsomeip3-gcc16-warning.patch @@ -0,0 +1,12 @@ +--- vsomeip-3.5.11/implementation/compat/runtime/src/application_impl.cpp~ 2025-11-14 14:12:07.000000000 +0000 ++++ vsomeip-3.5.11/implementation/compat/runtime/src/application_impl.cpp 2026-01-22 15:00:33.768980411 +0000 +@@ -18,6 +18,9 @@ + #include "../../message/include/message_impl.hpp" + #include "../../message/include/payload_impl.hpp" + ++// GCC 16 false positive in shared_ptr ++#pragma GCC diagnostic warning "-Warray-bounds" ++ + namespace vsomeip { + + application_impl::application_impl(const std::string& _name) { diff --git a/vsomeip3.spec b/vsomeip3.spec index f3947c5..4b3bd5c 100644 --- a/vsomeip3.spec +++ b/vsomeip3.spec @@ -2,7 +2,7 @@ Name: vsomeip3 Version: 3.5.11 -Release: 6%{?dist} +Release: 9%{?dist} Summary: COVESA implementation of SOME/IP protocol # remove from i686 as not needed. ExcludeArch: %{ix86} @@ -22,6 +22,10 @@ Source8: vsomeip3.sysusers.conf Patch1: 01-vsomeip-build-extra.patch # Do various conversions of /usr/lib -> /usr/lib64 Patch2: 02-vsomeip-fix-cmake_libdir.patch +# boost::asio::io_context::strand::wrap is deprecated +Patch3: 03-vsomeip3-boost-asio-deprecation.patch +# GCC 16 -Warray-bounds false positive +Patch4: 04-vsomeip3-gcc16-warning.patch BuildRequires: boost-devel BuildRequires: cmake @@ -259,6 +263,15 @@ fi %{_libdir}/pkgconfig/vsomeip3.pc %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 3.5.11-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Thu Jan 22 2026 Jonathan Wakely - 3.5.11-8 +- Patched for Boost 1.90.0 asio deprecation and GCC 16 warning (#2429732) + +* Sat Jan 17 2026 Fedora Release Engineering - 3.5.11-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Mon Dec 08 2025 Stephen Smoogen - 3.5.11-6 - Find a couple of small changes needed to allow for selinux to be applied to non-standard policies