public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/zstd] f45: avoid false failure on s390
Date: Tue, 24 Nov 2026 20:56:43 GMT [thread overview]
Message-ID: <179555380352.1.12615051167516091834.rpms-zstd-1a83c7c4b691@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/zstd
Branch : f45
Commit : 1a83c7c4b691a16495d5aa7557e5a4ce9a7d64f0
Author : Pádraig Brady <P@draigBrady.com>
Date : 2026-11-24T20:03:28+00:00
Stats : +24/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/zstd/c/1a83c7c4b691a16495d5aa7557e5a4ce9a7d64f0?branch=f45
Log:
avoid false failure on s390
* zstd.spec: Skip a couple of fuzzer tests assuming little endian.
---
diff --git a/zstd-1.6.0-s390x-ddict-tests.patch b/zstd-1.6.0-s390x-ddict-tests.patch
new file mode 100644
index 0000000..d683d02
--- /dev/null
+++ b/zstd-1.6.0-s390x-ddict-tests.patch
@@ -0,0 +1,21 @@
+--- a/tests/fuzzer.c
++++ b/tests/fuzzer.c
+@@ -6717,6 +6717,10 @@
+ }
+ DISPLAYLEVEL(3, "OK \n");
+
++#ifdef __s390x__
++ /* The dictionary IDs in these two tests assume little-endian byte order. */
++ DISPLAYLEVEL(3, "Skipping two DDict hashset tests on s390x\n");
++#else
+ DISPLAYLEVEL(3, "test%3i : DDict hashset OOB T283341343 (ASAN) : ", testNb++);
+ {
+ /* Simplified repro for T283341343 - relies on ASAN to catch OOB read.
+@@ -6899,6 +6903,7 @@
+ _oob_write_skip2: ;
+ }
+ DISPLAYLEVEL(3, "OK (ASAN would report OOB write if vulnerable)\n");
++#endif
+
+ DISPLAYLEVEL(3, "test%3i : DDict hashset is dropped by reset and refDDict(NULL) : ", testNb++);
+ { /* After a parameter reset or refDDict(NULL), a frame must not select
diff --git a/zstd.spec b/zstd.spec
index 5909278..ec3a8fa 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -25,6 +25,8 @@ License: BSD-3-Clause OR GPL-2.0-only
URL: https://github.com/facebook/zstd
Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Patch1: zstd-1.6.0-s390x-ddict-tests.patch
+
BuildRequires: cmake
BuildRequires: make
BuildRequires: gcc %{?with_gtest:gtest-devel}
@@ -67,7 +69,7 @@ Header files for Zstd library.
Static variant of the Zstd library.
%prep
-%setup -q
+%autosetup -p1
find -name .gitignore -delete
%build
reply other threads:[~2026-11-24 20:56 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=179555380352.1.12615051167516091834.rpms-zstd-1a83c7c4b691@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