package/libabseil-cpp: bump to version 20250814.1
PATCH 1/4 package/libabseil-cpp: bump to version 20250814.1
- enforce C++17 as this is required since 20250512
Release Notes:
https://github.com/abseil/abseil-cpp/releases/tag/20250814.1
https://github.com/abseil/abseil-cpp/releases/tag/20250814.0
https://github.com/abseil/abseil-cpp/releases/tag/20250512.0
--- package/libabseil-cpp/Config.in | 2 +- package/libabseil-cpp/libabseil-cpp.hash | 2 +- package/libabseil-cpp/libabseil-cpp.mk | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-)
package/libabseil-cpp/Config.in +1 -1
@@ -18,7 +18,7 @@ config BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS config BR2_PACKAGE_LIBABSEIL_CPP bool "libabseil-cpp" depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++14 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++17 depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS # uses dlfcn.h depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS
package/libabseil-cpp/libabseil-cpp.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 16242f394245627e508ec6bb296b433c90f8d914f73b9c026fddb905e27276e8 libabseil-cpp-20250127.0.tar.gz +sha256 1692f77d1739bacf3f94337188b78583cf09bab7e420d2dc6c5605a4f86785a1 libabseil-cpp-20250814.1.tar.gz sha256 c79a7fea0e3cac04cd43f20e7b648e5a0ff8fa5344e644b0ee09ca1162b62747 LICENSE
package/libabseil-cpp/libabseil-cpp.mk +3 -3
@@ -4,19 +4,19 @@ # ################################################################################ -LIBABSEIL_CPP_VERSION = 20250127.0 +LIBABSEIL_CPP_VERSION = 20250814.1 LIBABSEIL_CPP_SITE = $(call github,abseil,abseil-cpp,$(LIBABSEIL_CPP_VERSION)) LIBABSEIL_CPP_LICENSE = Apache-2.0 LIBABSEIL_CPP_LICENSE_FILES = LICENSE LIBABSEIL_CPP_INSTALL_STAGING = YES LIBABSEIL_CPP_CONF_OPTS = \ - -DCMAKE_CXX_STANDARD=14 \ + -DCMAKE_CXX_STANDARD=17 \ -DABSL_ENABLE_INSTALL=ON \ -DABSL_USE_GOOGLETEST_HEAD=OFF HOST_LIBABSEIL_CPP_CONF_OPTS = \ - -DCMAKE_CXX_STANDARD=14 \ + -DCMAKE_CXX_STANDARD=17 \ -DABSL_ENABLE_INSTALL=ON \ -DABSL_USE_GOOGLETEST_HEAD=OFF
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/4 package/{|python-}protobuf: bump to version 33.0
- set BUILD_LIBUPB=ON as disabling it is currently broken (see [0])
- python-protobuf increased its major version to 6 due to breaking changes in v30
Changelogs:
v30.0: https://github.com/protocolbuffers/protobuf/releases/tag/v30.0
v31.0: https://github.com/protocolbuffers/protobuf/releases/tag/v31.0
v32.0: https://github.com/protocolbuffers/protobuf/releases/tag/v32.0
v33.0: https://github.com/protocolbuffers/protobuf/releases/tag/v33.0
[0] https://github.com/protocolbuffers/protobuf/issues/20538
--- package/protobuf/protobuf.hash | 2 +- package/protobuf/protobuf.mk | 4 ++-- package/python-protobuf/python-protobuf.hash | 4 ++-- package/python-protobuf/python-protobuf.mk | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-)
package/protobuf/protobuf.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE -sha256 008a11cc56f9b96679b4c285fd05f46d317d685be3ab524b2a310be0fbad987e protobuf-29.3.tar.gz +sha256 cbc536064706b628dcfe507bef386ef3e2214d563657612296f1781aa155ee07 protobuf-33.0.tar.gz
package/protobuf/protobuf.mk +2 -2
@@ -7,7 +7,7 @@ # When bumping this package, make sure to also verify if the # python-protobuf package still works and to update its hash, # as they share the same version/site variables. -PROTOBUF_VERSION = 29.3 +PROTOBUF_VERSION = 33.0 PROTOBUF_SITE = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOBUF_VERSION) PROTOBUF_LICENSE = BSD-3-Clause PROTOBUF_LICENSE_FILES = LICENSE
@@ -34,7 +34,7 @@ HOST_PROTOBUF_CONF_OPTS = \ -Dprotobuf_ALLOW_CCACHE=ON \ -Dprotobuf_BUILD_CONFORMANCE=OFF \ -Dprotobuf_BUILD_LIBPROTOC=ON \ - -Dprotobuf_BUILD_LIBUPB=OFF \ + -Dprotobuf_BUILD_LIBUPB=ON \ -Dprotobuf_BUILD_PROTOBUF_BINARIES=ON \ -Dprotobuf_BUILD_PROTOC_BINARIES=ON \ -Dprotobuf_BUILD_TESTS=OFF \
package/python-protobuf/python-protobuf.hash +2 -2
@@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/protobuf/json -md5 26ee22a630b0dbfce4de03adc5600fbc protobuf-5.29.3.tar.gz -sha256 5da0f41edaf117bde316404bad1a486cb4ededf8e4a54891296f648e8e076620 protobuf-5.29.3.tar.gz +md5 17cc8fd38e074404a0f814396965deed protobuf-6.33.0.tar.gz +sha256 140303d5c8d2037730c548f8c7b93b20bb1dc301be280c378b82b8894589c954 protobuf-6.33.0.tar.gz # Locally computed sha256 checksums sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE
package/python-protobuf/python-protobuf.mk +2 -2
@@ -5,8 +5,8 @@ ################################################################################ PYTHON_PROTOBUF_VERSION = $(PROTOBUF_VERSION) -PYTHON_PROTOBUF_SOURCE = protobuf-5.$(PYTHON_PROTOBUF_VERSION).tar.gz -PYTHON_PROTOBUF_SITE = https://files.pythonhosted.org/packages/f7/d1/e0a911544ca9993e0f17ce6d3cc0932752356c1b0a834397f28e63479344 +PYTHON_PROTOBUF_SOURCE = protobuf-6.$(PYTHON_PROTOBUF_VERSION).tar.gz +PYTHON_PROTOBUF_SITE = https://files.pythonhosted.org/packages/19/ff/64a6c8f420818bb873713988ca5492cba3a7946be57e027ac63495157d97 PYTHON_PROTOBUF_LICENSE = BSD-3-Clause PYTHON_PROTOBUF_LICENSE_FILES = LICENSE PYTHON_PROTOBUF_DEPENDENCIES = host-protobuf
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/4 package/grpc: bump to version 1.75.1
In reply to Michael Nosthoff via buildroot- use new flag gRPC_DOWNLOAD_ARCHIVES=OFF which removed the need for patch 003
- reallign patches and update 0002 to properly apply
Release Notes since 1.66:
https://github.com/grpc/grpc/releases/tag/v1.67.0
https://github.com/grpc/grpc/releases/tag/v1.68.0
https://github.com/grpc/grpc/releases/tag/v1.69.0
https://github.com/grpc/grpc/releases/tag/v1.70.0
https://github.com/grpc/grpc/releases/tag/v1.71.0
https://github.com/grpc/grpc/releases/tag/v1.72.0
https://github.com/grpc/grpc/releases/tag/v1.73.0
https://github.com/grpc/grpc/releases/tag/v1.74.0
https://github.com/grpc/grpc/releases/tag/v1.75.0
--- ...the-availability-of-pthread_setname_.patch | 14 ++--- ...strict-building-of-host-grpc-to-grpc.patch | 54 +++++++++---------- ...nconditionally-downloading-api-repos.patch | 38 ------------- package/grpc/grpc.hash | 2 +- package/grpc/grpc.mk | 5 +- 5 files changed, 38 insertions(+), 75 deletions(-) delete mode 100644 package/grpc/0003-disable-unconditionally-downloading-api-repos.patch
package/grpc/0001-Properly-detect-the-availability-of-pthread_setname_.patch +7 -7
@@ -1,4 +1,4 @@ -From dfec50b899c449bc964514f16e94869de7a68896 Mon Sep 17 00:00:00 2001 +From 3e9f278145fafbfe15a868d0f9032ba590078c3b Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <[email protected]> Date: Mon, 31 Dec 2018 16:22:07 +0100 Subject: [PATCH] Properly detect the availability of pthread_setname_np()
@@ -25,10 +25,10 @@ Signed-off-by: Michael Nosthoff <[email protected]> 2 files changed, 8 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt -index 053b9e3784..2565dc5c84 100644 +index f652a4055c..a2c978c7d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -291,6 +291,12 @@ if (NOT DEFINED CMAKE_POSITION_INDEPENDENT_CODE) +@@ -303,6 +303,12 @@ if (NOT DEFINED CMAKE_POSITION_INDEPENDENT_CODE) endif() list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
@@ -42,10 +42,10 @@ index 053b9e3784..2565dc5c84 100644 include(cmake/msvc_static_runtime.cmake) add_definitions(-D_WIN32_WINNT=0x600 -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS) diff --git a/include/grpc/support/port_platform.h b/include/grpc/support/port_platform.h -index 5fb7426af2..24d438d702 100644 +index 04a90fbf8a..6718233782 100644 --- a/include/grpc/support/port_platform.h +++ b/include/grpc/support/port_platform.h -@@ -228,6 +228,7 @@ +@@ -236,6 +236,7 @@ #endif /* _LP64 */ #ifdef __GLIBC__ #define GPR_POSIX_CRASH_HANDLER 1
@@ -53,7 +53,7 @@ index 5fb7426af2..24d438d702 100644 #ifdef __GLIBC_PREREQ #if __GLIBC_PREREQ(2, 12) #define GPR_LINUX_PTHREAD_NAME 1 -@@ -236,6 +237,7 @@ +@@ -244,6 +245,7 @@ // musl libc & others #define GPR_LINUX_PTHREAD_NAME 1 #endif
@@ -62,5 +62,5 @@ index 5fb7426af2..24d438d702 100644 #else /* musl libc */ #define GPR_MUSL_LIBC_COMPAT 1 -- -2.34.1 +2.43.0
package/grpc/0002-Add-option-to-restrict-building-of-host-grpc-to-grpc.patch +27 -27
176 lines not on this page · raw message
package/grpc/0003-disable-unconditionally-downloading-api-repos.patch deleted +0 -38
@@ -1,38 +0,0 @@ -From 2a73f6439b6d745b2cbfff120dc7adc555400247 Mon Sep 17 00:00:00 2001 -From: Michael Nosthoff <[email protected]> -Date: Fri, 22 Jul 2022 08:49:48 +0200 -Subject: [PATCH] disable unconditionally downloading api repos - -The Buildroot build doesn't need those submodules, so disable them hard -for now. - -See https://github.com/grpc/grpc/issues/30385 - -Signed-off-by: Michael Nosthoff <[email protected]> ---- - CMakeLists.txt | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 94f8fd3e93..df43d2e193 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -402,6 +402,7 @@ if(gRPC_BUILD_GRPCPP_OTEL_PLUGIN) - include(cmake/opentelemetry-cpp.cmake) - endif() - -+if(FALSE) - # Setup external proto library at third_party/envoy-api with 2 download URLs - if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/envoy-api AND gRPC_DOWNLOAD_ARCHIVES) - # Download the archive via HTTP, validate the checksum, and extract to third_party/envoy-api. -@@ -478,6 +479,7 @@ if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/xds AND gRPC_DOWNLOAD_ARC - xds-3a472e524827f72d1ad621c4983dd5af54c46776 - ) - endif() -+endif() - - if(WIN32) - set(_gRPC_ALLTARGETS_LIBRARIES ${_gRPC_ALLTARGETS_LIBRARIES} ws2_32 crypt32) --- -2.34.1 -
package/grpc/grpc.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 79ed4ab72fa9589b20f8b0b76c16e353e4cfec1d773d33afad605d97b5682c61 grpc-1.66.1.tar.gz +sha256 486d5e32b3627926476a9a472f9792e4d7fe4e89c962473f1296183f76c6b032 grpc-1.75.1.tar.gz sha256 590198e3f305f2c347fde64d637c65492bbef554db6c8364e149cd375e3797ee LICENSE
package/grpc/grpc.mk +3 -2
@@ -4,7 +4,7 @@ # ################################################################################ -GRPC_VERSION = 1.66.1 +GRPC_VERSION = 1.75.1 GRPC_SITE = $(call github,grpc,grpc,v$(GRPC_VERSION)) GRPC_LICENSE = Apache-2.0, BSD-3-Clause (third_party code), MPL-2.0 (etc/roots.pem) GRPC_LICENSE_FILES = LICENSE
@@ -36,7 +36,8 @@ GRPC_CONF_OPTS = \ -DgRPC_BUILD_GRPC_OBJECTIVE_C_PLUGIN=OFF \ -DgRPC_BUILD_GRPC_PHP_PLUGIN=OFF \ -DgRPC_BUILD_GRPC_PYTHON_PLUGIN=OFF \ - -DgRPC_BUILD_GRPC_RUBY_PLUGIN=OFF + -DgRPC_BUILD_GRPC_RUBY_PLUGIN=OFF \ + -DgRPC_DOWNLOAD_ARCHIVES=OFF ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) GRPC_DEPENDENCIES += libexecinfo
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 4/4 package/collectd: fix build with grpc
In reply to Michael Nosthoff via buildrootabseil and hence protobuf/grpc now need C++17.
--- ...005-configure.ax-fix-grpc-build-2025.patch | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 package/collectd/0005-configure.ax-fix-grpc-build-2025.patch
package/collectd/0005-configure.ax-fix-grpc-build-2025.patch new file +73 -0
@@ -0,0 +1,73 @@ +From 42b2ede4dadcf88293e408bcdf5645995b61b148 Mon Sep 17 00:00:00 2001 +From: Michael Nosthoff <[email protected]> +Date: Wed, 29 Oct 2025 16:48:20 +0100 +Subject: [PATCH] configure.ac: fix grpc build + +Similar to the previous "configure.ac: fix grpc build" commit: +Google bumped it's compiler requirements again [1], hence the c++ version needs to be adjusted to c++17 to be able to build with the latest grpc versions. + +[1] https://github.com/google/oss-policies-info/blob/a5e3ed43d45ad615a20201cea8f7282f595555da/foundational-cxx-support-matrix.md + +Signed-off-by: Michael Nosthoff <[email protected]> +Upstream: https://github.com/collectd/collectd/pull/4386 +--- + configure.ac | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 8aa03fce63..eb6cbbc5d5 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2844,20 +2844,20 @@ PKG_CHECK_MODULES([GRPCPP], [grpc++], + fi + + if test "x$withval" != "xno"; then +- AC_MSG_CHECKING([whether $CXX accepts -std=c++14]) +- if test_cxx_flags -std=c++14; then ++ AC_MSG_CHECKING([whether $CXX accepts -std=c++17]) ++ if test_cxx_flags -std=c++17; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) +- with_libgrpcpp="no (requires C++14 support)" +- with_libprotobuf="no (<absl/base/policy_checks.h> requires C++14 support)" ++ with_libgrpcpp="no (requires C++17 support)" ++ with_libprotobuf="no (<absl/base/policy_checks.h> requires C++17 support)" + fi + fi + + if test "x$with_libgrpcpp" = "xyes"; then + AC_LANG_PUSH(C++) + SAVE_CPPFLAGS="$CPPFLAGS" +- CPPFLAGS="-std=c++14 $with_libgrpcpp_cppflags $GRPCPP_CFLAGS $CPPFLAGS" ++ CPPFLAGS="-std=c++17 $with_libgrpcpp_cppflags $GRPCPP_CFLAGS $CPPFLAGS" + AC_CHECK_HEADERS([grpc++/grpc++.h], + [with_libgrpcpp="yes"], + [with_libgrpcpp="no (<grpc++/grpc++.h> not found)"] +@@ -2871,7 +2871,7 @@ if test "x$with_libgrpcpp" = "xyes"; then + SAVE_CPPFLAGS="$CPPFLAGS" + SAVE_LDFLAGS="$LDFLAGS" + SAVE_LIBS="$LIBS" +- CPPFLAGS="-std=c++14 $with_libgrpcpp_cppflags $GRPCPP_CFLAGS $CPPFLAGS" ++ CPPFLAGS="-std=c++17 $with_libgrpcpp_cppflags $GRPCPP_CFLAGS $CPPFLAGS" + LDFLAGS="$with_libgrpcpp_ldflags" + if test "x$GRPCPP_LIBS" = "x"; then + LIBS="-lgrpc++" +@@ -2899,7 +2899,7 @@ if test "x$with_libgrpcpp" = "xyes"; then + AC_LANG_POP(C++) + fi + +-BUILD_WITH_LIBGRPCPP_CPPFLAGS="-std=c++14 $with_libgrpcpp_cppflags $GRPCPP_CFLAGS" ++BUILD_WITH_LIBGRPCPP_CPPFLAGS="-std=c++17 $with_libgrpcpp_cppflags $GRPCPP_CFLAGS" + BUILD_WITH_LIBGRPCPP_LDFLAGS="$with_libgrpcpp_ldflags" + BUILD_WITH_LIBGRPCPP_LIBS="$GRPCPP_LIBS" + AC_SUBST([BUILD_WITH_LIBGRPCPP_CPPFLAGS]) +@@ -4843,7 +4843,7 @@ if test "x$withval" != "xno"; then + AC_CHECK_LIB([protobuf], [main], + [ + SAVE_CPPFLAGS="$CPPFLAGS" +- CPPFLAGS="-std=c++14 $with_libprotobuf_cppflags $PROTOBUF_CFLAGS" ++ CPPFLAGS="-std=c++17 $with_libprotobuf_cppflags $PROTOBUF_CFLAGS" + if test "x$PROTOBUF_LIBS" = "x" + then + PROTOBUF_LIBS="-lprotobuf"
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot