Description of problem:
`yum-builddep kernel' dumps a python stack complaining about an unknown global name
Version-Release number of selected component (if applicable):
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
# 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__
File "/usr/bin/yum-builddep", line 93, in main
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
I would expect to have it yum install the appropriate packages for the build dependencies of the kernel package.
*** This bug has been marked as a duplicate of bug 575240 ***