| Summary: | Using mock 1.1.10 --installdeps ERROR NOKEY issue | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Giam Teck Choon <giamteckchoon> | ||||
| Component: | mock | Assignee: | Clark Williams <williams> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | el6 | CC: | giamteckchoon, mebrown, williams | ||||
| 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: | 2011-09-23 18:55:10 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Queued for 1.1.13 release Forgot to add this bz to the update. Closing. |
Created attachment 503487 [details] The attached patch add support for passing options to yum-buildep via mock cfg config_opts['yum_builddep_opts'] option. Description of problem: mock -r whatever-mock.cfg --installdeps /path/to/whatever.src.rpm will result in the following error: ERROR: Command failed: # /usr/bin/yum-builddep --installroot /var/lib/mock/config_opts['root']/root/ /path/to/whatever.src.rpm warning: rpmts_HdrFromFdno: Header V4 RSA/SHA1 Signature, key ID e0da8890: NOKEY Error: Could not open /path/to/whatever.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: /path/to/whatever.src.rpm: RPM Error opening Package Version-Release number of selected component (if applicable): 1.1.10 How reproducible: See description. Steps to Reproduce: See description. Actual results: See description of the error. Expected results: Should be like what mock 1.1.6 does but it isn't. Additional info: I thought yum-builddep should honour about the config_opts['yum.conf'] which has nogpgcheck in it but it isn't... hence the attached patch to add support to pass options to yum-builddep for the maintainer/author to review. Thanks. Kindest regards, Giam Teck Choon