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 FTBFS issue with gcc-13.
Date: Tue, 10 Nov 2026 21:34:10 GMT [thread overview]
Message-ID: <179434645006.1.14100729557047700252.rpms-rr-8e3b8a391496@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rr
Branch : epel10.3
Commit : 8e3b8a391496d2283e3a0b3764c6759a6cd7506b
Author : William Cohen <wcohen@redhat.com>
Date : 2023-01-18T15:29:33-05:00
Stats : +47/-31 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rr/c/8e3b8a391496d2283e3a0b3764c6759a6cd7506b?branch=epel10.3
Log:
Fix FTBFS issue with gcc-13.
---
diff --git a/rr-cstdint.patch b/rr-cstdint.patch
new file mode 100644
index 0000000..63f536e
--- /dev/null
+++ b/rr-cstdint.patch
@@ -0,0 +1,41 @@
+From 23ff468f083234b010df3daf69fa2d603ec0046c Mon Sep 17 00:00:00 2001
+From: William Cohen <wcohen@redhat.com>
+Date: Wed, 18 Jan 2023 12:15:04 -0500
+Subject: [PATCH] Explicitly include <cstdint> where required.
+
+The uint8_t and uintptr_t ptr types are from the header <cstdint>.
+Earlier versions of gcc appear to declare them even if the header
+is not included, but gcc-13 does not. Explicitly including the
+header to allow compilations with gcc-13.
+---
+ src/log.h | 1 +
+ src/remote_ptr.h | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/src/log.h b/src/log.h
+index 26ba7f19..ffdc7cce 100644
+--- a/src/log.h
++++ b/src/log.h
+@@ -9,6 +9,7 @@
+ #include <iostream>
+ #include <type_traits>
+ #include <vector>
++#include <cstdint>
+
+ /**
+ * Print siginfo on ostream.
+diff --git a/src/remote_ptr.h b/src/remote_ptr.h
+index 2cd1b28c..6786bfab 100644
+--- a/src/remote_ptr.h
++++ b/src/remote_ptr.h
+@@ -5,6 +5,7 @@
+
+ #include <cstddef>
+ #include <iostream>
++#include <cstdint>
+
+ namespace rr {
+
+--
+2.39.0
+
diff --git a/rr-mount.patch b/rr-mount.patch
deleted file mode 100644
index 33bb439..0000000
--- a/rr-mount.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 54b3fde90f9d95e24bfe523893d8580be28a5980 Mon Sep 17 00:00:00 2001
-From: William Cohen <wcohen@redhat.com>
-Date: Thu, 4 Aug 2022 15:42:52 -0400
-Subject: [PATCH 1/2] Remove problematic include of <sys/mount.h>
-
-There can be incompatibilities between <linux/mount.h> and <sys/mount.h>.
-Need to choose one or the other include according to:
-
-https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E
----
- src/test/util.h | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/src/test/util.h b/src/test/util.h
-index 2b0bd3b2..ec891db8 100644
---- a/src/test/util.h
-+++ b/src/test/util.h
-@@ -13,8 +13,6 @@
-
- /* btrfs needs NULL but doesn't #include it */
- #include <stdlib.h>
--/* need to include sys/mount.h before linux/fs.h */
--#include <sys/mount.h>
-
- #include <arpa/inet.h>
- #include <assert.h>
---
-2.37.1
-
diff --git a/rr.spec b/rr.spec
index b5106c0..23b1e15 100644
--- a/rr.spec
+++ b/rr.spec
@@ -4,7 +4,7 @@
%global commit da33770d22b404d7333e46e26495eaca0c5a6d8a
%global gittag 5.6.0
%global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global baserelease 4
+%global baserelease 5
ExclusiveArch: %{ix86} x86_64 aarch64
@@ -26,10 +26,11 @@ License: MIT and CC0 and BSD
URL: http://rr-project.org
Source: https://github.com/rr-debugger/rr/archive/%{gittag}/%{name}-%{version}.tar.gz
-Patch1: rr-mount.patch
+#Patch1: rr-mount.patch
Patch2: rr-time.patch
Patch3: rr-ethtool-struct.patch
Patch4: rr-test-include-sys-mount.patch
+Patch5: rr-cstdint.patch
%if 0%{?rhel} == 7
BuildRequires: cmake3
@@ -127,6 +128,9 @@ patchelf --set-rpath '%{_libdir}/rr/' %{buildroot}%{_libdir}/rr/testsuite/obj/bi
%license LICENSE
%changelog
+* Wed Jan 18 2023 William Cohen <wcohen@redhat.com> - 5.6.0-5
+- Fix FTBFS issue with gcc-13.
+
* Sat Dec 3 2022 Florian Weimer <fweimer@redhat.com> - 5.6.0-4
- Avoid implicit function declaration in test (C99 compatibility)
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=179434645006.1.14100729557047700252.rpms-rr-8e3b8a391496@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