public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/stratisd] rawhide: Backport #4109 to fix RHEL/ppc64le build
Date: Wed, 28 Oct 2026 15:04:21 GMT	[thread overview]
Message-ID: <179319986108.1.17227518969682353571.rpms-stratisd-6a61670826d3@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/stratisd
Branch : rawhide
Commit : 6a61670826d381059aa93c559c14d742e0554c46
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date   : 2026-10-28T11:03:43-04:00
Stats  : +24/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/stratisd/c/6a61670826d381059aa93c559c14d742e0554c46?branch=rawhide

Log:
Backport #4109 to fix RHEL/ppc64le build

---
diff --git a/0004-Allow-dead-code-in-systemd-bindings-file.patch b/0004-Allow-dead-code-in-systemd-bindings-file.patch
new file mode 100644
index 0000000..380ae74
--- /dev/null
+++ b/0004-Allow-dead-code-in-systemd-bindings-file.patch
@@ -0,0 +1,20 @@
+From 237043e19aa3671253ccce403462939b1f2daf42 Mon Sep 17 00:00:00 2001
+From: John Baublitz <jbaublitz@redhat.com>
+Date: Wed, 21 Oct 2026 16:33:41 -0400
+Subject: [PATCH] Allow dead code in systemd bindings file
+
+---
+ src/systemd/bindings.rs | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/systemd/bindings.rs b/src/systemd/bindings.rs
+index 1d9a0bd1ea..0014be2b75 100644
+--- a/src/systemd/bindings.rs
++++ b/src/systemd/bindings.rs
+@@ -2,4 +2,6 @@
+ // License, v. 2.0. If a copy of the MPL was not distributed with this
+ // file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ 
++#![allow(dead_code)]
++
+ include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

diff --git a/stratisd.spec b/stratisd.spec
index 58540c3..1f2734a 100644
--- a/stratisd.spec
+++ b/stratisd.spec
@@ -22,6 +22,10 @@ Patch:          0001-Add-infinite-timeout-to-systemd-ask-password.patch
 # Wait for all pool devices before attempting decryption
 Patch:          0002-Add-stratis-min-pool-all-devices-present-command.patch
 Patch:          0003-Wait-for-all-pool-devices-in-dracut-and-systemd-setu.patch
+# https://github.com/stratis-storage/stratisd/pull/4109
+# https://github.com/fedora-eln/eln/issues/650
+# Fix FTBFS on RHEL11/ppc64le
+Patch:          0004-Allow-dead-code-in-systemd-bindings-file.patch
 
 
 %if 0%{?rhel}

                 reply	other threads:[~2026-10-28 15:04 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=179319986108.1.17227518969682353571.rpms-stratisd-6a61670826d3@fedoraproject.org \
    --to=yselkowi@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