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 > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 06-22-2010, 03:02 PM
David Mansfield
 
Default problem rebuilding kvm package on centos 5.5

Hi All:

I'm trying to rebuild the kvm SRPM (kvm-83-164.el5_5.9.src.rpm)
on a centos 5.5 x86_64 and it's failing with the message:

error: Failed build dependencies:
kernel-devel-x86_64 = 2.6.18-194.el5 is needed by kvm-83-164.9.x86_64

I have already run "yum-builddep <srpm>" and here is the output
(indicates nothing missing)

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.highspeedweb.net
* base: mirror.cogentco.com
* epel: mirror.seas.harvard.edu
* extras: mirror.skiplink.com
* rpmforge: fr2.rpmfind.net
* updates: mirrors.adams.net
Excluding Packages from Extra Packages for Enterprise Linux 5 - x86_64
Finished
Checking for new repos for mirrors
SDL-devel-1.2.10-8.el5.x86_64
dev86-0.16.17-2.2.x86_64
iasl-20090123-1.el5.x86_64
zlib-devel-1.2.3-3.x86_64
gnutls-devel-1.4.1-3.el5_4.8.x86_64
texi2html-1.76-4.fc6.noarch
rsync-3.0.7-1.el5.rf.x86_64
1kgconfig-0.21-2.el5.x86_64
pciutils-devel-2.2.3-8.el5_4.x86_64
qspice-libs-devel-0.3.0-54.el5.x86_64
kernel-devel-2.6.18-194.3.1.el5.x86_64
kernel-devel-2.6.18-194.el5.x86_64
No uninstalled build requires

I can't figure how this missing dependency would be resolved?

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 06-22-2010, 04:25 PM
Akemi Yagi
 
Default problem rebuilding kvm package on centos 5.5

On Tue, Jun 22, 2010 at 8:02 AM, David Mansfield <centos@dm.cobite.com> wrote:
> Hi All:
>
> I'm trying to rebuild the kvm SRPM (kvm-83-164.el5_5.9.src.rpm)
> on a centos 5.5 x86_64 and it's failing with the message:
>
> error: Failed build dependencies:
> * * * *kernel-devel-x86_64 = 2.6.18-194.el5 is needed by kvm-83-164.9.x86_64
>
> I have already run "yum-builddep <srpm>" and here is the output
> (indicates nothing missing)

> kernel-devel-2.6.18-194.3.1.el5.x86_64
> kernel-devel-2.6.18-194.el5.x86_64
> No uninstalled build requires
>
> I can't figure how this missing dependency would be resolved?

It looks as if you have all required packages. Can you confirm that
kernel-devel is indeed there? What is the output from:

rpm -qa kernel* | sort

Akemi
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 06-22-2010, 07:02 PM
David Mansfield
 
Default problem rebuilding kvm package on centos 5.5

On Tue, 2010-06-22 at 09:25 -0700, Akemi Yagi wrote:
> On Tue, Jun 22, 2010 at 8:02 AM, David Mansfield <centos@dm.cobite.com> wrote:
> > Hi All:
> >
> > I'm trying to rebuild the kvm SRPM (kvm-83-164.el5_5.9.src.rpm)
> > on a centos 5.5 x86_64 and it's failing with the message:
> >
> > error: Failed build dependencies:
> > kernel-devel-x86_64 = 2.6.18-194.el5 is needed by kvm-83-164.9.x86_64
> >
> > I have already run "yum-builddep <srpm>" and here is the output
> > (indicates nothing missing)
>
> > kernel-devel-2.6.18-194.3.1.el5.x86_64
> > kernel-devel-2.6.18-194.el5.x86_64
> > No uninstalled build requires
> >
> > I can't figure how this missing dependency would be resolved?
>
> It looks as if you have all required packages. Can you confirm that
> kernel-devel is indeed there? What is the output from:
>
> rpm -qa kernel* | sort
>

Note: the above "yum-builddep" sucked in the "kernel-xen-devel" for some
reason, not sure why. Here's the output of the above:

kernel-2.6.18-194.3.1.el5
kernel-2.6.18-194.el5
kernel-devel-2.6.18-194.3.1.el5
kernel-headers-2.6.18-194.3.1.el5
kernel-xen-devel-2.6.18-194.3.1.el5

Thanks,
David


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 06-22-2010, 07:11 PM
William Hooper
 
Default problem rebuilding kvm package on centos 5.5

On Tue, Jun 22, 2010 at 3:02 PM, David Mansfield <centos@dm.cobite.com> wrote:
> On Tue, 2010-06-22 at 09:25 -0700, Akemi Yagi wrote:
>> On Tue, Jun 22, 2010 at 8:02 AM, David Mansfield <centos@dm.cobite.com> wrote:
>> > Hi All:
>> > error: Failed build dependencies:
>> > * * * *kernel-devel-x86_64 = 2.6.18-194.el5 is needed by kvm-83-164.9.x86_64
>> rpm -qa kernel* | sort
>>
>
> Note: the above "yum-builddep" sucked in the "kernel-xen-devel" for some
> reason, not sure why. *Here's the output of the above:
>
> kernel-2.6.18-194.3.1.el5
> kernel-2.6.18-194.el5
> kernel-devel-2.6.18-194.3.1.el5
> kernel-headers-2.6.18-194.3.1.el5
> kernel-xen-devel-2.6.18-194.3.1.el5

The message says it is looking for kernel-devel-2.6.18-194.el5, but
you only have kernel-devel-2.6.18-194.3.1.el5. Note the extra "3.1".

--
William Hooper
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 06-24-2010, 06:07 PM
David Mansfield
 
Default problem rebuilding kvm package on centos 5.5

On Tue, 2010-06-22 at 15:11 -0400, William Hooper wrote:
> On Tue, Jun 22, 2010 at 3:02 PM, David Mansfield <centos@dm.cobite.com> wrote:
> > On Tue, 2010-06-22 at 09:25 -0700, Akemi Yagi wrote:
> >> On Tue, Jun 22, 2010 at 8:02 AM, David Mansfield <centos@dm.cobite.com> wrote:
> >> > Hi All:
> >> > error: Failed build dependencies:
> >> > kernel-devel-x86_64 = 2.6.18-194.el5 is needed by kvm-83-164.9.x86_64
> >> rpm -qa kernel* | sort
> >>
> >
> > Note: the above "yum-builddep" sucked in the "kernel-xen-devel" for some
> > reason, not sure why. Here's the output of the above:
> >
> > kernel-2.6.18-194.3.1.el5
> > kernel-2.6.18-194.el5
> > kernel-devel-2.6.18-194.3.1.el5
> > kernel-headers-2.6.18-194.3.1.el5
> > kernel-xen-devel-2.6.18-194.3.1.el5
>
> The message says it is looking for kernel-devel-2.6.18-194.el5, but
> you only have kernel-devel-2.6.18-194.3.1.el5. Note the extra "3.1".
>

I had that one before and removed it hoping it would help...

David


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 06-24-2010, 06:26 PM
JohnS
 
Default problem rebuilding kvm package on centos 5.5

On Thu, 2010-06-24 at 14:07 -0400, David Mansfield wrote:
> On Tue, 2010-06-22 at 15:11 -0400, William Hooper wrote:
> > On Tue, Jun 22, 2010 at 3:02 PM, David Mansfield <centos@dm.cobite.com> wrote:
> > > On Tue, 2010-06-22 at 09:25 -0700, Akemi Yagi wrote:
> > >> On Tue, Jun 22, 2010 at 8:02 AM, David Mansfield <centos@dm.cobite.com> wrote:
> > >> > Hi All:
> > >> > error: Failed build dependencies:
> > >> > kernel-devel-x86_64 = 2.6.18-194.el5 is needed by kvm-83-164.9.x86_64
> > >> rpm -qa kernel* | sort
> > >>
> > >
> > > Note: the above "yum-builddep" sucked in the "kernel-xen-devel" for some
> > > reason, not sure why. Here's the output of the above:
> > >
> > > kernel-2.6.18-194.3.1.el5
> > > kernel-2.6.18-194.el5
> > > kernel-devel-2.6.18-194.3.1.el5
> > > kernel-headers-2.6.18-194.3.1.el5
> > > kernel-xen-devel-2.6.18-194.3.1.el5
> >
> > The message says it is looking for kernel-devel-2.6.18-194.el5, but
> > you only have kernel-devel-2.6.18-194.3.1.el5. Note the extra "3.1".
---
It needs the base Kernel-Devel 2.6.18-194 to build against, so when it
is installed it is put into that dir then linked to the other kernel
dirs when the kernel is updated. I wondered why that was so for a few
hours one night then found out through trial and error.

Neds, list posting on here lead to me figuring it out the kmod
nightmare.

What is your build command?

John

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 07:27 AM.

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