Bug 496083

Summary: mock doesn't have configuration for i586
Product: [Fedora] Fedora Reporter: Petr Lautrbach <plautrba>
Component: mockAssignee: David Cantrell <dcantrell>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: dcantrell, mebrown, williams
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-15 12:45:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Lautrbach 2009-04-16 14:34:51 UTC
Description of problem:

Since Fedora 11 switched from i386 to i586 default for x86 32bit packages, mock should has configuration for fedora-rawhide-i586 chroot.

Comment 1 Jesse Keating 2009-04-16 16:21:02 UTC
I thought the default was to build for i586 based on rpm macros... what happens when you build into the i386 chroot of rawhide?

Comment 2 Petr Lautrbach 2009-04-17 07:31:49 UTC
My fail, sorry. I didn't check cfg file on rawhide.

This is related to Fedora 10 - mock-0.9.14-1.fc10.noarch

in /etc/mock/fedora-rawhide-i386.cfg is set:
config_opts['target_arch'] = 'i386'

So "$ mock -r fedora-rawhide-i386 package.src.rpm" builds i386 rpms


In rawhide - mock-0.9.14-3.fc11.noarch - is target_arch already set to i586:
config_opts['target_arch'] = 'i586'

Comment 3 Clark Williams 2009-07-08 16:46:49 UTC
so should we close this one?

Comment 4 Petr Lautrbach 2009-07-15 12:45:42 UTC
it's fixed in mock-0.9.16-1.fc10.noarch