Re: Error when trying to install local custom build of kernel 6.3 rc4. Can't find kernel-libs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/2/23 12:12, stan via kernel wrote:
On Sun, 2 Apr 2023 08:53:35 -0700
stan <upaitag@xxxxxxxx> 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.

stan,

https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2396

I'm pretty sure that will fix it. Can you apply that change and let me know if it fixes your problem?

Sorry about this,

P.

_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux