There was a change made to the spec file at the last minute in the 1.6.1 release process after problems were encountered with the mock builders. Unfortunately this change includes an unnecessary kernel-devel dependency. Sadly, whilst the problem was pointed out during the review, an unmodified patch was pushed.
I can't verify at the moment that this is definitely your problem, but I suspect that reverting the kernel-devel portion of the last change to src/packaging/openafs.spec.in will fix the issue. Cheers, Simon On 4 Apr 2012, at 18:35, David Botsch <bot...@cnf.cornell.edu> wrote: > I did not have any issues with pre 1.6.1 on red hat 6, or Fedora 15. Have not > yet tried a mock build with the final. > > On Apr 4, 2012 6:32 PM, "Darren Patterson" <darren.patter...@stanford.edu> > wrote: > All, > Has anyone else encountered issues when trying to build kmods for RHEL5/6 > using the new openafs-1.6.1-1.src.rpm in mock? The 1.6.0 RPMs worked fine > (with a work-around to install required packages prior to rebuilding the > source rpm), but the 1.6.1 RPMs throw this error in mock: > > ERROR: Command failed: > # ['/usr/bin/yum-builddep', '--installroot', > '/var/lib/mock/rhel-5-x86_64-mock/ > root/', > '/var/lib/mock/rhel-5-x86_64-mock/root///builddir/build/SRPMS/openafs-1. > 6.1-1.src.rpm'] > Getting requirements for openafs-1.6.1-1.src > --> Already installed : pam-devel-0.99.6.2-6.el5_5.2.x86_64 > --> Already installed : ncurses-devel-5.5-24.20060715.x86_64 > --> Already installed : flex-2.5.4a-41.fc6.x86_64 > --> Already installed : bison-2.3-2.1.x86_64 > --> Already installed : 4:perl-5.8.8-38.el5.x86_64 > --> Already installed : krb5-devel-1.6.1-70.el5.x86_64 > --> Already installed : kernel-xen-devel-2.6.18-308.1.1.el5.x86_64 > Error: No Package found for kernel-devel-x86_64 = 2.6.32-220.7.1.el6 > > Looking through a diff of the spec and the Requires from the src.rpms for > 1.6.0 and 1.6.1 it isn't quickly obvious why this is happening. The > kernel-devel version it is trying to get (2.6.32-220.7.1.el6) is for the > kernel I'm currently running, not the kernel that is installed in the chroot > which it should be picking up from the spec. > > -darren > > > mock@rhel-afs-test6x:~/rpmbuild/SOURCES$ rpm -qp --requires > /usr/src/afs/openafs-1.6.0-1.src.rpm > pam-devel > ncurses-devel > flex > bison > krb5-devel > kernel-devel-x86_64 = 2.6.18-238.1.1.el5.inf.1 > rpmlib(CompressedFileNames) <= 3.0.4-1 > > mock@rhel-afs-test6x:~/rpmbuild/SOURCES$ rpm -qp --requires > /usr/src/afs/openafs-1.6.1-1.src.rpm > pam-devel > ncurses-devel > flex > bison > perl(ExtUtils::Embed) > krb5-devel > kernel-devel > kernel-devel-i686 = 2.6.18-128.1.10.el5 > rpmlib(CompressedFileNames) <= 3.0.4-1 > > > > > > > _______________________________________________ > OpenAFS-info mailing list > OpenAFS-info@openafs.org > https://lists.openafs.org/mailman/listinfo/openafs-info >