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

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

 



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.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux