FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 08-05-2008, 01:45 PM
Michael Schwendt
 
Default OT: BuildRequires kernel-devel is failing on F9, working just fine on everything else

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@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 08-05-2008, 03:50 PM
Michael Schwendt
 
Default OT: BuildRequires kernel-devel is failing on F9, working just fine on everything else

On Tue, 05 Aug 2008 18:01:32 +0300, Gilboa Davara wrote:

> Last question, though, should I add a if 0?fedora exception to the SRPM
> generator to keep the invalid-yet-working behavior for older releases?

Well, do what works for you, but I still think it has never worked
before. For example, RHEL5 kernel-devel currently provides
kernel-devel-%{arch} = %{version}-%{release} too, with no .%{arch}
appended to %release

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

Thread Tools




All times are GMT. The time now is 09:01 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org