[OpenAFS] problem building openafs on FC10

Warren Jasper wjasper@tx.ncsu.edu
Tue, 24 Feb 2009 11:25:13 -0500


I am trying to build the kmod-openafs under FC10.  I am able to build 
the user-space packages with no problem.
The following might be helpful:

1. [root@tx3241-04 ~]# rpm -qa | grep kernel
kernel-2.6.27.15-170.2.24.fc10.i686
kerneloops-0.12-1.fc10.i386
kernel-headers-2.6.27.15-170.2.24.fc10.i386
kernel-firmware-2.6.27.15-170.2.24.fc10.noarch
kernel-devel-2.6.27.15-170.2.24.fc10.i686

As you can see, I have a package kernel-devel-2.6.27.15-170.2.24.fc10.i686

2. rpm -q --provides kernel-devel-2.6.27.15-170.2.24.fc10.i686
kernel-devel-i686 = 2.6.27.15-170.2.24.fc10
kernel-devel = 2.6.27.15-170.2.24.fc10
kernel-devel-uname-r = 2.6.27.15-170.2.24.fc10.i686
kernel-devel = 2.6.27.15-170.2.24.fc10


Now, when I try to compile afs for my kernel to make a kmod package:
[root@tx3241-04 SPECS]# rpmbuild openafs.realmkit.spec --target=i686
Building target platforms: i686
Building for target i686
error: Failed build dependencies:
       kernel-devel-i686 = 2.6.27.15-170.2.24.fc10.i686 is needed by 
openafs-1.4.8-1.1.1.src

Can you tell me why the spec file is failing and how to fix this?

Thanks,

Warren