public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Kurik <jkurik@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/pcp] rawhide: Update to pcp-7.2.3
Date: Mon, 30 Nov 2026 14:07:55 GMT [thread overview]
Message-ID: <179604767540.1.9120024347287341330.rpms-pcp-0208de49b831@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/pcp
Branch : rawhide
Commit : 0208de49b8314acd68564b8f1dddf6eb0e1fc6d1
Author : Jan Kurik <jkurik@redhat.com>
Date : 2026-11-30T15:07:38+01:00
Stats : +65/-39 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/pcp/c/0208de49b8314acd68564b8f1dddf6eb0e1fc6d1?branch=rawhide
Log:
Update to pcp-7.2.3
---
diff --git a/pcp-libbpf.patch b/pcp-libbpf.patch
deleted file mode 100644
index 6ab8d9a..0000000
--- a/pcp-libbpf.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-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 0767bc6..3c3bccb 100644
--- a/pcp.spec
+++ b/pcp.spec
@@ -1,6 +1,6 @@
Name: pcp
-Version: 7.2.2
-Release: 3%{?dist}
+Version: 7.2.3
+Release: 1%{?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,8 +10,7 @@ Source0: https://github.com/performancecopilot/pcp/releases/pcp-%{version}.tar.g
ExcludeArch: %{ix86}
%endif
-Patch1: pcp-libbpf.patch
-Patch2: pcp-bpftool.patch
+Patch1: pcp-bpftool.patch
# The additional linker flags break out-of-tree PMDAs.
# https://bugzilla.redhat.com/show_bug.cgi?id=2043092
@@ -1827,6 +1826,20 @@ collecting metrics from IBM Db2 database servers.
The ibm_db Python package must be installed separately before use.
# end pcp-pmda-db2
+#
+# pcp-pmda-db2local
+#
+%package pmda-db2local
+License: GPL-2.0-or-later
+Summary: Performance Co-Pilot (PCP) metrics from local IBM Db2 commands
+URL: https://pcp.io
+Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
+Requires: python3-pcp
+%description pmda-db2local
+This package contains the PCP Performance Metrics Domain Agent (PMDA) for
+collecting local IBM Db2 metrics through the Db2 command-line tools.
+# end pcp-pmda-db2local
+
%if !%{disable_mssql}
#
# pcp-pmda-mssql
@@ -2385,6 +2398,10 @@ PCP_GUI='pmchart|pmconfirm|pmdumptext|pmmessage|pmquery|pmsnap|pmtime'
PCP_CONF=$BACKDIR/src/include/pcp.conf
export PCP_CONF
+# force pcp.env to use the build configuration rather than inheriting
+# values from the packager's environment
+unset PCP_ENV_DONE
+unset PCP_DEMOS_DIR
. $BACKDIR/src/include/pcp.env
CFGFILELIST=''
for f in `echo $BACKDIR/debian/pcp-conf.{install,dirs}`
@@ -2504,6 +2521,24 @@ dso_files=$(awk '/^[^#]/{print $5}' $RPM_BUILD_ROOT%{_sysconfdir}/pcp/local.conf
| xargs -I{} basename {} | sort -u | tr '\n' '|' | sed 's/|$//')
dso_dirs=$(awk '/^[^#]/{print $5}' $RPM_BUILD_ROOT%{_sysconfdir}/pcp/local.conf \
| xargs -I{} dirname {} | xargs -I{} basename {} | sort -u | tr '\n' '|' | sed 's/|$//')
+# The PMDA installation directories hold files owned by several packages
+# (pcp, pcp-pmda-* and pcp-libs) that are not necessarily erased in the
+# same order in which the directory was created. Make pcp-conf, which
+# all of them depend on and which is therefore erased last, own the
+# directories as well, so that empty directories are removed with the
+# last package instead of being left behind.
+dso_paths=$(awk '/^[^#]/{print $5}' $RPM_BUILD_ROOT%{_sysconfdir}/pcp/local.conf \
+ | xargs -I{} dirname {} | sort -u)
+for d in $dso_paths
+do
+ echo $d >>pcp-conf-files
+ echo %{_pmdasexecdir}/`basename $d` >>pcp-conf-files
+done
+echo %{_pmdasdir} >>pcp-conf-files
+if [ -d $RPM_BUILD_ROOT%{_confdir}/pmrep ]
+then
+ echo %{_confdir}/pmrep >>pcp-conf-files
+fi
basic_manifest | grep -E "/($dso_files)$" >>pcp-libs-files
basic_manifest | grep -E "/pmdas/($dso_dirs)/help\.(dir|pag)$" >>pcp-libs-files
echo %{_rundir}/pmimport >>pcp-libs-files
@@ -2593,6 +2628,7 @@ basic_manifest | keep '(etc/pcp|pmdas)/mailq(/|$)' >pcp-pmda-mailq-files
basic_manifest | keep '(etc/pcp|pmdas)/mounts(/|$)' >pcp-pmda-mounts-files
basic_manifest | keep '(etc/pcp|pmdas)/mongodb(/|$)' >pcp-pmda-mongodb-files
basic_manifest | keep '(etc/pcp|pmdas)/db2(/|$)' >pcp-pmda-db2-files
+basic_manifest | keep '(etc/pcp|pmdas)/db2local(/|$)' >pcp-pmda-db2local-files
basic_manifest | keep '(etc/pcp|pmdas|pmieconf)/mssql(/|$)' >pcp-pmda-mssql-files
basic_manifest | keep '(etc/pcp|pmdas)/mysql(/|$)' >pcp-pmda-mysql-files
basic_manifest | keep '(etc/pcp|pmdas)/named(/|$)' >pcp-pmda-named-files
@@ -2641,7 +2677,7 @@ for pmda_package in \
activemq amdgpu apache \
bash bind2 bonding bpf bpftrace \
chrony cisco \
- db2 dbping denki docker dm ds389 ds389log \
+ db2 db2local dbping denki docker dm ds389 ds389log \
elasticsearch \
farm \
gfs2 gluster gpfs gpsd \
@@ -2751,6 +2787,19 @@ $1 == "l" {
print $3 >> f;
}'
+# The documentation and dstat packages share directories with other PCP
+# packages that are not necessarily erased in the same order. List the
+# shared directories for these packages as well, so that the last package
+# to be removed deletes them instead of leaving empty directories behind.
+for d in %{_datadir}/pcp $PCP_DEMOS_DIR
+do
+ echo "%%dir %%attr(755,root,root) $d" >>pcp-doc-files.rpm
+done
+if [ -d $RPM_BUILD_ROOT%{_confdir}/pmrep ]
+then
+ echo "%%dir %%attr(755,root,root) %{_confdir}/pmrep" >>pcp-dstat-files.rpm
+fi
+
%if !%{disable_systemd}
mkdir -p $DIST_ROOT/$PCP_SYSTEMDTMPFILES_DIR
sort -u $DIST_TMPFILES | awk '
@@ -3036,6 +3085,9 @@ exit 0
%preun pmda-db2
%{pmda_remove "$1" "db2"}
+%preun pmda-db2local
+%{pmda_remove "$1" "db2local"}
+
%if !%{disable_mssql}
%preun pmda-mssql
%{pmda_remove "$1" "mssql"}
@@ -3400,6 +3452,8 @@ fi
%files pmda-db2 -f pcp-pmda-db2-files.rpm
+%files pmda-db2local -f pcp-pmda-db2local-files.rpm
+
%if !%{disable_mssql}
%files pmda-mssql -f pcp-pmda-mssql-files.rpm
%endif
@@ -3559,6 +3613,11 @@ fi
%files zeroconf -f pcp-zeroconf-files.rpm
%changelog
+* Mon Nov 30 2026 Jan Kurik <jkurik@redhat.com> - 7.2.3-1
+- Latest upstream release
+- New subpackage: pcp-pmda-db2local
+- Drop pcp-libbpf.patch (fix merged upstream in 7.2.3)
+
* 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
diff --git a/sources b/sources
index 6c91446..6fc0bf6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pcp-7.2.2.tar.gz) = 9bac28d272027ad833b5f7c844f5f69cd2eed23a5c54193a6f1bcb582e75773bf8e55646248fd4aee23647da14cb5461a0a14cdbb67a44b80aaad70a42ac9340
+SHA512 (pcp-7.2.3.tar.gz) = 33959080a8363e2c1c74cfcd1bf9540625ff5e3e7d3db2e0733aee12ce9885dd15b29e870b88e16e2915803ab83033b0153c2a800d23d7a6e171c27c19f453c5
reply other threads:[~2026-11-30 14:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179604767540.1.9120024347287341330.rpms-pcp-0208de49b831@fedoraproject.org \
--to=jkurik@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox