On Sun, 2 Apr 2023 08:53:35 -0700
stan <upaitag(a)zoho.com> wrote:
I compiled the 6.3 rc4 kernel without problems. But, when I tried
to
install the resulting rpms I got the error,
Nothing provides kernel-libs =
6.3.0-0.rc4.20230331git62bad54b26db.39.20230402.fc37 needed by
kernel-tools-libs-devel-6.3.0-0.rc4.20230331git62bad54b26db.39.20230402.fc37.x86_64
I looked around in koji, and there is no kernel package that provides
this library.
Here are the rpms I was trying to install.
kernel-6.3.0-0.rc4.20230331git62bad54b26db.39.20230402.fc37.x86_64.rpm
kernel-modules-extra-6.3.0-0.rc4.20230331git62bad54b26db.39.20230402.fc37.x86_64.rpm
kernel-core-6.3.0-0.rc4.20230331git62bad54b26db.39.20230402.fc37.x86_64.rpm
kernel-tools-6.3.0-0.rc4.20230331git62bad54b26db.39.20230402.fc37.x86_64.rpm
kernel-devel-6.3.0-0.rc4.20230331git62bad54b26db.39.20230402.fc37.x86_64.rpm
kernel-tools-libs-6.3.0-0.rc4.20230331git62bad54b26db.39.20230402.fc37.x86_64.rpm
kernel-devel-matched-6.3.0-0.rc4.20230331git62bad54b26db.39.20230402.fc37.x86_64.rpm
kernel-tools-libs-devel-6.3.0-0.rc4.20230331git62bad54b26db.39.20230402.fc37.x86_64.rpm
kernel-headers-6.3.0-0.rc4.20230331git62bad54b26db.39.20230402.fc37.x86_64.rpm
kernel-uki-virt-6.3.0-0.rc4.20230331git62bad54b26db.39.20230402.fc37.x86_64.rpm
kernel-modules-6.3.0-0.rc4.20230331git62bad54b26db.39.20230402.fc37.x86_64.rpm
rtla-6.3.0-0.rc4.20230331git62bad54b26db.39.20230402.fc37.x86_64.rpm
kernel-modules-core-6.3.0-0.rc4.20230331git62bad54b26db.39.20230402.fc37.x86_64.rpm
Is it possible that the library it was looking for is
kernel-tools-libs instead of kernel-libs? That is, there was a typo
in the requires. I didn't find it in the kernel.spec file. Maybe the
kernel-tools.spec file? I didn't look there.
I think I found the issue. This is in the kernel.spec file,
Requires: %{package_name}-libs = %{version}-%{release} <<<<-----
Provides: %{package_name}-tools-devel
%description -n %{package_name}-tools-libs-devel
This package contains the development files for the tools/ directory
from the kernel source.
I didn't take into account that it might be a macro when I searched
before.