I'm not sure if this is a bug in samba or rpm but I suspect that the problem is in the spec file. When I attempt to build samba 2.2.2-8 from a spec file for target=i686, the build fails due to missing files in a glob, while working on samba-common. The last directory in the glob is codepages. I've only tried building i686 and the default. This may be a problem for other archs as well. How reproducible: Always Steps to Reproduce: 1.rpm -Uvh samba-2.2.2-8.src.rpm 2.rpm -ba --target=i686 samba.spec 3. Actual Results: rpm fails to build packages due to missing files. Expected Results: It should have build the packages.
rpm-4.0.3-1.03 "rpmbuild --target=i686 -ba samba.spec" works fine for me with samba-2.2.2-8
Found problem. I was under assumption that processor was PII or better. Turned out to be a vanilla Pentium, hence the problem building for i686. Sorry for the disturbance.