Description of problem: Using the addrepo (-a) option of mockchain with a slash (/) in the path will cause a "Bad id for repo" message to appear in the root.log file. If there are required dependencies in the additional repository, they will not be found and the build will fail. Version-Release number of selected component (if applicable): 1.1.26-2 How reproducible: always Steps to Reproduce: 1. Create a source RPM that has dependencies not found in the standard repositories. 2. Create a yum repository with the non-standard dependencies: createrepo /home/build/myrepo 3. Attempt to build a package that requires dependencies from myrepo: mockchain -r fedora-17-i386 -l output -a file:///home/build/myrepo \ mypackage-1.0-1.src.rpm Actual results: mockchain fails to install dependencies from the specified addition repository. In the output/results/fedora-17-i386/mypackage-1.0-1/root.log file, the following error message appears: DEBUG util.py:258: Bad id for repo: ,home,build,myrepo Expected results: mockchain finds and installs the dependencies in myrepo before attempting to build mypackage.
Created attachment 653167 [details] [PATCH] Fix mockchain repo id calculation The attached patch uses an underscore (_) instead of a comma (,) for the repo id separator replacement.
Applied and queued for next release
mock-1.1.29-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/mock-1.1.29-1.fc17
mock-1.1.29-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.29-1.el6
mock-1.1.29-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mock-1.1.29-1.fc18
Package mock-1.1.29-1.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing mock-1.1.29-1.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-0476/mock-1.1.29-1.el6 then log in and leave karma (feedback).
mock-1.1.29-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.29-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.