public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/systemd] rawhide: Disable rust on i686
Date: Fri, 27 Nov 2026 12:39:52 GMT [thread overview]
Message-ID: <179578319239.1.1082263933856326189.rpms-systemd-c0e3a2cec7c7@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/systemd
Branch : rawhide
Commit : c0e3a2cec7c7f0efad4120984861e2d711705902
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Date : 2026-11-27T13:25:49+01:00
Stats : +6/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/systemd/c/c0e3a2cec7c7f0efad4120984861e2d711705902?branch=rawhide
Log:
Disable rust on i686
Unfortunately
https://github.com/rpm-software-management/rpm/issues/3165 hasn't
been implemented yet, so let's take the easy path and disable rust on
non-64bit builds, which happens to be just i686.
The rust tests failed on i686. This should be fixed, but also, right
now rust is only for new leaf features, and we don't need to enable
those on the legacy arches.
---
diff --git a/systemd.spec b/systemd.spec
index 1399a67..2137fba 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -9,6 +9,7 @@
%bcond bzip2 1
%bcond gnutls 1
+%bcond rust %[ 0%{?__isa_bits} == 64 ] # disabled on i686
%bcond lz4 1
%bcond xz 1
%bcond zlib 1
@@ -167,11 +168,13 @@ Patch: 0001-core-create-userdb-root-directory-with-correct-label.patch
%global want_bootloader 1
%endif
-BuildRequires: bindgen-cli
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: clang
+%if %{with rust}
+BuildRequires: bindgen-cli
BuildRequires: rustc
+%endif
BuildRequires: coreutils
BuildRequires: rpmdevtools
BuildRequires: libmount-devel
@@ -848,6 +851,7 @@ main systemd package and is meant for use in exitrds.
%define status %{shrink:
'**'
+ rust=%{?with_rust}%{!?with_rust:0}
bzip2=%{?with_bzip2}%{!?with_bzip2:0}
gnutls=%{?with_gnutls}%{!?with_gnutls:0}
lz4=%{?with_lz4}%{!?with_lz4:0}
@@ -939,6 +943,7 @@ CONFIGURE_OPTS=(
-Dvmlinux-h-path="$VMLINUX_H_PATH"
-Dapparmor=disabled
-Dpolkit=enabled
+ -Drust=%[%{with rust}?"enabled":"disabled"]
-Dxz=%[%{with xz}?"enabled":"disabled"]
-Dzlib=%[%{with zlib}?"enabled":"disabled"]
-Dbzip2=%[%{with bzip2}?"enabled":"disabled"]
reply other threads:[~2026-11-27 12:39 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=179578319239.1.1082263933856326189.rpms-systemd-c0e3a2cec7c7@fedoraproject.org \
--to=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