Source: open-vm-tools
Version: 12.1.0-2
Severity: important
Usertags: grpc1_51
Tags: ftbfs bookworm sid patch

Hi,

I would like to start the gRPC v1.51 transition real soon. Your
package fails to build with it. I have a simple patch for you which
fixes the problem.
Please be prepared to apply it when time comes.

Thanks,
Laszlo/GCS
diff -Nru open-vm-tools-12.1.0/debian/patches/grpc_1.51.patch open-vm-tools-12.1.0/debian/patches/grpc_1.51.patch
--- open-vm-tools-12.1.0/debian/patches/grpc_1.51.patch	1970-01-01 01:00:00.000000000 +0100
+++ open-vm-tools-12.1.0/debian/patches/grpc_1.51.patch	2022-12-05 19:10:31.000000000 +0100
@@ -0,0 +1,19 @@
+Description: additional libraries to link with for gRPC 1.51+
+ Just add libraries to link with.
+Author: Laszlo Boszormenyi (GCS) <g...@julia.gcs.org.hu>
+Forwarded: no
+Last-Update: 2022-12-05
+
+---
+
+--- open-vm-tools-12.1.0.orig/open-vm-tools/services/plugins/containerInfo/Makefile.am
++++ open-vm-tools-12.1.0/open-vm-tools/services/plugins/containerInfo/Makefile.am
+@@ -63,6 +63,8 @@ libcontainerInfo_la_SOURCES += container
+ libcontainerInfo_la_CPPFLAGS += @GRPC_CPPFLAGS@
+ libcontainerInfo_la_LDFLAGS += -lprotobuf
+ libcontainerInfo_la_LDFLAGS += -lgrpc++
++libcontainerInfo_la_LDFLAGS += -lgpr
++libcontainerInfo_la_LDFLAGS += -labsl_synchronization
+ 
+ tasks.grpc.pb.cc containers.grpc.pb.cc: %.grpc.pb.cc : %.proto %.pb.cc
+ 	$(PROTOC) -I. -I$(GOGO_PROTOPATH) \
diff -Nru open-vm-tools-12.1.0/debian/patches/series open-vm-tools-12.1.0/debian/patches/series
--- open-vm-tools-12.1.0/debian/patches/series	2022-11-14 16:19:10.000000000 +0100
+++ open-vm-tools-12.1.0/debian/patches/series	2022-12-05 19:10:31.000000000 +0100
@@ -1,2 +1,3 @@
 use-debian-pam
 debian/scsi-udev-rule
+grpc_1.51.patch

Reply via email to