Bug 1010329

Summary: squeak-vm-4.10.2.2614 SRPM fails to build on i386 under mock
Product: [Fedora] Fedora Reporter: Trevor Hemsley <trevor.hemsley>
Component: squeak-vmAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dmcf, jskarvad, smparrish
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-20 14:21:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Trevor Hemsley 2013-09-20 14:09:38 UTC
Description of problem:
squeak-vm fails to build under mock for epel-6-i386

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Download http://fedorapeople.org/~jskarvad/squeak/squeak-vm-4.10.2.2614-1.fc18.src.rpm
2. Run `mock --rebuild -r epel-6-i386 squeak-vm-4.10.2.2614-1.fc18.src.rpm`
3.

Actual results:
Build fails with
RPM build errors:
    File not found: /builddir/build/BUILDROOT/squeak-vm-4.10.2.2614-1.el6.i386/usr/lib/squeak/4.10.2-2614/SqueakFFIPrims
Child return code was: 1

Expected results:
Build completes OK and produces output RPMs

Additional info:
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.

Comment 1 Jaroslav Škarvada 2013-09-20 14:21:44 UTC
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-4.10.2.2614-8.*.src.rpm

Or download the srpm from the koji or source repo by hand.

Comment 2 Jaroslav Škarvada 2013-09-20 14:26:05 UTC
(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-4.10.2.2614-8.*.src.rpm
>
$ mock -r epel-6-i386 ./squeak-vm-4.10.2.2614*.src.rpm