No, the problem is that the openafs.spec file behaves a little wierd for the
i386 and i686 targets.  I confess to not really understand the practical
difference here.

See my last response here -- it sums up the issue.

I'm assuming the logic was to create user-mode binaries that are generic as
possible (i386), but to build the kernel module for the newer architecture
(i686).

It's annoying, because it means you have to make TWO passes with rpmbuild to
get a complete set of rpms for the 32bit platform.


On Fri, Oct 8, 2010 at 9:21 AM, Derrick Brashear <[email protected]> wrote:

> On Thu, Oct 7, 2010 at 9:14 PM, Phillip Moore <[email protected]>
> wrote:
> > I managed to get a complete set of 1.5.77 rpms for x86_64, but when I
> > repeated the entire process for i386, I got all the same rpms, except
> one:
> >  kmod-openafs-*.   IOW, it didn't build the most important one :-(
>
> you installed the i386 kernel-devel rpm also, right? (i'm betting no)
>
> > This is on CentOS 5.4.   The list of rpms I get on x86_64 is:
> > -rw-r--r-- 1 efsops efsops 1154050 Oct  7 17:11
> > dkms-openafs-1.5.77-1.1.1.x86_64.rpm
> > -rw-r--r-- 1 efsops efsops  299341 Oct  7 17:11
> > kmod-openafs-1.5.77-1.1.2.6.18_164.el5.x86_64.rpm
> > -rw-r--r-- 1 efsops efsops 4244312 Oct  7 17:11
> > openafs-1.5.77-1.1.1.x86_64.rpm
> > -rw-r--r-- 1 efsops efsops  245869 Oct  7 17:11
> > openafs-authlibs-1.5.77-1.1.1.x86_64.rpm
> > -rw-r--r-- 1 efsops efsops  560495 Oct  7 17:11
> > openafs-authlibs-devel-1.5.77-1.1.1.x86_64.rpm
> > -rw-r--r-- 1 efsops efsops  764714 Oct  7 17:11
> > openafs-client-1.5.77-1.1.1.x86_64.rpm
> > -rw-r--r-- 1 efsops efsops   13287 Oct  7 17:11
> > openafs-compat-1.5.77-1.1.1.x86_64.rpm
> > -rw-r--r-- 1 efsops efsops 1190887 Oct  7 17:11
> > openafs-devel-1.5.77-1.1.1.x86_64.rpm
> > -rw-r--r-- 1 efsops efsops 1816226 Oct  7 17:11
> > openafs-docs-1.5.77-1.1.1.x86_64.rpm
> > -rw-r--r-- 1 efsops efsops 1161461 Oct  7 17:11
> > openafs-kernel-source-1.5.77-1.1.1.x86_64.rpm
> > -rw-r--r-- 1 efsops efsops  143921 Oct  7 17:11
> > openafs-kpasswd-1.5.77-1.1.1.x86_64.rpm
> > -rw-r--r-- 1 efsops efsops  300444 Oct  7 17:11
> > openafs-krb5-1.5.77-1.1.1.x86_64.rpm
> > -rw-r--r-- 1 efsops efsops 3979585 Oct  7 17:11
> > openafs-server-1.5.77-1.1.1.x86_64.rpm
> > The list on i386:
> > -rw-r--r-- 1 efsops efsops 1154119 Oct  7 17:50
> > dkms-openafs-1.5.77-1.1.1.i386.rpm
> > -rw-r--r-- 1 efsops efsops 3927398 Oct  7 17:50
> > openafs-1.5.77-1.1.1.i386.rpm
> > -rw-r--r-- 1 efsops efsops  238659 Oct  7 17:50
> > openafs-authlibs-1.5.77-1.1.1.i386.rpm
> > -rw-r--r-- 1 efsops efsops  525398 Oct  7 17:50
> > openafs-authlibs-devel-1.5.77-1.1.1.i386.rpm
> > -rw-r--r-- 1 efsops efsops  702579 Oct  7 17:50
> > openafs-client-1.5.77-1.1.1.i386.rpm
> > -rw-r--r-- 1 efsops efsops   13318 Oct  7 17:50
> > openafs-compat-1.5.77-1.1.1.i386.rpm
> > -rw-r--r-- 1 efsops efsops 1081577 Oct  7 17:50
> > openafs-devel-1.5.77-1.1.1.i386.rpm
> > -rw-r--r-- 1 efsops efsops 1816259 Oct  7 17:50
> > openafs-docs-1.5.77-1.1.1.i386.rpm
> > -rw-r--r-- 1 efsops efsops 1161445 Oct  7 17:50
> > openafs-kernel-source-1.5.77-1.1.1.i386.rpm
> > -rw-r--r-- 1 efsops efsops  129702 Oct  7 17:50
> > openafs-kpasswd-1.5.77-1.1.1.i386.rpm
> > -rw-r--r-- 1 efsops efsops  270950 Oct  7 17:50
> > openafs-krb5-1.5.77-1.1.1.i386.rpm
> > -rw-r--r-- 1 efsops efsops 3835766 Oct  7 17:50
> > openafs-server-1.5.77-1.1.1.i386.rpm
> > Is there anything special that needs to be done to coerce the build of
> the
> > kmod-openafs rpm on the 32 bit platform?
> > I can't find the code/file/whatever that determines whether or not it
> gets
> > built....
>
>
>
> --
> Derrick
>

Reply via email to