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-12-22 20:18:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sysdig (Old) and /work/SRC/openSUSE:Factory/.sysdig.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sysdig" Wed Dec 22 20:18:11 2021 rev:33 rq:942080 version:0.27.1 Changes: -------- --- /work/SRC/openSUSE:Factory/sysdig/sysdig.changes 2021-10-15 23:03:46.146089143 +0200 +++ /work/SRC/openSUSE:Factory/.sysdig.new.2520/sysdig.changes 2021-12-22 20:19:15.471880552 +0100 @@ -1,0 +2,5 @@ +Fri Dec 17 13:15:04 UTC 2021 - Bernhard Wiedemann <bwiedem...@suse.com> + +- Add sysdig-0.27.0-fixi586.patch to fix build of armv7 and i586 [#1717] + +------------------------------------------------------------------- New: ---- sysdig-0.27.0-fixi586.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sysdig.spec ++++++ --- /var/tmp/diff_new_pack.SYhseG/_old 2021-12-22 20:19:15.971880786 +0100 +++ /var/tmp/diff_new_pack.SYhseG/_new 2021-12-22 20:19:15.975880788 +0100 @@ -25,6 +25,7 @@ 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 +Patch1: sysdig-0.27.0-fixi586.patch BuildRequires: %{kernel_module_package_buildreqs} BuildRequires: cmake BuildRequires: fdupes @@ -43,7 +44,7 @@ BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(protobuf) BuildRequires: pkgconfig(zlib) -ExcludeArch: %{arm} aarch64 %{ix86} +ExcludeArch: aarch64 %kernel_module_package %description ++++++ sysdig-0.27.0-fixi586.patch ++++++ https://github.com/draios/sysdig/pull/1717 >From 92b02d72f3fd26e8b1de6fa202d3213a07c5870f Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" <bwiedem...@suse.de> Date: Wed, 9 Dec 2020 06:12:49 +0100 Subject: [PATCH] Fix compilation on i586 without this patch, compilation failed with ERROR: modpost: "__umoddi3" [/home/abuild/rpmbuild/BUILD/sysdig-0.27.0/build/driver/src/sysdig-probe.ko] undefined! sysdig-CLA-1.0-signed-off-by: Bernhard M. Wiedemann <bwiedem...@suse.de> --- driver/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/driver/main.c b/driver/main.c index fab205eff..81cfde9d4 100644 --- a/driver/main.c +++ b/driver/main.c @@ -1523,13 +1523,14 @@ static inline int drop_event(struct ppm_consumer_t *consumer, } if (consumer->dropping_mode) { + nanoseconds ns2 = ns; if (drop_flags & UF_ALWAYS_DROP) { ASSERT((drop_flags & UF_NEVER_DROP) == 0); return 1; } if (consumer->sampling_interval < SECOND_IN_NS && - (ns % SECOND_IN_NS) >= consumer->sampling_interval) { + do_div(ns2, SECOND_IN_NS) >= consumer->sampling_interval) { if (consumer->is_dropping == 0) { consumer->is_dropping = 1; record_drop_e(consumer, ns, drop_flags);