public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/star] rawhide: Fix build on RISC-V
Date: Tue, 10 Nov 2026 11:17:52 GMT [thread overview]
Message-ID: <179430947242.1.6216851346224036563.rpms-star-4ef16a0dda98@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/star
Branch : rawhide
Commit : 4ef16a0dda9884fc6f36c1eec964a19691549927
Author : Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
Date : 2026-10-22T14:57:29+02:00
Stats : +26/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/star/c/4ef16a0dda9884fc6f36c1eec964a19691549927?branch=rawhide
Log:
Fix build on RISC-V
---
diff --git a/star-2024.03.21-riscv64-rules.patch b/star-2024.03.21-riscv64-rules.patch
new file mode 100644
index 0000000..c9efe61
--- /dev/null
+++ b/star-2024.03.21-riscv64-rules.patch
@@ -0,0 +1,18 @@
+Index: schilytools/RULES/MKLINKS
+===================================================================
+--- schilytools.orig/RULES/MKLINKS
++++ schilytools/RULES/MKLINKS
+@@ -376,6 +376,13 @@ $symlink i586-linux-clang64.rul aarch64-
+ $symlink i586-linux-gcc.rul aarch64-linux-gcc.rul
+ $symlink i586-linux-gcc32.rul aarch64-linux-gcc32.rul
+ $symlink i586-linux-gcc64.rul aarch64-linux-gcc64.rul
++$symlink i586-linux-cc.rul riscv64-linux-cc.rul
++$symlink i586-linux-clang.rul riscv64-linux-clang.rul
++$symlink i586-linux-clang32.rul riscv64-linux-clang32.rul
++$symlink i586-linux-clang64.rul riscv64-linux-clang64.rul
++$symlink i586-linux-gcc.rul riscv64-linux-gcc.rul
++$symlink i586-linux-gcc32.rul riscv64-linux-gcc32.rul
++$symlink i586-linux-gcc64.rul riscv64-linux-gcc64.rul
+ $symlink i586-linux-cc.rul sh3-linux-cc.rul
+ $symlink i586-linux-gcc.rul sh3-linux-gcc.rul
+ $symlink i586-linux-cc.rul sh4-linux-cc.rul
diff --git a/star.spec b/star.spec
index 320026a..c33ea98 100644
--- a/star.spec
+++ b/star.spec
@@ -34,11 +34,15 @@ Patch3: star-2024.03.21-manpagereferences.patch
# Prevent buffer overflow for filenames with length of 100 characters (#556664)
# Although I couldn't replicate it with 2024.03.21-4, candidate for removal
Patch4: star-2024.03.21-bufferoverflow.patch
+# Add riscv64 Linux build rules (MKLINKS was missing riscv64-linux-*.rul symlinks)
+Patch5: star-2024.03.21-riscv64-rules.patch
BuildRequires: gcc-c++
BuildRequires: libattr-devel libacl-devel libselinux-devel libcap-devel
BuildRequires: make e2fsprogs-devel
BuildRequires: sed
+# we need newer config.{guess,sub} files for RISC-V
+BuildRequires: autoconf
# drop i686 support (https://fedoraproject.org/wiki/Changes/Noi686Repositories)
ExcludeArch: %{ix86}
@@ -95,6 +99,7 @@ sed -i 's/sbin/bin/' rmt/Makefile
sed -i 's/$(SHELL)/$(SHELL) -c $(TEST_FLAGS)/' star/tests/Makefile
%build
+cp /usr/share/autoconf/build-aux/config.{guess,sub} autoconf/
make_command() {
cd $i
make %{_make_output_sync} -f Makefile \
@@ -240,6 +245,9 @@ fi
%{_libdir}/librmt.so.1.0
%changelog
+* Thu Oct 22 2026 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 2024.03.21-7
+- Fix build on RISC-V
+
* Mon Jan 19 2026 Petr Khartskhaev <pkhartsk@redhat.com> - 2024.03.21-6
- Re-add old patches that still make sense (#2430022)
reply other threads:[~2026-11-10 11:17 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=179430947242.1.6216851346224036563.rpms-star-4ef16a0dda98@fedoraproject.org \
--to=mjuszkiewicz@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