Description of problem:
squeak-vm fails to build under mock for epel-6-i386
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Download http://fedorapeople.org/~jskarvad/squeak/squeak-vm-126.96.36.19914-1.fc18.src.rpm
2. Run `mock --rebuild -r epel-6-i386 squeak-vm-188.8.131.5214-1.fc18.src.rpm`
Build fails with
RPM build errors:
File not found: /builddir/build/BUILDROOT/squeak-vm-184.108.40.20614-1.el6.i386/usr/lib/squeak/4.10.2-2614/SqueakFFIPrims
Child return code was: 1
Build completes OK and produces output RPMs
Patch attached to ticket 861633 corrects the problem by changing the filename in the ifarch i386 to include so.SqueakFFIPrims not just SqueakFFIPrims. I would presume this bug affects more than just building for epel-6-i386 and would be applicable for all 32 bit builds.
I finally got it, you are trying to rebuilt something that is obsoleted for a while (I need to remove it from the fedorapoeple site).
Correct steps (on some up-to-date Fedora x86_64/i386 machine):
$ yumdownloader --source squeak-vm
$ mock -r epel-6-i386 ./squeak-vm-220.127.116.1114-8.*.src.rpm
Or download the srpm from the koji or source repo by hand.
(In reply to Jaroslav Škarvada from comment #1)
> I finally got it, you are trying to rebuilt something that is obsoleted for
> a while (I need to remove it from the fedorapoeple site).
> Correct steps (on some up-to-date Fedora x86_64/i386 machine):
> $ yumdownloader --source squeak-vm
> $ mock -r epel-6-i386 ./squeak-vm-18.104.22.16814-8.*.src.rpm
$ mock -r epel-6-i386 ./squeak-vm-22.214.171.12414*.src.rpm