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

Gilboa Davara gilboad at gmail.com
Tue Aug 5 13:28:45 UTC 2008


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

$ 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.

What am I missing?

- Gilboa




More information about the fedora-list mailing list