Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sysdig for openSUSE:Factory checked 
in at 2021-10-15 23:03:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sysdig (Old)
 and      /work/SRC/openSUSE:Factory/.sysdig.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sysdig"

Fri Oct 15 23:03:33 2021 rev:32 rq:925149 version:0.27.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/sysdig/sysdig.changes    2021-01-19 
16:02:41.691425355 +0100
+++ /work/SRC/openSUSE:Factory/.sysdig.new.1890/sysdig.changes  2021-10-15 
23:03:46.146089143 +0200
@@ -1,0 +2,8 @@
+Wed Oct 13 06:37:57 UTC 2021 - Christophe Giboudeaux <[email protected]>
+
+- Add Gentoo patch to fix build with grpc 1.41 (gh#draios/sysdig#1778)
+  * 0001-sysdig-fix-linking-with-grpc-1.41.patch (amended for Leap)
+- Also exclude %ix86 platforms. sysdig 0.27 never built
+  successfully.
+
+-------------------------------------------------------------------

New:
----
  0001-sysdig-fix-linking-with-grpc-1.41.patch

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

Other differences:
------------------
++++++ sysdig.spec ++++++
--- /var/tmp/diff_new_pack.lAhYEa/_old  2021-10-15 23:03:47.122089839 +0200
+++ /var/tmp/diff_new_pack.lAhYEa/_new  2021-10-15 23:03:47.126089842 +0200
@@ -24,6 +24,7 @@
 Group:          System/Monitoring
 URL:            http://www.sysdig.org/
 Source0:        
https://github.com/draios/%{name}/archive/%{version}/sysdig-%{version}.tar.gz
+Patch0:         0001-sysdig-fix-linking-with-grpc-1.41.patch
 BuildRequires:  %{kernel_module_package_buildreqs}
 BuildRequires:  cmake
 BuildRequires:  fdupes
@@ -42,7 +43,7 @@
 BuildRequires:  pkgconfig(openssl)
 BuildRequires:  pkgconfig(protobuf)
 BuildRequires:  pkgconfig(zlib)
-ExcludeArch:    %{arm} aarch64
+ExcludeArch:    %{arm} aarch64 %{ix86}
 %kernel_module_package
 
 %description
@@ -52,7 +53,7 @@
 cherry on top.
 
 %prep
-%autosetup
+%autosetup -p1
 
 %build
 export SYSDIG_CHISEL_DIR=%{_datadir}%{name}/chisels

++++++ 0001-sysdig-fix-linking-with-grpc-1.41.patch ++++++
>From 54fde8e99a5b8637906fe93d3de2f4cc57eda1cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Holger=20Hoffst=C3=A4tte?= <[email protected]>
Date: Fri, 8 Oct 2021 23:54:59 +0200
Subject: [PATCH] sysdig: fix linking with grpc-1.41

---
 CMakeLists.txt                    | 1 +
 userspace/libsinsp/CMakeLists.txt | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1f34f1d..c0354b2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -552,6 +552,7 @@ if(NOT WIN32 AND NOT APPLE)
                        else()
                                message(FATAL_ERROR "Couldn't find system grpc")
                        endif()
+                       find_library(ABSL_SYNC_LIB NAMES absl_synchronization)
                        find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin)
                        if(NOT GRPC_CPP_PLUGIN)
                                message(FATAL_ERROR "System grpc_cpp_plugin not 
found")
diff --git a/userspace/libsinsp/CMakeLists.txt 
b/userspace/libsinsp/CMakeLists.txt
index d72f911..6077927 100644
--- a/userspace/libsinsp/CMakeLists.txt
+++ b/userspace/libsinsp/CMakeLists.txt
@@ -214,6 +214,10 @@ if(NOT WIN32)
                                "${JQ_LIB}"
                                "${B64_LIB}")
 
+                               if(ABSL_SYNC_LIB)
+                                       target_link_libraries(sinsp 
"${ABSL_SYNC_LIB}")
+                               endif()
+
                        if(NOT MUSL_OPTIMIZED_BUILD)
                        target_link_libraries(sinsp
                                rt
-- 
2.33.0

Reply via email to