Package: libgrpc++1
Version: 1.26.0-3
Severity: important
Tags: patch upstream
X-Debbugs-Cc: o...@debian.org, debian-scie...@lists.debian.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
Hello! As part of creating the new bazel-bootstrap we have run into a
bug fixed upstream in 1.30 https://github.com/grpc/grpc/issues/21213 but
we woudl like to not have to wait for abseil to pass the NEW queue.
Attached is a cherry-picked patch from upstream that fixes the issue. If
you could accept it and release 1.26.0-4 with it, then that would be
very appreciated!
Thanks in advance,
- -- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (650, 'testing'), (600, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64
Kernel: Linux 5.7.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libgrpc++1 depends on:
ii libc6 2.30-8
ii libgcc-s1 10.1.0-4
pn libgrpc9
ii libprotobuf22 3.11.4-5
pn libprotobuf23
ii libstdc++6 10.1.0-4
ii zlib1g 1:1.2.11.dfsg-2
libgrpc++1 recommends no packages.
libgrpc++1 suggests no packages.
-BEGIN PGP SIGNATURE-
iQJGBAEBCgAwFiEEck1gkzcRPHEFUNdHPCZ2P2xn5uIFAl8R6lESHGNydXNvZUBk
ZWJpYW4ub3JnAAoJEDwmdj9sZ+biy0EP/jl6/H02JabrQnRCTdfQuTwg6iouu+8r
n1zD4695e3OFUBHLFQuOcPsIEjGVqv/N3q6lB1grUGV9oUrjeG5UXpvcIKIx/+V6
tC2UPK7vTAiiw9KcWBobR+M4pEMcCO0XzpH1DRcjvnB3qtnYnsqSIjTfJ2cxVRE/
ssmLd0MZ6YHVCIanEFtWz1dPp4raJJ4UxAm9yOYgPgAm/D1ZDidSZfSgSkJ+xGER
9yBOjRi7hGkQs/6l0FBhUpCwHliWkZTuqyMswaPn3gRREkJdsWLyK7ULn2ZnO8cl
KPkxz/PdAlxLfUw6AG27RLEq4ZPEtuNapq3vks3OtbLyB8zZ8ISssrg1aI937Pq5
rcILKzUN/2PiwanxAR3trn0PCMwoV6lJVc0Ipp/85WPzh1WC4clSlfy9lpGm0ymU
VX0nRl2Sstej+a1AKYU3mRzLmz2OVGHTheSMdAkxtOcgdCxNAjPjHuEau9J2f1gR
It3UGlBd8wjSNcrlvUV7csAOJKWrYRJkG4/3bXCTnltMDtdIGfIs+NpKhzNc6urj
CrZV5afIrrDeZkqLp3xklbpAWCDUgdb6KQ5WiRkUyN8Fz3I8sQTHf2OIAprm4ozs
X7fx0voBUIaIvyA7o2QXQ2JupzI/tgH/VH1E1SZdy2uCTBOClVS1/KfcQWEbiC1J
Xa6qNMrlZM+F
=OAEa
-END PGP SIGNATURE-
diff -Nru grpc-1.26.0/debian/changelog grpc-1.26.0/debian/changelog
--- grpc-1.26.0/debian/changelog2020-04-30 23:13:54.0 +0200
+++ grpc-1.26.0/debian/changelog2020-07-17 18:27:14.0 +0200
@@ -1,3 +1,11 @@
+grpc (1.26.0-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Cherry-pick patch from upstream while we wait for grpc version 1.3.0 which
is
+waiting for abseil to pass the NEW queue.
+
+ -- Michael R. Crusoe Fri, 17 Jul 2020 18:27:14 +0200
+
grpc (1.26.0-3) unstable; urgency=medium
* Don't check for Sphinx version (closes: #955064).
diff -Nru grpc-1.26.0/debian/patches/remove_grpc_sources_from_grpc++.patch
grpc-1.26.0/debian/patches/remove_grpc_sources_from_grpc++.patch
--- grpc-1.26.0/debian/patches/remove_grpc_sources_from_grpc++.patch
1970-01-01 01:00:00.0 +0100
+++ grpc-1.26.0/debian/patches/remove_grpc_sources_from_grpc++.patch
2020-07-17 18:27:09.0 +0200
@@ -0,0 +1,1979 @@
+From e7a9415a8d79a378deb3cec3a24ee2d03903f4c8 Mon Sep 17 00:00:00 2001
+From: Esun Kim
+Date: Tue, 14 Jan 2020 16:35:23 -0800
+Subject: [PATCH] Remove grpc sources from grpc++
+Origin:
upstream,https://github.com/grpc/grpc/pull/21662/commits/e7a9415a8d79a378deb3cec3a24ee2d03903f4c8
+
+"This is a rollback of commit in #20988, which introduced the ODR
+violation which causes an undefined behavior, in this case, segfault in
+trying to initialize the same global variable multiple times."
+
+---
+ BUILD.gn| 240 -
+ CMakeLists.txt | 396
+ Makefile| 396
+ build.yaml | 1 -
+ grpc.gyp| 396
+ tools/doxygen/Doxyfile.c++.internal | 240 -
+ 6 files changed, 1669 deletions(-)
+
+--- grpc-1.26.0.orig/BUILD.gn
grpc-1.26.0/BUILD.gn
+@@ -1191,135 +1191,32 @@
+ "include/grpcpp/support/sync_stream_impl.h",
+ "include/grpcpp/support/time.h",
+ "include/grpcpp/support/validate_service_config.h",
+-"src/core/ext/filters/client_channel/backend_metric.cc",
+-"src/core/ext/filters/client_channel/backend_metric.h",
+-"src/core/ext/filters/client_channel/backup_poller.cc",
+-"src/core/ext/filters/client_channel/backup_poller.h",
+-"src/core/ext/filters/client_channel/channel_connectivity.cc",
+-"src/core/ext/filters/client_channel/client_channel.cc",
+-"src/core/ext/filters/client_channel/client_channel.h",
+-"src/core/ext/filters/client_channel/client_channel_channelz.cc",
+-"src/core/ext/filters/client_channel/client_channel_channelz.h",
+-