Bug 822975 - multiple --target option is no longer working
Summary: multiple --target option is no longer working
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: mock
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Clark Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-18 16:40 UTC by Levente Farkas
Modified: 2012-12-07 11:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-07 11:41:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Levente Farkas 2012-05-18 16:40:28 UTC
in the beginning (around 1.1.1) it was possible to use:
 --target i386,i686
this is very useful eg build glibc, openssl etc. on rhel-5 and the same apply to the kernel rpm on rhel-6 (in this case eg: i686,noarch). but it's no longer possible since mock do not install the src.rpm twice which means eg when build glibc which move SOURCE6 from the SOURCES/ dir to the buildroot that the second build will fail.

so either remove the possibility to add multiple target or fix it (ie. rerun the mock process from the beginning.

anyway it's not epel specific it's apply to the fedora package too.

Comment 1 Clark Williams 2012-08-02 02:08:03 UTC
Ok, I checked for multiple arch values in the option parser code and disallow them.

queued for next build.


Note You need to log in before you can comment on or make changes to this bug.