Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2026-05-28 23:08:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and      /work/SRC/openSUSE:Factory/.protobuf.new.1937 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "protobuf"

Thu May 28 23:08:21 2026 rev:96 rq:1355224 version:34.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/protobuf/protobuf-java.changes   2026-04-09 
16:09:49.373701600 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new.1937/protobuf-java.changes 
2026-05-28 23:08:55.303954881 +0200
@@ -1,0 +2,9 @@
+Sat May 23 19:15:51 UTC 2026 - Andreas Stieger <[email protected]>
+
+- update to 34.2:
+  * Bazel: Remove unused dependency on aspect_bazel_lib
+  * C++: Workaround for attribute handling bug in gcc < 13
+  * upb: Avoid theoretical overflow of uintptr_t in AddAllLinkedExtensions
+  * Fixed two GCC-only issues around upb's generated extension registry
+
+-------------------------------------------------------------------
protobuf.changes: same change
--- /work/SRC/openSUSE:Factory/protobuf/python-protobuf.changes 2026-04-09 
16:09:49.409703090 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new.1937/python-protobuf.changes       
2026-05-28 23:08:57.864060197 +0200
@@ -1,0 +2,14 @@
+Sat May 23 19:15:51 UTC 2026 - Andreas Stieger <[email protected]>
+
+- update to 34.2:
+  * Bazel: Remove unused dependency on aspect_bazel_lib
+  * C++: Workaround for attribute handling bug in gcc < 13
+  * upb: Avoid theoretical overflow of uintptr_t in AddAllLinkedExtensions
+  * Fixed two GCC-only issues around upb's generated extension registry
+
+-------------------------------------------------------------------
+Tue May 19 14:32:49 UTC 2026 - Matej Cepl <[email protected]>
+
+- Add missing python-rpm-macros BR
+
+-------------------------------------------------------------------

Old:
----
  protobuf-34.1.tar.gz
  protobuf-7.34.1.tar.gz
  protobuf-java-4.34.1.pom
  protobuf-java-util-4.34.1.pom
  protobuf-javalite-4.34.1.pom

New:
----
  protobuf-34.2.tar.gz
  protobuf-7.34.2.tar.gz
  protobuf-java-4.34.2.pom
  protobuf-java-util-4.34.2.pom
  protobuf-javalite-4.34.2.pom

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ protobuf-java.spec ++++++
--- /var/tmp/diff_new_pack.ofIYsn/_old  2026-05-28 23:08:59.304119437 +0200
+++ /var/tmp/diff_new_pack.ofIYsn/_new  2026-05-28 23:08:59.308119601 +0200
@@ -19,7 +19,7 @@
 
 %define tarname protobuf
 Name:           protobuf-java
-Version:        34.1
+Version:        34.2
 Release:        0
 Summary:        Java Bindings for Google Protocol Buffers
 License:        BSD-3-Clause

++++++ protobuf.spec ++++++
--- /var/tmp/diff_new_pack.ofIYsn/_old  2026-05-28 23:08:59.360121741 +0200
+++ /var/tmp/diff_new_pack.ofIYsn/_new  2026-05-28 23:08:59.364121905 +0200
@@ -20,7 +20,7 @@
 %define tarname protobuf
 # see cmake/abseil-cpp.cmake and src/google/protobuf/port_def.inc
 %define abseil_min_version 20250512.1
-%global         sover 34_1_0
+%global         sover 34_2_0
 %if 0%{?gcc_version} < 11
 %define with_gcc 11
 %endif
@@ -66,7 +66,7 @@
 %global protoc_arch sparc_64
 %endif
 Name:           protobuf
-Version:        34.1
+Version:        34.2
 Release:        0
 Summary:        Protocol Buffers - Google's data interchange format
 License:        BSD-3-Clause

++++++ python-protobuf.spec ++++++
--- /var/tmp/diff_new_pack.ofIYsn/_old  2026-05-28 23:08:59.412123879 +0200
+++ /var/tmp/diff_new_pack.ofIYsn/_new  2026-05-28 23:08:59.416124045 +0200
@@ -17,7 +17,7 @@
 #
 
 
-%define baseversion 34.1
+%define baseversion 34.2
 %{?sle15_python_module_pythons}
 Name:           python-protobuf
 Version:        7.%{baseversion}
@@ -33,6 +33,7 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 %python_subpackages
 
 %description

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.ofIYsn/_old  2026-05-28 23:08:59.492127171 +0200
+++ /var/tmp/diff_new_pack.ofIYsn/_new  2026-05-28 23:08:59.500127500 +0200
@@ -1,5 +1,5 @@
-libprotobuf34_1_0
-libprotoc34_1_0
-libprotobuf-lite34_1_0
-libutf8_range-34_1_0
+libprotobuf34_2_0
+libprotoc34_2_0
+libprotobuf-lite34_2_0
+libutf8_range-34_2_0
 

++++++ protobuf-34.1.tar.gz -> protobuf-34.2.tar.gz ++++++
/work/SRC/openSUSE:Factory/protobuf/protobuf-34.1.tar.gz 
/work/SRC/openSUSE:Factory/.protobuf.new.1937/protobuf-34.2.tar.gz differ: char 
115, line 1

++++++ protobuf-7.34.1.tar.gz -> protobuf-7.34.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-7.34.1/PKG-INFO new/protobuf-7.34.2/PKG-INFO
--- old/protobuf-7.34.1/PKG-INFO        2026-03-19 20:56:29.296054100 +0100
+++ new/protobuf-7.34.2/PKG-INFO        2026-05-20 02:40:00.259527400 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: protobuf
-Version: 7.34.1
+Version: 7.34.2
 Summary: Protocol Buffers
 Home-page: https://developers.google.com/protocol-buffers/
 Download-URL: https://github.com/protocolbuffers/protobuf/releases
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-7.34.1/google/protobuf/__init__.py 
new/protobuf-7.34.2/google/protobuf/__init__.py
--- old/protobuf-7.34.1/google/protobuf/__init__.py     2000-01-01 
01:00:00.000000000 +0100
+++ new/protobuf-7.34.2/google/protobuf/__init__.py     2000-01-01 
01:00:00.000000000 +0100
@@ -7,4 +7,4 @@
 
 # Copyright 2007 Google Inc. All Rights Reserved.
 
-__version__ = '7.34.1'
+__version__ = '7.34.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-7.34.1/google/protobuf/any_pb2.py 
new/protobuf-7.34.2/google/protobuf/any_pb2.py
--- old/protobuf-7.34.1/google/protobuf/any_pb2.py      2000-01-01 
01:00:00.000000000 +0100
+++ new/protobuf-7.34.2/google/protobuf/any_pb2.py      2000-01-01 
01:00:00.000000000 +0100
@@ -2,7 +2,7 @@
 # Generated by the protocol buffer compiler.  DO NOT EDIT!
 # NO CHECKED-IN PROTOBUF GENCODE
 # source: google/protobuf/any.proto
-# Protobuf Python Version: 7.34.1
+# Protobuf Python Version: 7.34.2
 """Generated protocol buffer code."""
 from google.protobuf import descriptor as _descriptor
 from google.protobuf import descriptor_pool as _descriptor_pool
@@ -13,7 +13,7 @@
     _runtime_version.Domain.PUBLIC,
     7,
     34,
-    1,
+    2,
     '',
     'google/protobuf/any.proto'
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-7.34.1/google/protobuf/api_pb2.py 
new/protobuf-7.34.2/google/protobuf/api_pb2.py
--- old/protobuf-7.34.1/google/protobuf/api_pb2.py      2000-01-01 
01:00:00.000000000 +0100
+++ new/protobuf-7.34.2/google/protobuf/api_pb2.py      2000-01-01 
01:00:00.000000000 +0100
@@ -2,7 +2,7 @@
 # Generated by the protocol buffer compiler.  DO NOT EDIT!
 # NO CHECKED-IN PROTOBUF GENCODE
 # source: google/protobuf/api.proto
-# Protobuf Python Version: 7.34.1
+# Protobuf Python Version: 7.34.2
 """Generated protocol buffer code."""
 from google.protobuf import descriptor as _descriptor
 from google.protobuf import descriptor_pool as _descriptor_pool
@@ -13,7 +13,7 @@
     _runtime_version.Domain.PUBLIC,
     7,
     34,
-    1,
+    2,
     '',
     'google/protobuf/api.proto'
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/protobuf-7.34.1/google/protobuf/compiler/plugin_pb2.py 
new/protobuf-7.34.2/google/protobuf/compiler/plugin_pb2.py
--- old/protobuf-7.34.1/google/protobuf/compiler/plugin_pb2.py  2000-01-01 
01:00:00.000000000 +0100
+++ new/protobuf-7.34.2/google/protobuf/compiler/plugin_pb2.py  2000-01-01 
01:00:00.000000000 +0100
@@ -2,7 +2,7 @@
 # Generated by the protocol buffer compiler.  DO NOT EDIT!
 # NO CHECKED-IN PROTOBUF GENCODE
 # source: google/protobuf/compiler/plugin.proto
-# Protobuf Python Version: 7.34.1
+# Protobuf Python Version: 7.34.2
 """Generated protocol buffer code."""
 from google.protobuf import descriptor as _descriptor
 from google.protobuf import descriptor_pool as _descriptor_pool
@@ -13,7 +13,7 @@
     _runtime_version.Domain.PUBLIC,
     7,
     34,
-    1,
+    2,
     '',
     'google/protobuf/compiler/plugin.proto'
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-7.34.1/google/protobuf/descriptor_pb2.py 
new/protobuf-7.34.2/google/protobuf/descriptor_pb2.py
--- old/protobuf-7.34.1/google/protobuf/descriptor_pb2.py       2000-01-01 
01:00:00.000000000 +0100
+++ new/protobuf-7.34.2/google/protobuf/descriptor_pb2.py       2000-01-01 
01:00:00.000000000 +0100
@@ -2,7 +2,7 @@
 # Generated by the protocol buffer compiler.  DO NOT EDIT!
 # NO CHECKED-IN PROTOBUF GENCODE
 # source: google/protobuf/descriptor.proto
-# Protobuf Python Version: 7.34.1
+# Protobuf Python Version: 7.34.2
 """Generated protocol buffer code."""
 from google.protobuf import descriptor as _descriptor
 from google.protobuf import descriptor_pool as _descriptor_pool
@@ -13,7 +13,7 @@
     _runtime_version.Domain.PUBLIC,
     7,
     34,
-    1,
+    2,
     '',
     'google/protobuf/descriptor.proto'
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-7.34.1/google/protobuf/duration_pb2.py 
new/protobuf-7.34.2/google/protobuf/duration_pb2.py
--- old/protobuf-7.34.1/google/protobuf/duration_pb2.py 2000-01-01 
01:00:00.000000000 +0100
+++ new/protobuf-7.34.2/google/protobuf/duration_pb2.py 2000-01-01 
01:00:00.000000000 +0100
@@ -2,7 +2,7 @@
 # Generated by the protocol buffer compiler.  DO NOT EDIT!
 # NO CHECKED-IN PROTOBUF GENCODE
 # source: google/protobuf/duration.proto
-# Protobuf Python Version: 7.34.1
+# Protobuf Python Version: 7.34.2
 """Generated protocol buffer code."""
 from google.protobuf import descriptor as _descriptor
 from google.protobuf import descriptor_pool as _descriptor_pool
@@ -13,7 +13,7 @@
     _runtime_version.Domain.PUBLIC,
     7,
     34,
-    1,
+    2,
     '',
     'google/protobuf/duration.proto'
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-7.34.1/google/protobuf/empty_pb2.py 
new/protobuf-7.34.2/google/protobuf/empty_pb2.py
--- old/protobuf-7.34.1/google/protobuf/empty_pb2.py    2000-01-01 
01:00:00.000000000 +0100
+++ new/protobuf-7.34.2/google/protobuf/empty_pb2.py    2000-01-01 
01:00:00.000000000 +0100
@@ -2,7 +2,7 @@
 # Generated by the protocol buffer compiler.  DO NOT EDIT!
 # NO CHECKED-IN PROTOBUF GENCODE
 # source: google/protobuf/empty.proto
-# Protobuf Python Version: 7.34.1
+# Protobuf Python Version: 7.34.2
 """Generated protocol buffer code."""
 from google.protobuf import descriptor as _descriptor
 from google.protobuf import descriptor_pool as _descriptor_pool
@@ -13,7 +13,7 @@
     _runtime_version.Domain.PUBLIC,
     7,
     34,
-    1,
+    2,
     '',
     'google/protobuf/empty.proto'
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-7.34.1/google/protobuf/field_mask_pb2.py 
new/protobuf-7.34.2/google/protobuf/field_mask_pb2.py
--- old/protobuf-7.34.1/google/protobuf/field_mask_pb2.py       2000-01-01 
01:00:00.000000000 +0100
+++ new/protobuf-7.34.2/google/protobuf/field_mask_pb2.py       2000-01-01 
01:00:00.000000000 +0100
@@ -2,7 +2,7 @@
 # Generated by the protocol buffer compiler.  DO NOT EDIT!
 # NO CHECKED-IN PROTOBUF GENCODE
 # source: google/protobuf/field_mask.proto
-# Protobuf Python Version: 7.34.1
+# Protobuf Python Version: 7.34.2
 """Generated protocol buffer code."""
 from google.protobuf import descriptor as _descriptor
 from google.protobuf import descriptor_pool as _descriptor_pool
@@ -13,7 +13,7 @@
     _runtime_version.Domain.PUBLIC,
     7,
     34,
-    1,
+    2,
     '',
     'google/protobuf/field_mask.proto'
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-7.34.1/google/protobuf/runtime_version.py 
new/protobuf-7.34.2/google/protobuf/runtime_version.py
--- old/protobuf-7.34.1/google/protobuf/runtime_version.py      2000-01-01 
01:00:00.000000000 +0100
+++ new/protobuf-7.34.2/google/protobuf/runtime_version.py      2000-01-01 
01:00:00.000000000 +0100
@@ -29,7 +29,7 @@
 OSS_DOMAIN = Domain.PUBLIC
 OSS_MAJOR = 7
 OSS_MINOR = 34
-OSS_PATCH = 1
+OSS_PATCH = 2
 OSS_SUFFIX = ''
 
 DOMAIN = OSS_DOMAIN
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/protobuf-7.34.1/google/protobuf/source_context_pb2.py 
new/protobuf-7.34.2/google/protobuf/source_context_pb2.py
--- old/protobuf-7.34.1/google/protobuf/source_context_pb2.py   2000-01-01 
01:00:00.000000000 +0100
+++ new/protobuf-7.34.2/google/protobuf/source_context_pb2.py   2000-01-01 
01:00:00.000000000 +0100
@@ -2,7 +2,7 @@
 # Generated by the protocol buffer compiler.  DO NOT EDIT!
 # NO CHECKED-IN PROTOBUF GENCODE
 # source: google/protobuf/source_context.proto
-# Protobuf Python Version: 7.34.1
+# Protobuf Python Version: 7.34.2
 """Generated protocol buffer code."""
 from google.protobuf import descriptor as _descriptor
 from google.protobuf import descriptor_pool as _descriptor_pool
@@ -13,7 +13,7 @@
     _runtime_version.Domain.PUBLIC,
     7,
     34,
-    1,
+    2,
     '',
     'google/protobuf/source_context.proto'
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-7.34.1/google/protobuf/struct_pb2.py 
new/protobuf-7.34.2/google/protobuf/struct_pb2.py
--- old/protobuf-7.34.1/google/protobuf/struct_pb2.py   2000-01-01 
01:00:00.000000000 +0100
+++ new/protobuf-7.34.2/google/protobuf/struct_pb2.py   2000-01-01 
01:00:00.000000000 +0100
@@ -2,7 +2,7 @@
 # Generated by the protocol buffer compiler.  DO NOT EDIT!
 # NO CHECKED-IN PROTOBUF GENCODE
 # source: google/protobuf/struct.proto
-# Protobuf Python Version: 7.34.1
+# Protobuf Python Version: 7.34.2
 """Generated protocol buffer code."""
 from google.protobuf import descriptor as _descriptor
 from google.protobuf import descriptor_pool as _descriptor_pool
@@ -13,7 +13,7 @@
     _runtime_version.Domain.PUBLIC,
     7,
     34,
-    1,
+    2,
     '',
     'google/protobuf/struct.proto'
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-7.34.1/google/protobuf/timestamp_pb2.py 
new/protobuf-7.34.2/google/protobuf/timestamp_pb2.py
--- old/protobuf-7.34.1/google/protobuf/timestamp_pb2.py        2000-01-01 
01:00:00.000000000 +0100
+++ new/protobuf-7.34.2/google/protobuf/timestamp_pb2.py        2000-01-01 
01:00:00.000000000 +0100
@@ -2,7 +2,7 @@
 # Generated by the protocol buffer compiler.  DO NOT EDIT!
 # NO CHECKED-IN PROTOBUF GENCODE
 # source: google/protobuf/timestamp.proto
-# Protobuf Python Version: 7.34.1
+# Protobuf Python Version: 7.34.2
 """Generated protocol buffer code."""
 from google.protobuf import descriptor as _descriptor
 from google.protobuf import descriptor_pool as _descriptor_pool
@@ -13,7 +13,7 @@
     _runtime_version.Domain.PUBLIC,
     7,
     34,
-    1,
+    2,
     '',
     'google/protobuf/timestamp.proto'
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-7.34.1/google/protobuf/type_pb2.py 
new/protobuf-7.34.2/google/protobuf/type_pb2.py
--- old/protobuf-7.34.1/google/protobuf/type_pb2.py     2000-01-01 
01:00:00.000000000 +0100
+++ new/protobuf-7.34.2/google/protobuf/type_pb2.py     2000-01-01 
01:00:00.000000000 +0100
@@ -2,7 +2,7 @@
 # Generated by the protocol buffer compiler.  DO NOT EDIT!
 # NO CHECKED-IN PROTOBUF GENCODE
 # source: google/protobuf/type.proto
-# Protobuf Python Version: 7.34.1
+# Protobuf Python Version: 7.34.2
 """Generated protocol buffer code."""
 from google.protobuf import descriptor as _descriptor
 from google.protobuf import descriptor_pool as _descriptor_pool
@@ -13,7 +13,7 @@
     _runtime_version.Domain.PUBLIC,
     7,
     34,
-    1,
+    2,
     '',
     'google/protobuf/type.proto'
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-7.34.1/google/protobuf/wrappers_pb2.py 
new/protobuf-7.34.2/google/protobuf/wrappers_pb2.py
--- old/protobuf-7.34.1/google/protobuf/wrappers_pb2.py 2000-01-01 
01:00:00.000000000 +0100
+++ new/protobuf-7.34.2/google/protobuf/wrappers_pb2.py 2000-01-01 
01:00:00.000000000 +0100
@@ -2,7 +2,7 @@
 # Generated by the protocol buffer compiler.  DO NOT EDIT!
 # NO CHECKED-IN PROTOBUF GENCODE
 # source: google/protobuf/wrappers.proto
-# Protobuf Python Version: 7.34.1
+# Protobuf Python Version: 7.34.2
 """Generated protocol buffer code."""
 from google.protobuf import descriptor as _descriptor
 from google.protobuf import descriptor_pool as _descriptor_pool
@@ -13,7 +13,7 @@
     _runtime_version.Domain.PUBLIC,
     7,
     34,
-    1,
+    2,
     '',
     'google/protobuf/wrappers.proto'
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-7.34.1/protobuf.egg-info/PKG-INFO 
new/protobuf-7.34.2/protobuf.egg-info/PKG-INFO
--- old/protobuf-7.34.1/protobuf.egg-info/PKG-INFO      2026-03-19 
20:56:29.000000000 +0100
+++ new/protobuf-7.34.2/protobuf.egg-info/PKG-INFO      2026-05-20 
02:40:00.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: protobuf
-Version: 7.34.1
+Version: 7.34.2
 Summary: Protocol Buffers
 Home-page: https://developers.google.com/protocol-buffers/
 Download-URL: https://github.com/protocolbuffers/protobuf/releases
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-7.34.1/upb/mini_table/extension_registry.c 
new/protobuf-7.34.2/upb/mini_table/extension_registry.c
--- old/protobuf-7.34.1/upb/mini_table/extension_registry.c     2000-01-01 
01:00:00.000000000 +0100
+++ new/protobuf-7.34.2/upb/mini_table/extension_registry.c     2000-01-01 
01:00:00.000000000 +0100
@@ -100,3 +100,7 @@
     return NULL;
   }
 }
+
+size_t upb_ExtensionRegistry_Size(const upb_ExtensionRegistry* r) {
+  return upb_strtable_count(&r->exts);
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-7.34.1/upb/mini_table/extension_registry.h 
new/protobuf-7.34.2/upb/mini_table/extension_registry.h
--- old/protobuf-7.34.1/upb/mini_table/extension_registry.h     2000-01-01 
01:00:00.000000000 +0100
+++ new/protobuf-7.34.2/upb/mini_table/extension_registry.h     2000-01-01 
01:00:00.000000000 +0100
@@ -84,6 +84,9 @@
 UPB_API const upb_MiniTableExtension* upb_ExtensionRegistry_Lookup(
     const upb_ExtensionRegistry* r, const upb_MiniTable* t, uint32_t num);
 
+// Returns the number of extensions in the registry. For testing/debugging 
only.
+UPB_API size_t upb_ExtensionRegistry_Size(const upb_ExtensionRegistry* r);
+
 #ifdef __cplusplus
 } /* extern "C" */
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-7.34.1/upb/mini_table/generated_registry.c 
new/protobuf-7.34.2/upb/mini_table/generated_registry.c
--- old/protobuf-7.34.1/upb/mini_table/generated_registry.c     2000-01-01 
01:00:00.000000000 +0100
+++ new/protobuf-7.34.2/upb/mini_table/generated_registry.c     2000-01-01 
01:00:00.000000000 +0100
@@ -7,6 +7,7 @@
 
 #include "upb/mini_table/generated_registry.h"
 
+#include <stddef.h>
 #include <stdint.h>
 
 #include "upb/mem/alloc.h"
@@ -41,21 +42,17 @@
   const UPB_PRIVATE(upb_GeneratedExtensionListEntry)* entry =
       UPB_PRIVATE(upb_generated_extension_list);
   while (entry != NULL) {
-    // Comparing pointers to different objects is undefined behavior, so we
-    // convert them to uintptr_t and compare their values.
-    uintptr_t begin = (uintptr_t)entry->start;
-    uintptr_t end = (uintptr_t)entry->stop;
-    uintptr_t current = begin;
-    while (current < end) {
-      const upb_MiniTableExtension* ext =
-          (const upb_MiniTableExtension*)current;
+    const upb_MiniTableExtension** current = entry->start;
+    for (current = entry->start; current != entry->stop; ++current) {
+      const upb_MiniTableExtension* ext = *current;
       // Sentinels and padding introduced by the linker can result in zeroed
       // entries, so simply skip them.
-      if (upb_MiniTableExtension_Number(ext) == 0) {
+      if (*current == NULL) {
         // MSVC introduces padding that might not be sized exactly the same as
-        // upb_MiniTableExtension, so we can't iterate by sizeof.  This is a
-        // valid thing for any linker to do, so it's safer to just always do 
it.
-        current += UPB_ALIGN_OF(upb_MiniTableExtension);
+        // the linker array element, but it should be properly aligned, so just
+        // skipping empty elements should be safe.  (If the size and align of
+        // the array elements was different, we'd have to do something more
+        // complicated).
         continue;
       }
 
@@ -63,7 +60,6 @@
           kUpb_ExtensionRegistryStatus_Ok) {
         return false;
       }
-      current += sizeof(upb_MiniTableExtension);
     }
     entry = entry->next;
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/protobuf-7.34.1/upb/mini_table/internal/generated_registry.h 
new/protobuf-7.34.2/upb/mini_table/internal/generated_registry.h
--- old/protobuf-7.34.1/upb/mini_table/internal/generated_registry.h    
2000-01-01 01:00:00.000000000 +0100
+++ new/protobuf-7.34.2/upb/mini_table/internal/generated_registry.h    
2000-01-01 01:00:00.000000000 +0100
@@ -18,8 +18,8 @@
 #endif
 
 typedef struct UPB_PRIVATE(upb_GeneratedExtensionListEntry) {
-  const struct upb_MiniTableExtension* start;
-  const struct upb_MiniTableExtension* stop;
+  const struct upb_MiniTableExtension** start;
+  const struct upb_MiniTableExtension** stop;
   const struct UPB_PRIVATE(upb_GeneratedExtensionListEntry) * next;
 } UPB_PRIVATE(upb_GeneratedExtensionListEntry);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-7.34.1/upb/port/def.inc 
new/protobuf-7.34.2/upb/port/def.inc
--- old/protobuf-7.34.1/upb/port/def.inc        2000-01-01 01:00:00.000000000 
+0100
+++ new/protobuf-7.34.2/upb/port/def.inc        2000-01-01 01:00:00.000000000 
+0100
@@ -562,7 +562,15 @@
 //     }
 //   }
 
+#if defined(__GNUC__) && !defined(__clang__)
+// GCC can't handle mismatched retain attributes in the same section:
+//   https://github.com/protocolbuffers/protobuf/issues/26385
+// To work around this, we retain all linker array elements, even though this
+// effectively disables tree-shaking of unused extensions when using GCC.
+#define UPB_LINKARR_ATTR UPB_RETAIN
+#else
 #define UPB_LINKARR_ATTR
+#endif
 
 #define UPB_LINKARR_SENTINEL UPB_RETAIN __attribute__((weak, used))
 

++++++ protobuf-java-4.34.1.pom -> protobuf-java-4.34.2.pom ++++++
--- /work/SRC/openSUSE:Factory/protobuf/protobuf-java-4.34.1.pom        
2026-04-09 16:09:49.357700937 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new.1937/protobuf-java-4.34.2.pom      
2026-05-28 23:08:53.979900413 +0200
@@ -4,7 +4,7 @@
   <parent>
     <groupId>com.google.protobuf</groupId>
     <artifactId>protobuf-parent</artifactId>
-    <version>4.34.1</version>
+    <version>4.34.2</version>
   </parent>
 
   <artifactId>protobuf-java</artifactId>

++++++ protobuf-java-util-4.34.1.pom -> protobuf-java-util-4.34.2.pom ++++++
--- /work/SRC/openSUSE:Factory/protobuf/protobuf-java-util-4.34.1.pom   
2026-04-09 16:09:49.361701103 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new.1937/protobuf-java-util-4.34.2.pom 
2026-05-28 23:08:54.735931514 +0200
@@ -4,7 +4,7 @@
   <parent>
     <groupId>com.google.protobuf</groupId>
     <artifactId>protobuf-parent</artifactId>
-    <version>4.34.1</version>
+    <version>4.34.2</version>
   </parent>
 
   <artifactId>protobuf-java-util</artifactId>
@@ -16,7 +16,7 @@
     <dependency>
       <groupId>com.google.protobuf</groupId>
       <artifactId>protobuf-java</artifactId>
-      <version>4.34.1</version>
+      <version>4.34.2</version>
     </dependency>
             <dependency>
             <groupId>com.google.code.findbugs</groupId>

++++++ protobuf-javalite-4.34.1.pom -> protobuf-javalite-4.34.2.pom ++++++
--- /work/SRC/openSUSE:Factory/protobuf/protobuf-javalite-4.34.1.pom    
2026-04-09 16:09:49.385702097 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new.1937/protobuf-javalite-4.34.2.pom  
2026-05-28 23:08:56.444001780 +0200
@@ -4,7 +4,7 @@
   <parent>
     <groupId>com.google.protobuf</groupId>
     <artifactId>protobuf-parent</artifactId>
-    <version>4.34.1</version>
+    <version>4.34.2</version>
   </parent>
 
   <artifactId>protobuf-javalite</artifactId>

Reply via email to