public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pcp] rawhide: Update to pcp-7.2.2
@ 2026-10-28 17:26 William Cohen
  0 siblings, 0 replies; only message in thread
From: William Cohen @ 2026-10-28 17:26 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/pcp
Branch : rawhide
Commit : 1776447d99ec4a945eea19c924cf36f3567ad71f
Author : William Cohen <wcohen@redhat.com>
Date   : 2026-10-28T13:23:57-04:00
Stats  : +84/-4 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/pcp/c/1776447d99ec4a945eea19c924cf36f3567ad71f?branch=rawhide

Log:
Update to pcp-7.2.2

---
diff --git a/pcp-bpftool.patch b/pcp-bpftool.patch
new file mode 100644
index 0000000..aabae65
--- /dev/null
+++ b/pcp-bpftool.patch
@@ -0,0 +1,28 @@
+commit 3e1a35a9357b1790ee69f545bf6732e1ba68f1f3
+Author: Yaakov Selkowitz <yselkowi@redhat.com>
+Date:   Wed Oct 14 11:10:27 2026 -0400
+
+    mirror: add u128 to linux/types.h
+    
+    This corresponds to kernel commit 224d80c584d3016cb8d83d1c33914fdd3508aa8c
+    and libbpf commit f90a9c487d7542d91fa584b83b6a624a4fbeb341,
+    and is necessary for building on aarch64 with latest kernel UAPI headers.
+    
+    Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
+
+diff --git a/vendor/github.com/libbpf/bpftool/include/linux/types.h b/vendor/github.com/libbpf/bpftool/include/linux/types.h
+index d2df5ed..f5ee0ed 100644
+--- a/vendor/github.com/libbpf/bpftool/include/linux/types.h
++++ b/vendor/github.com/libbpf/bpftool/include/linux/types.h
+@@ -10,6 +10,11 @@
+ #include <asm/types.h>
+ #include <asm/posix_types.h>
+ 
++#ifdef __SIZEOF_INT128__
++typedef unsigned __int128 __u128 __attribute__((aligned(16)));
++typedef __u128 u128;
++#endif
++
+ typedef uint64_t u64;
+ typedef __u32 u32;
+ typedef __u16 u16;

diff --git a/pcp-libbpf.patch b/pcp-libbpf.patch
new file mode 100644
index 0000000..6ab8d9a
--- /dev/null
+++ b/pcp-libbpf.patch
@@ -0,0 +1,33 @@
+commit f90a9c487d7542d91fa584b83b6a624a4fbeb341
+Author: Daniel Golle <daniel@makrotopia.org>
+Date:   Mon Sep 7 16:54:26 2026 +0100
+
+    include: add 128-bit integer types to linux/types.h
+    
+    Linux 7.3 declares the fpsimd registers in the arm64 sigcontext as
+    __u128 instead of __uint128_t, see kernel commit d4bf9e08d412 ("arm64:
+    uapi: Use __u128 instead of __uint128_t in UAPI headers"). The private
+    linux/types.h in include/ shadows the kernel's linux/types.h while
+    building libbpf, so with glibc, whose signal.h pulls in
+    asm/sigcontext.h, the build fails with an unknown type name __u128.
+    Add the __s128 and __u128 typedefs as the kernel's uapi and tools
+    headers define them.
+    
+    Signed-off-by: Daniel Golle <daniel@makrotopia.org>
+
+diff --git a/vendor/github.com/libbpf/libbpf/include/linux/types.h b/vendor/github.com/libbpf/libbpf/include/linux/types.h
+index cfb558a..3560e95 100644
+--- a/vendor/github.com/libbpf/libbpf/include/linux/types.h
++++ b/vendor/github.com/libbpf/libbpf/include/linux/types.h
+@@ -12,6 +12,11 @@
+ #include <asm/types.h>
+ #include <asm/posix_types.h>
+ 
++#ifdef __SIZEOF_INT128__
++typedef __signed__ __int128 __s128 __attribute__((aligned(16)));
++typedef unsigned __int128 __u128 __attribute__((aligned(16)));
++#endif
++
+ #define __bitwise__
+ #define __bitwise __bitwise__
+ 

diff --git a/pcp.spec b/pcp.spec
index f06da05..0767bc6 100644
--- a/pcp.spec
+++ b/pcp.spec
@@ -1,6 +1,6 @@
 Name:    pcp
-Version: 7.2.1
-Release: 1%{?dist}
+Version: 7.2.2
+Release: 3%{?dist}
 Summary: System-level performance monitoring and performance management
 License: GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0
 URL:     https://pcp.io
@@ -10,6 +10,9 @@ Source0: https://github.com/performancecopilot/pcp/releases/pcp-%{version}.tar.g
 ExcludeArch: %{ix86}
 %endif
 
+Patch1: pcp-libbpf.patch
+Patch2: pcp-bpftool.patch
+
 # The additional linker flags break out-of-tree PMDAs.
 # https://bugzilla.redhat.com/show_bug.cgi?id=2043092
 %undefine _package_note_flags
@@ -287,6 +290,13 @@ BuildRequires: qt5-qtsvg-devel
 %endif
 %endif
 
+%if 0%{?rhel} > 0 && 0%{?rhel} < 8
+# sqlite-devel is too old on CentOS 7, handled by configure-driven
+# conditional build
+%else
+BuildRequires: sqlite-devel >= 3.9.0
+%endif
+
 # Utilities used indirectly e.g. by scripts we install
 Requires: bash xz zstd gawk sed grep coreutils diffutils findutils
 Requires: which %{_hostname_executable} %{_ps_executable}
@@ -3549,7 +3559,16 @@ fi
 %files zeroconf -f pcp-zeroconf-files.rpm
 
 %changelog
-* Mon Aug 17 2026 Lauren Chilton <lchilton@redhat.com> - 7.2.1-1
+* Wed Oct 28 2026 William Cohen <wcohen@redhat.com> - 7.2.2-3
+- Backport libbpf and bpftool patches to allow building with linux 7.3 on aarch64
+
+* Mon Oct 19 2026 Lauren Chilton <lchilton@redhat.com> - 7.2.2-2
+- Include sqlite-devel package
+
+* Wed Oct 07 2026 Lauren Chilton <lchilton@redhat.com> - 7.2.2-1
+- Latest upstream release
+
+* Tue Aug 18 2026 Lauren Chilton <lchilton@redhat.com> - 7.2.1-1
 - Latest upstream release
 
 * Mon Aug 10 2026 Jan Kurik <jkurik@redhat.com> - 7.2.0-2

diff --git a/sources b/sources
index 77e30c3..6c91446 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pcp-7.2.1.tar.gz) = 166f0e1c3ff923171ae2d151181bfed99a936dff65d98f4ba9cd37a57a5b4b39485e09512a677cdc4c602e774b693ac8b3e0fa13d1c5ac4bccddb38f3c1ad2dc
+SHA512 (pcp-7.2.2.tar.gz) = 9bac28d272027ad833b5f7c844f5f69cd2eed23a5c54193a6f1bcb582e75773bf8e55646248fd4aee23647da14cb5461a0a14cdbb67a44b80aaad70a42ac9340

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-28 17:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 17:26 [rpms/pcp] rawhide: Update to pcp-7.2.2 William Cohen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox