From 1355f0322fba59e84ee50f6934f21110f971a722 Mon Sep 17 00:00:00 2001 From: jones_tony <> Date: Nov 09 2024 23:28:54 +0000 Subject: Update oprofile to version 1.4.0 / rev 58 via SR 1222903 https://build.opensuse.org/request/show/1222903 by user jones_tony + dimstar_suse - 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 --- diff --git a/.files b/.files index 8519a6f..f6be2f1 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index b272f97..d586972 100644 --- a/.rev +++ b/.rev @@ -412,4 +412,15 @@ <comment></comment> <requestid>1113945</requestid> </revision> + <revision rev="58" vrev="4"> + <srcmd5>473f79ea443e9daef5b1cfcfdcbefbc0</srcmd5> + <version>1.4.0</version> + <time>1731182303</time> + <user>dimstar_suse</user> + <comment>- 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 +</comment> + <requestid>1222903</requestid> + </revision> </revisionlist> diff --git a/oprofile-autoconf-fix-perf_events-detection.patch b/oprofile-autoconf-fix-perf_events-detection.patch new file mode 100644 index 0000000..ed24a08 --- /dev/null +++ b/oprofile-autoconf-fix-perf_events-detection.patch @@ -0,0 +1,28 @@ +From: Tony Jones <tonyj@suse.de> +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 <dimstar@opensuse.org> +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> diff --git a/oprofile.changes b/oprofile.changes index 8a2ca8e..97d7dac 100644 --- a/oprofile.changes +++ b/oprofile.changes @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Fri Nov 8 21:30:32 UTC 2024 - Tony Jones <tonyj@suse.com> + +- 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 + +------------------------------------------------------------------- Thu Sep 28 01:52:52 UTC 2023 - Tony Jones <tonyj@suse.com> - Fix build error, change user/group pre handling to procedure specified diff --git a/oprofile.spec b/oprofile.spec index 57328af..a245899 100644 --- a/oprofile.spec +++ b/oprofile.spec @@ -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 @@ Source5: README-BEFORE-ADDING-PATCHES 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