From 973513f45b9305a7f69653b1d0ba2e1a506708bc Mon Sep 17 00:00:00 2001 From: Zhao Mengmeng Date: Wed, 10 Jul 2024 15:07:08 +0800 Subject: [PATCH] spec: explicit add libboundscheck as Requires On Kylin HostOS V10, which is a system based on openEuler 22.03 SP2, after installing oeAware-collector and oeAware-manager, there are following error in log: 07/10/24 10:53:25 [281473133831296] WARN oeAware - [PluginManager] libpmu.so plugin preload failed, because plugin dlopen failed. The reason is missing libboundscheck. Besides libboundscheck, there is another package itrustee_client providing libboundscheck.so, which may confuse yum/dnf, As a result, libboundscheck will not be installed automatically. Fix this by explicit add libbounscheck. (cherry picked from commit c970ef35087f38fb671a41f03cd1edfc3381b131) --- oeAware-collector.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/oeAware-collector.spec b/oeAware-collector.spec index ade0b5b..a917475 100644 --- a/oeAware-collector.spec +++ b/oeAware-collector.spec @@ -1,6 +1,6 @@ Name: oeAware-collector Version: v1.0.2 -Release: 7 +Release: 8 Summary: %{name} provides low-overhead metrics collection capabilities, including microarchitecture, system, and kernel information. License: MulanPSL2 URL: https://gitee.com/openeuler/%{name} @@ -18,6 +18,7 @@ BuildRequires: cmake gcc-c++ BuildRequires: numactl-devel BuildRequires: git BuildRequires: libboundscheck +Requires: libboundscheck Provides: %{name} ExclusiveArch: aarch64 x86_64 @@ -84,6 +85,9 @@ install -b -m740 ./thread_collector/build/libthread_collector.so ${RPM_BUIL %attr(0440, root, root) %{_libdir}/oeAware-plugin/libthread_collector.so %changelog +* Tue Jul 16 2024 Zhao Mengmeng - v1.0.2-8 +- explicit add libboundscheck as Requires + * Mon Jul 15 2024 fly_1997 - v1.0.2-7 - fix out of bounds array -- Gitee