Bug 711441 - Using mock 1.1.10 --installdeps ERROR NOKEY issue
Summary: Using mock 1.1.10 --installdeps ERROR NOKEY issue
Keywords:
Status: CLOSED CURRENTRELEASE
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: 2011-06-07 14:17 UTC by Giam Teck Choon
Modified: 2011-09-23 18:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-23 18:55:10 UTC
Type: ---


Attachments (Terms of Use)
The attached patch add support for passing options to yum-buildep via mock cfg config_opts['yum_builddep_opts'] option. (2.19 KB, patch)
2011-06-07 14:17 UTC, Giam Teck Choon
no flags Details | Diff

Description Giam Teck Choon 2011-06-07 14:17:34 UTC
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

Comment 1 Clark Williams 2011-09-03 16:12:59 UTC
Queued for 1.1.13 release

Comment 2 Clark Williams 2011-09-23 18:55:10 UTC
Forgot to add this bz to the update. Closing.


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