The package rpms/python-klusta.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/python-klusta.git/commit/?id=c7adccf....
Change: +%ifarch s390x
Thanks.
Full change: ============
commit c7adccfea298f19f2b051bc969f574107dc689f7 Author: Benjamin A. Beasley code@musicinmybrain.net Date: Tue Dec 17 08:02:33 2024 -0500
Work around some little-endian assumptions in the tests
diff --git a/python-klusta.spec b/python-klusta.spec index 485cfaf..d53f57d 100644 --- a/python-klusta.spec +++ b/python-klusta.spec @@ -41,7 +41,10 @@ Patch: %{url}/pull/81.patch # https://github.com/kwikteam/klusta/pull/82 Patch: %{url}/pull/82.patch
-BuildArch: noarch +# We build this as an arched package to run tests on all architectures since +# there are arch-specific test failures, but there is no compiled code, and all +# the binary RPMs are noarch. +%global debug_package %{nil}
BuildRequires: python3-devel # For tests: @@ -71,6 +74,8 @@ klusta implements the following features: %package -n python3-klusta Summary: %{summary}
+BuildArch: noarch + %description -n python3-klusta %{common_description}
@@ -117,6 +122,20 @@ k="${k-}${k+ and }not test_launch_real" k="${k-}${k+ and }not test_launch_shanks" k="${k-}${k+ and }not test_sparsify_features_masks"
+%ifarch s390x +# As far as we can tell, each of these fails on big-endian architectures +# because the synthetic data file created at test time is written in a +# host-endian format, but the expected checksum is based on a little-endian +# data file. We could report this upstream, but considering that upstream has +# been inactive for several years and we don’t have an obvious fix to propose +# (which might benefit other downstreams), this might not be a good use of time +# unless upstream development picks back up again. +k="${k-}${k+ and }not test_check_md5_of_url" +k="${k-}${k+ and }not test_download_already_exists_invalid" +k="${k-}${k+ and }not test_download_already_exists_valid" +k="${k-}${k+ and }not test_download_file[mock_urls0]" +%endif + %if !0%{?phy_data} # These tests require data from https://github.com/kwikteam/phy-data, either as # an additional source or downloaded from the network.
arch-excludes@lists.fedoraproject.org