The package rpms/HepMC3.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/HepMC3.git/commit/?id=266de828ad5041....
Change: +%ifarch %{power64}
Thanks.
Full change: ============
commit 266de828ad5041829ddcbd0aeeae8008131f2577 Author: Mattias Ellert mattias.ellert@physics.uu.se Date: Thu Jun 20 17:02:46 2024 +0200
Suppress a valgrind error on Fedora 39 ppc64le
diff --git a/HepMC3.spec b/HepMC3.spec index d4694bb..17e4a47 100644 --- a/HepMC3.spec +++ b/HepMC3.spec @@ -11,6 +11,11 @@ Summary: C++ Event Record for Monte Carlo Generators License: LGPL-3.0-or-later AND MPL-2.0 URL: https://hepmc.web.cern.ch/hepmc Source0: %{url}/releases/%{name}-%{version}.tar.gz +# Valgrind suppression file for Fedora 39 ppc64le +# Suppresses a failure in memcheck_testReaderFactory4 +# "Conditional jump or move depends on uninitialised value(s)" +# False positive? glibc bug? Compiler bug? +Source1: valgrind-f39-ppc64le.supp # https://gitlab.cern.ch/hepmc/HepMC3/-/merge_requests/357 Patch0: 0001-Do-not-require-the-static-libzstd-library-to-be-pres.patch Patch1: 0002-Fix-for-a-Conditional-jump-or-move-depends-on-uninit.patch @@ -169,6 +174,13 @@ This package provides HepMC manuals and examples. %patch -P1 -p1 %patch -P2 -p1
+%if %{?fedora}%{!?fedora:0} == 39 +%ifarch %{power64} +sed 's!MEMORYCHECK_COMMAND_OPTIONS "!&--suppressions=%{SOURCE1} !' \ + -i test/CMakeLists.txt +%endif +%endif + %build %cmake \ -DHEPMC3_ENABLE_ROOTIO:BOOL=ON \ @@ -364,6 +376,7 @@ rm %{buildroot}%{_includedir}/%{name}/bxzstr/LICENSE - Fix an uninitialized value issue found by valgrind - Drop EPEL7 build (soon to be EOL) - Avoid assert due to implicit narrowing cast on 32 bit architectures +- Suppress a valgrind error on Fedora 39 ppc64le
* Sat Jun 08 2024 Mattias Ellert mattias.ellert@physics.uu.se - 3.2.7-8 - Rebuild for root 6.32 diff --git a/valgrind-f39-ppc64le.supp b/valgrind-f39-ppc64le.supp new file mode 100644 index 0000000..fa6acbc --- /dev/null +++ b/valgrind-f39-ppc64le.supp @@ -0,0 +1,7 @@ +{ + ppc64le-fedora39-dlopen + Memcheck:Cond + fun:strcmp + ... + fun:dlopen@@GLIBC_2.34 +}
arch-excludes@lists.fedoraproject.org