The package rpms/mlpack.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/mlpack.git/commit/?id=86c6c894185....
Change:
+%ifarch ppc64le
Thanks.
Full change:
============
commit 08e2753a3bb54aefd818de3caa3981f44afc90d3
Merge: ff8c0ae ec0e042
Author: Benson Muite <benson_muite(a)emailplus.org>
Date: Sun Oct 29 19:16:34 2023 +0300
Merge branch 'rawhide' into f39
commit ec0e042af3c3697d53da6196432caa89dc669637
Author: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Wed Oct 25 13:07:49 2023 -0400
Ensure stb_image contains the latest CVE patches
diff --git a/mlpack.spec b/mlpack.spec
index 7a896ff..0e6853f 100644
--- a/mlpack.spec
+++ b/mlpack.spec
@@ -1,6 +1,6 @@
Name: mlpack
Version: 4.2.1
-Release: 2%{?dist}
+Release: 4%{?dist}
Summary: Fast, header-only C++ machine learning library
# The source in src/mlpack/core/std_backport/ is available under
@@ -29,13 +29,22 @@ BuildRequires: cereal-devel
BuildRequires: pkg-config
# Header-only libraries (-static is for tracking per guidelines)
-# Enforce the the minimum EVR to contain fixes for all of CVE-2021-28021,
-# CVE-2021-42715, CVE-2021-42716, and CVE-2022-28041, plus the null-pointer
-# dereference bug
https://github.com/nothings/stb/issues/1452.
+# Enforce the the minimum EVR to contain fixes for all of:
+# CVE-2021-28021
+# CVE-2021-42715
+# CVE-2021-42716
+# CVE-2022-28041
+# CVE-2023-43898
+# CVE-2023-45661
+# CVE-2023-45662
+# CVE-2023-45663
+# CVE-2023-45664
+# CVE-2023-45666
+# CVE-2023-45667
%if 0%{?el7} || 0%{?el8}
-%global min_stb_image 2.28-0.24.20230129git5736b15
+%global min_stb_image 2.28-0.39.20231011gitbeebb24
%else
-%global min_stb_image 2.28^20230129git5736b15-0.2
+%global min_stb_image 2.28^20231011gitbeebb24-12
%endif
BuildRequires: stb_image-devel >= %{min_stb_image}
BuildRequires: stb_image-static
@@ -303,6 +312,12 @@ cd ..;
%{python3_sitearch}/mlpack-*.dist-info
%changelog
+* Fri Oct 27 2023 Benjamin A. Beasley <code(a)musicinmybrain.net> - 4.2.1-4
+- Ensure stb_image contains the latest CVE patches
+
+* Wed Oct 25 2023 Benjamin A. Beasley <code(a)musicinmybrain.net> - 4.2.1-3
+- Ensure stb_image contains the latest CVE patches
+
* Mon Oct 16 2023 Ryan Curtin <ryan(a)ratml.org> - 4.2.1-2
- Attempt to reduce RAM usage on ppc64le.
commit 86c6c894185401115742f3db67ff6731f6d40944
Author: Ryan Curtin <ryan(a)ratml.org>
Date: Mon Oct 16 11:49:25 2023 +0000
Try to fix ppc64le build OOM.
diff --git a/mlpack.spec b/mlpack.spec
index c497048..7a896ff 100644
--- a/mlpack.spec
+++ b/mlpack.spec
@@ -1,6 +1,6 @@
Name: mlpack
Version: 4.2.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Fast, header-only C++ machine learning library
# The source in src/mlpack/core/std_backport/ is available under
@@ -171,6 +171,12 @@ cmake -D CMAKE_C_FLAGS="`echo %{optflags} | sed
's/-pipe//g' | sed 's/$/ --param
cd ..;
%endif
+%ifarch ppc64le
+cd %{_vpath_builddir};
+cmake -D CMAKE_C_FLAGS="`echo %{optflags} | sed 's/-pipe//g' | sed 's/$/
--param ggc-min-heapsize=32768 --param ggc-min-expand=1/'`" -D
CMAKE_CXX_FLAGS="`echo %{optflags} | sed 's/-pipe//g' | sed 's/$/ --param
ggc-min-heapsize=32768 --param ggc-min-expand=1/'`" .
+cd ..;
+%endif
+
# Don't use %make because it could use too much RAM with multiple cores on Koji...
%{cmake_build}
@@ -297,6 +303,9 @@ cd ..;
%{python3_sitearch}/mlpack-*.dist-info
%changelog
+* Mon Oct 16 2023 Ryan Curtin <ryan(a)ratml.org> - 4.2.1-2
+- Attempt to reduce RAM usage on ppc64le.
+
* Mon Sep 11 2023 Ryan Curtin <ryan(a)ratml.org> - 4.2.1-1
- Update to latest stable version.