OT: BuildRequires kernel-devel is failing on F9, working just fine on everything else

Michael Schwendt mschwendt at gmail.com
Tue Aug 5 13:45:23 UTC 2008


On Tue, 05 Aug 2008 16:28:45 +0300, Gilboa Davara wrote:

> Hello all,
> 
> I've got an RPM auto-generator that build a certain kernel mode driver RPM for my project.
> The SRPM generation (and build) worked just fine on anything from F6-8 and RHEL4-5.
> However, the kernel-devel BR is failing on F9 with no apparent reason.
> 
> $ rpmbuild -ba kosdep-kmod.spec 
> error: Failed build dependencies:                             
>         kernel-devel-x86_64 = 2.6.25.11-97.fc9.x86_64 is needed by kosdep-kmod-4.5.6-23.fc9.x86_64
> 
                                                ^^^^^^^

That has never worked before, afaik. --------------^

> $ rpm -qa | grep 2.6.25.11-97.fc9.x86_64
> kernel-2.6.25.11-97.fc9.x86_64
> kernel-headers-2.6.25.11-97.fc9.x86_64
> kernel-devel-2.6.25.11-97.fc9.x86_64
> 
> $ cat kosdep-kmod.spec | grep 2.6.25.11-97.fc9.x86_64 | grep Require
> BuildRequires: kernel-devel-%{_target_cpu} = 2.6.25.11-97.fc9.x86_64
> Requires: kernel-%{_target_cpu} = 2.6.25.11-97.fc9.x86_64
> 
> I tried adding (and removing) the _target_cpu; I tried removing the
> fc9.x86_64 suffix from the version - nothing seem to work.

You cannot remove the .fc9 as you require a specific
%version-%release, and .fc9 is part of %release. You must remove
the .x86_64 suffix, however, as it is not part of %release.




More information about the fedora-list mailing list