Bug 1170230

Summary: mock failed rebuild multiple packages
Product: [Fedora] Fedora Reporter: Mikhail Campos <Mikhail_Campos-Guadamuz>
Component: mockAssignee: Miroslav Suchý <msuchy>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: jdisnard, mebrown, msimacek, msuchy, praiskup, williams
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: mock-1.2.3-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-12 04:07:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
correct builddep cmd construction none

Description Mikhail Campos 2014-12-03 14:28:14 UTC
Created attachment 964145 [details]
correct builddep cmd construction

Description of problem:
mock can not rebuild multiple packages specified in command line

Version-Release number of selected component:
1.2.2-1

How reproducible:
always

Steps to Reproduce: 
1. mock --rebuild /home/plageat/zlib-1.2.8-3.fc20.src.rpm /home/plageat/libee-0.4.1-5.fc20.src.rpm --resultdir /tmp

Actual results:
...
[output skipped]
Error: Could not open /var/lib/mock/fedora-20-x86_64/root//builddir/build/SRPMS/zlib-1.2.8-3.fc20.src.rpm .
Try running yum-builddep with the --nogpgcheck option.
There was a problem getting the build deps, exiting:
   Could not open local rpm file: /var/lib/mock/fedora-20-x86_64/root//builddir/build/SRPMS/zlib-1.2.8-3.fc20.src.rpm: Unable to open file
ERROR: Exception(/home/plageat/libee-0.4.1-5.fc20.src.rpm) Config(fedora-20-x86_64) 0 minutes 53 seconds
INFO: Results and/or logs in: /tmp
INFO: Cleaning up build root ('cleanup_on_failure=True')
Start: clean chroot
Finish: clean chroot
ERROR: Command failed. See logs for output.
 # /usr/bin/yum-builddep --installroot /var/lib/mock/fedora-20-x86_64/root/ --releasever 20 /var/lib/mock/fedora-20-x86_64/root//builddir/build/SRPMS/zlib-1.2.8-3.fc20.src.rpm --installroot /var/lib/mock/fedora-20-x86_64/root/ --releasever 20 /var/lib/mock/fedora-20-x86_64/root//builddir/build/SRPMS/libee-0.4.1-5.fc20.src.rpm

Expected results:
no errors

Proposed patch:
Patch attached

Comment 1 Miroslav Suchý 2014-12-04 09:50:12 UTC
Commited as f18701a
Thanks for contribution.

Comment 2 Fedora Update System 2014-12-04 12:06:23 UTC
mock-1.2.3-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/mock-1.2.3-1.fc21

Comment 3 Fedora Update System 2014-12-04 12:09:55 UTC
mock-1.2.3-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/mock-1.2.3-1.fc20

Comment 4 Fedora Update System 2014-12-04 12:10:52 UTC
mock-1.2.3-1.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/mock-1.2.3-1.el7

Comment 5 Fedora Update System 2014-12-04 12:12:19 UTC
mock-1.2.3-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mock-1.2.3-1.el6

Comment 6 Fedora Update System 2014-12-05 00:46:32 UTC
Package mock-1.2.3-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mock-1.2.3-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-16285/mock-1.2.3-1.fc21
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-12-12 04:07:14 UTC
mock-1.2.3-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2014-12-17 04:42:21 UTC
mock-1.2.3-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-01-06 02:06:04 UTC
mock-1.2.3-1.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2015-01-06 02:07:30 UTC
mock-1.2.3-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.