public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: William Cohen <wcohen@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rr] epel10.3: Fix rawhide FTBFS. (rhbz#2341291)
Date: Tue, 10 Nov 2026 21:34:19 GMT	[thread overview]
Message-ID: <179434645900.1.3477075002288740331.rpms-rr-a93305d0ca8c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rr
Branch : epel10.3
Commit : a93305d0ca8c5698c5944e487c78ea29ae544f99
Author : William Cohen <wcohen@redhat.com>
Date   : 2025-01-23T11:17:42-05:00
Stats  : +24/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rr/c/a93305d0ca8c5698c5944e487c78ea29ae544f99?branch=epel10.3

Log:
Fix rawhide FTBFS. (rhbz#2341291)

---
diff --git a/rr-gcc15.patch b/rr-gcc15.patch
new file mode 100644
index 0000000..dfd6734
--- /dev/null
+++ b/rr-gcc15.patch
@@ -0,0 +1,19 @@
+diff -up rr-5.8.0/src/test/sched_attr.c.orig rr-5.8.0/src/test/sched_attr.c
+--- rr-5.8.0/src/test/sched_attr.c.orig	2025-01-23 08:05:49.358501077 -0500
++++ rr-5.8.0/src/test/sched_attr.c	2025-01-23 08:06:01.627561344 -0500
+@@ -2,6 +2,7 @@
+ 
+ #include "util.h"
+ 
++#if 0
+ struct sched_attr {
+   uint32_t size;
+   uint32_t sched_policy;
+@@ -12,6 +13,7 @@ struct sched_attr {
+   uint64_t sched_deadline;
+   uint64_t sched_period;
+ };
++#endif
+ 
+ int main(void) {
+   struct sched_attr* attr;

diff --git a/rr.spec b/rr.spec
index 7241113..6482822 100644
--- a/rr.spec
+++ b/rr.spec
@@ -4,7 +4,7 @@
 %global commit da33770d22b404d7333e46e26495eaca0c5a6d8a
 %global gittag 5.8.0
 %global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global baserelease 4
+%global baserelease 5
 
 ExclusiveArch:  %{ix86} x86_64 aarch64
 
@@ -27,6 +27,7 @@ License:        LicenseRef-Callaway-MIT AND CC0-1.0 AND LicenseRef-Callaway-BSD
 URL:            http://rr-project.org
 
 Source: https://github.com/rr-debugger/rr/archive/%{gittag}/%{name}-%{version}.tar.gz
+Patch1: rr-gcc15.patch
 
 %if  0%{?rhel} == 7
 BuildRequires: cmake3
@@ -125,6 +126,9 @@ patchelf --set-rpath '%{_libdir}/rr/' %{buildroot}%{_libdir}/rr/testsuite/obj/bi
 %license LICENSE
 
 %changelog
+* Thu Jan 23 2025 William Cohen <wcohen@redhat.com> - 5.8.0-5
+- Fix FTBFS issue with gcc-15.
+
 * Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.8.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
 

                 reply	other threads:[~2026-11-10 21:34 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=179434645900.1.3477075002288740331.rpms-rr-a93305d0ca8c@fedoraproject.org \
    --to=wcohen@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