Source: grpc
Version: 1.51.1-5
Severity: serious
Tags: ftbfs patch
The abseil 20240722.0 transition has started (#1081553) and grpc FTBFS
with the new version:
/usr/bin/c++ -I/build/reproducible-path/grpc-1.51.1/include -I/build/reproducible-path/grpc-1.51.1 -I/build/reproducible-path/grpc-1.51.1/third_party/address_sorting/include -I/build/reproducible-path/grpc-1.51.1/src/core/ext/upb-generated -I/build/
reproducible-path/grpc-1.51.1/src/core/ext/upbdefs-generated -I/build/reproducible-path/grpc-1.51.1/third_party/upb -I/build/reproducible-path/grpc-1.51.1/third_party/xxhash -g -O2 -ffile-prefix-map=/build/reproducible-path/grpc-1.51.1=. -fstack-
protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++14 -fPIC -pthread -DNOMINMAX -MD -MT CMakeFiles/grpc.dir/src/core/lib/iomgr/wakeup_fd_pipe.cc.o -MF CMakeFiles/grpc.dir/
src/core/lib/iomgr/wakeup_fd_pipe.cc.o.d -o CMakeFiles/grpc.dir/src/core/lib/iomgr/wakeup_fd_pipe.cc.o -c /build/reproducible-path/grpc-1.51.1/src/core/lib/iomgr/wakeup_fd_pipe.cc
/build/reproducible-path/grpc-1.51.1/src/core/lib/iomgr/tcp_posix.cc: In function ‘void update_rcvlowat({anonymous}::grpc_tcp*)’:
/build/reproducible-path/grpc-1.51.1/src/core/lib/iomgr/tcp_posix.cc:861:19: error: ‘StrCat’ is not a member of ‘absl’
861 | absl::StrCat("Cannot set SO_RCVLOWAT on fd=", tcp->fd,
| ^~~~~~ /build/reproducible-path/grpc-1.51.1/src/core/lib/iomgr/tcp_posix.cc: In function ‘bool tcp_do_read({anonymous}::grpc_tcp*, grpc_error_handle*)’:
/build/reproducible-path/grpc-1.51.1/src/core/lib/iomgr/tcp_posix.cc:951:58: error: ‘StrCat’ is not a member of ‘absl’
951 | tcp_annotate_error(absl::InternalError(absl::StrCat(
| ^~~~~~
This looks like some missing #includes. I'll pick my way through and
find them.
In the meantime, I see that 1.59.5-1 already supports the newer abseil,
here's a patch to get 1.59.5-1 building gain (essentially, merging the
latest commit from my MR to unstable).
diff --git a/debian/changelog b/debian/changelog
index 993c66177d..48f17b9a92 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+grpc (1.59.5-1.1) unstable; urgency=medium
+
+ [ Stefano Rivera <
stefanor@debian.org> ]
+ * Patch: Cython 3 support.
+ * Patch: Python 3.13 support (closes: #1084603).
+ * Patch: GCC-14 support (closes: #1075045).
+
+ -- Stefano Rivera <
stefanor@debian.org> Mon, 10 Mar 2025 09:06:20 -0400
+
grpc (1.59.5-1) experimental; urgency=medium
* New major upstream release.
diff --git a/debian/control b/debian/control
index 38aff01ec8..4cf6990138 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13), cmake, pkgconf,
ruby-rspec, ruby-simplecov,
dh-python,
python3-all-dev,
- cython3-legacy,
+ cython3,
python3-six,
python3-setuptools,
python3-pkg-resources,
diff --git a/debian/patches/cython3-deadlocks.patch b/debian/patches/cython3-deadlocks.patch
new file mode 100644
index 0000000000..fd0362de99
--- /dev/null
+++ b/debian/patches/c