[CentOS] problem rebuilding kvm package on centos 5.5

Tue Jun 22 19:02:03 UTC 2010
David Mansfield <centos at dm.cobite.com>

On Tue, 2010-06-22 at 09:25 -0700, Akemi Yagi wrote:
> On Tue, Jun 22, 2010 at 8:02 AM, David Mansfield <centos at 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