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