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)
This commit is contained in:
parent
0671364f6e
commit
973513f45b
@ -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 <zhaomengmeng@kylinos.cn> - v1.0.2-8
|
||||
- explicit add libboundscheck as Requires
|
||||
|
||||
* Mon Jul 15 2024 fly_1997 <flylove7@outlook.com> - v1.0.2-7
|
||||
- fix out of bounds array
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user