Seems the --target i686 is a key here. I read the src/packaging/RedHat/openafs-README file, and it suggests setting that option as well, so I rebuilt with it. Oddly, this time I got ONLY the kmod-openafs file:
total 272 -rw-r--r-- 1 efsops efsops 271437 Oct 7 18:29 kmod-openafs-1.5.77-1.1.2.6.18_164.el5.i686.rpm That's it. There must be a way to get the entire set of rpms built with one command. Now I wonder why --target i686 doesn't build all the others. More digging.... On Thu, Oct 7, 2010 at 9:44 PM, Andy Cobaugh <[email protected]> wrote: > On 2010-10-07 at 21:14, Phillip Moore ( [email protected] ) said: > >> >> 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.... >> > > Well, that's all handled by the logic in openafs.spec, in combination with > some kmod macros. > > Make sure you unset ARCH, or use mock to build. There's some logic > somewhere that goes wonky if ARCH is set at all in your environment. > > This is the command line I used (going back through IRC logs, I think it's > the right one): > > rpmbuild --rebuild --define 'kernvers 2.6.18-194.11.1.el5' --define > 'build_userspace 1' --define 'build_modules 1' --target i686 > openafs-1.5.77-1.1.1.src.rpm > > Hope that works for you. > > --andy >
