* [Buildroot] [PATCH 1/1] package/{python-}protobuf: bump to version 33.2
@ 2025-12-31 23:11 James Hilliard
2026-01-01 9:47 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: James Hilliard @ 2025-12-31 23:11 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard
We need to set -Dprotobuf_BUILD_LIBUPB=ON for host-protobuf now
as some libupb headers now appear to be required.
Also set the new -Dprotobuf_LOCAL_DEPENDENCIES_ONLY=ON option
to ensure cmake doesn't try to download dependencies.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
package/protobuf/protobuf.hash | 2 +-
package/protobuf/protobuf.mk | 6 ++++--
package/python-protobuf/python-protobuf.hash | 4 ++--
package/python-protobuf/python-protobuf.mk | 4 ++--
4 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash
index 98159ad897..db91cf296b 100644
--- a/package/protobuf/protobuf.hash
+++ b/package/protobuf/protobuf.hash
@@ -1,3 +1,3 @@
# Locally calculated
sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE
-sha256 008a11cc56f9b96679b4c285fd05f46d317d685be3ab524b2a310be0fbad987e protobuf-29.3.tar.gz
+sha256 6b6599b54c88d75904b7471f5ca34a725fa0af92e134dd1a32d5b395aa4b4ca8 protobuf-33.2.tar.gz
diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk
index 4540443702..e2158216c4 100644
--- a/package/protobuf/protobuf.mk
+++ b/package/protobuf/protobuf.mk
@@ -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.2
PROTOBUF_SITE = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOBUF_VERSION)
PROTOBUF_LICENSE = BSD-3-Clause
PROTOBUF_LICENSE_FILES = LICENSE
@@ -26,6 +26,7 @@ PROTOBUF_CONF_OPTS = \
-Dprotobuf_BUILD_TESTS=OFF \
-Dprotobuf_DISABLE_RTTI=OFF \
-Dprotobuf_INSTALL=ON \
+ -Dprotobuf_LOCAL_DEPENDENCIES_ONLY=ON \
-DWITH_PROTOC=$(HOST_DIR)/bin/protoc
HOST_PROTOBUF_DEPENDENCIES = host-libabseil-cpp
@@ -34,12 +35,13 @@ 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 \
-Dprotobuf_DISABLE_RTTI=OFF \
-Dprotobuf_INSTALL=ON \
+ -Dprotobuf_LOCAL_DEPENDENCIES_ONLY=ON \
-Dprotobuf_WITH_ZLIB=OFF
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
diff --git a/package/python-protobuf/python-protobuf.hash b/package/python-protobuf/python-protobuf.hash
index 1e1833980c..fdfbc4b4f1 100644
--- a/package/python-protobuf/python-protobuf.hash
+++ b/package/python-protobuf/python-protobuf.hash
@@ -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 59060f8bb01846579e5c8d95917ad925 protobuf-6.33.2.tar.gz
+sha256 56dc370c91fbb8ac85bc13582c9e373569668a290aa2e66a590c2a0d35ddb9e4 protobuf-6.33.2.tar.gz
# Locally computed sha256 checksums
sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE
diff --git a/package/python-protobuf/python-protobuf.mk b/package/python-protobuf/python-protobuf.mk
index 898a133d37..8db9a2f621 100644
--- a/package/python-protobuf/python-protobuf.mk
+++ b/package/python-protobuf/python-protobuf.mk
@@ -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/34/44/e49ecff446afeec9d1a66d6bbf9adc21e3c7cea7803a920ca3773379d4f6
PYTHON_PROTOBUF_LICENSE = BSD-3-Clause
PYTHON_PROTOBUF_LICENSE_FILES = LICENSE
PYTHON_PROTOBUF_DEPENDENCIES = host-protobuf
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/{python-}protobuf: bump to version 33.2
2025-12-31 23:11 [Buildroot] [PATCH 1/1] package/{python-}protobuf: bump to version 33.2 James Hilliard
@ 2026-01-01 9:47 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-01-01 9:47 UTC (permalink / raw)
To: James Hilliard; +Cc: buildroot
On Wed, 31 Dec 2025 16:11:22 -0700
James Hilliard <james.hilliard1@gmail.com> wrote:
> We need to set -Dprotobuf_BUILD_LIBUPB=ON for host-protobuf now
> as some libupb headers now appear to be required.
>
> Also set the new -Dprotobuf_LOCAL_DEPENDENCIES_ONLY=ON option
> to ensure cmake doesn't try to download dependencies.
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
> package/protobuf/protobuf.hash | 2 +-
> package/protobuf/protobuf.mk | 6 ++++--
> package/python-protobuf/python-protobuf.hash | 4 ++--
> package/python-protobuf/python-protobuf.mk | 4 ++--
> 4 files changed, 9 insertions(+), 7 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-01 9:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-31 23:11 [Buildroot] [PATCH 1/1] package/{python-}protobuf: bump to version 33.2 James Hilliard
2026-01-01 9:47 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.