Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rt-tests for openSUSE:Factory checked in at 2025-03-11 20:45:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rt-tests (Old) and /work/SRC/openSUSE:Factory/.rt-tests.new.19136 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rt-tests" Tue Mar 11 20:45:53 2025 rev:13 rq:1252017 version:2.8 Changes: -------- --- /work/SRC/openSUSE:Factory/rt-tests/rt-tests.changes 2025-01-09 15:08:46.139623680 +0100 +++ /work/SRC/openSUSE:Factory/.rt-tests.new.19136/rt-tests.changes 2025-03-11 20:47:09.598811519 +0100 @@ -1,0 +2,6 @@ +Mon Mar 10 11:40:47 UTC 2025 - Christophe Marin <christo...@krop.fr> + +- Add upstream change: + * rt-tests_glibc_2.41.patch + +------------------------------------------------------------------- New: ---- rt-tests_glibc_2.41.patch BETA DEBUG BEGIN: New:- Add upstream change: * rt-tests_glibc_2.41.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rt-tests.spec ++++++ --- /var/tmp/diff_new_pack.igM9FL/_old 2025-03-11 20:47:10.074831450 +0100 +++ /var/tmp/diff_new_pack.igM9FL/_new 2025-03-11 20:47:10.074831450 +0100 @@ -24,6 +24,8 @@ Group: System/Benchmark URL: https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git Source0: https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/snapshot/rt-tests-%{version}.tar.gz +# PATCH-FIX-UPSTREAM +Patch0: rt-tests_glibc_2.41.patch BuildRequires: libnuma-devel BuildRequires: python-rpm-macros BuildRequires: python3-base ++++++ rt-tests_glibc_2.41.patch ++++++ >From d3a23a0cc76789c3083df3bad78982cd49bc4c5e Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz <yselk...@redhat.com> Date: Wed, 29 Jan 2025 16:46:11 -0500 Subject: Fix rt-tests build with glibc-2.41 The sched_*attr APIs were added to glibc https://sourceware.org/git/?p=glibc.git;a=commit;h=21571ca0d70302909cf72707b2a7736cf12190a0 This fixes the build conflict in rt-tests with glibc-2.4 Signed-off-by: Yaakov Selkowitz <yselk...@redhat.com> Signed-off-by: John Kacur <jka...@redhat.com> --- src/include/rt-sched.h | 2 ++ src/lib/rt-sched.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/include/rt-sched.h b/src/include/rt-sched.h index 80171c7..dfd7f45 100644 --- a/src/include/rt-sched.h +++ b/src/include/rt-sched.h @@ -42,6 +42,7 @@ #define __NR_sched_getattr 275 #endif +#if ! __GLIBC_PREREQ(2, 41) struct sched_attr { uint32_t size; uint32_t sched_policy; @@ -67,5 +68,6 @@ int sched_getattr(pid_t pid, struct sched_attr *attr, unsigned int size, unsigned int flags); +#endif #endif /* __RT_SCHED_H__ */ diff --git a/src/lib/rt-sched.c b/src/lib/rt-sched.c index 8023bc7..2500abd 100644 --- a/src/lib/rt-sched.c +++ b/src/lib/rt-sched.c @@ -14,6 +14,7 @@ #include "rt-sched.h" +#if ! __GLIBC_PREREQ(2, 41) int sched_setattr(pid_t pid, const struct sched_attr *attr, unsigned int flags) @@ -28,3 +29,4 @@ int sched_getattr(pid_t pid, { return syscall(__NR_sched_getattr, pid, attr, size, flags); } +#endif -- cgit 1.2.3-korg