#1145000 protobuf: FTBFS, deprecated enum-enum conversion

Package:
src:protobuf
Source:
src:protobuf
Submitter:
Maximiliano Curia
Date:
2026-08-22 11:49:04 UTC
Severity:
normal
Tags:
#1145000#5
Date:
2026-08-21 10:41:42 UTC
From:
To:
Package: src:protobuf
Version: 3.21.12-16
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch
Severity: serious

Hi!

While rebuilding the python related packages against the python version
3.15rc1 we found that numba fails to build from source [1], the same
issue is reported by the reproducible rebuilds [2].

It seems that this is cause by a deprecation introduced in gcc 15 when
trying to combine different types of enums. This problems is already
fixed upstream (in the rather opaque merge
6dd8af4ecfa7987bddb309862932886b84f1e4ef), and shipped with versions (\d.)?22+

Please consider adding this or a similar backport in future uploads or
consider uploading a newer version.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/1017954/
[2]: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/protobuf.html