Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package oprofile for openSUSE:Factory 
checked in at 2024-11-09 20:58:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/oprofile (Old)
 and      /work/SRC/openSUSE:Factory/.oprofile.new.2017 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "oprofile"

Sat Nov  9 20:58:23 2024 rev:58 rq:1222903 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes        2023-09-29 
21:14:27.711671005 +0200
+++ /work/SRC/openSUSE:Factory/.oprofile.new.2017/oprofile.changes      
2024-11-09 20:59:18.812772802 +0100
@@ -1,0 +2,8 @@
+Fri Nov  8 21:30:32 UTC 2024 - Tony Jones <[email protected]>
+
+- Feature detection of perf_events API (required) was failing causing the
+  build to fail.  Reported by DimStar Build problem notification email.
+
+  New patch: oprofile-autoconf-fix-perf_events-detection.patch 
+
+-------------------------------------------------------------------

New:
----
  oprofile-autoconf-fix-perf_events-detection.patch

BETA DEBUG BEGIN:
  New:
  New patch: oprofile-autoconf-fix-perf_events-detection.patch 
BETA DEBUG END:

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

Other differences:
------------------
++++++ oprofile.spec ++++++
--- /var/tmp/diff_new_pack.UYK3Ua/_old  2024-11-09 20:59:19.380796430 +0100
+++ /var/tmp/diff_new_pack.UYK3Ua/_new  2024-11-09 20:59:19.384796597 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package oprofile
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,6 +31,7 @@
 Patch1:         %{name}-no-libjvm-version.patch
 Patch2:         %{name}-pfm-ppc.patch
 Patch3:         %{name}-binutils.patch
+Patch4:         %{name}-autoconf-fix-perf_events-detection.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  binutils-devel

++++++ oprofile-autoconf-fix-perf_events-detection.patch ++++++
From: Tony Jones <[email protected]>
Date: Fri Nov  8 01:23:51 PM PST 2024
Subject: fix autoconf detection of perf_events
Upstream: pending
References: Message-ID: <169524738639.21909.3072410117418186253@localhost> 

From: DimStar / Dominique Leuenberger <[email protected]>
Subject: openSUSE:Factory - oprofile - Build problem notification

Feature detection of perf_events API (required) was failing causing build
to fail.  Fix forwarded to oprofile maintainer.

---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index dc447f89..363bd440 100644
--- a/configure.ac
+++ b/configure.ac
@@ -116,6 +116,7 @@ if test "$kernel_may_have_perf_events_support" = "yes"; then
                rm -f test-for-PERF_EVENT_OPEN
                AC_LANG_CONFTEST(
                        [AC_LANG_PROGRAM([[#include <linux/perf_event.h>
+                               #include <unistd.h>
                                #include <asm/unistd.h>
                                #include <sys/types.h>
                                #include <string.h>

Reply via email to