Bug 590169

Summary: yum-builddep broke
Product: Red Hat Enterprise Linux 6 Reporter: David Brown <david.brown>
Component: yum-utilsAssignee: James Antill <james.antill>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-07 22:26:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Brown 2010-05-07 21:23:45 UTC
Description of problem:

`yum-builddep kernel' dumps a python stack complaining about an unknown global name

Version-Release number of selected component (if applicable):

yum-utils-1.1.24-4.el6.noarch


How reproducible:
This is reproducible for every package it seems

Steps to Reproduce:
1. Install RHEL6 Beta using text mode
2. yum -y install yum-utils
3. yum-builddep kernel
  
Actual results:

# yum-builddep kernel
Loaded plugins: rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Enabling rhel-beta-source repository
Traceback (most recent call last):
  File "/usr/bin/yum-builddep", line 196, in <module>
    util = YumBuildDep()
  File "/usr/bin/yum-builddep", line 64, in __init__
    self.main()
  File "/usr/bin/yum-builddep", line 93, in main
    self.get_build_deps()
  File "/usr/bin/yum-builddep", line 169, in get_build_deps
    toActOn.extend(_best_convert_pkg2srcpkgs(self, opts, newpkg))
NameError: global name 'opts' is not defined


Expected results:

I would expect to have it yum install the appropriate packages for the build dependencies of the kernel package.


Additional info:

Comment 1 James Antill 2010-05-07 22:26:40 UTC

*** This bug has been marked as a duplicate of bug 575240 ***