On Apr 6, 2012, at 8:20 AM, Darren Patterson wrote: > > On Apr 4, 2012, at 8:34 PM, Derrick Brashear wrote: > >> On Wed, Apr 4, 2012 at 10:16 PM, Simon Wilkinson >> <simonxwilkin...@gmail.com> wrote: >>> 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. >>> >> >> I'm not sure it's that simple, and said so at the time. In any case, >> why not just install kernel-devel-2.6.32-220.7.1.el6.x86_64.rpm, which >> certainly exists. >> > > > Sadly it isn't that easy (I tried before email the list initially), and > kernel-devel-2.6.32-220.7.1.el6.x86_64.rpm isn't so easy to install when > you're building a kmod for RHEL5 in chroot. > > -darren >
One more data point - the kernel-devel version required in chroot matches the version running the host OS. I moved from kernel 2.6.32-220.4.1 to 220.7.1 and watched the errors mirror that change of booted kernel instead of the installed kernel in the chroot. Thanks, -darren