Bug 590169 - yum-builddep broke
yum-builddep broke
Status: CLOSED DUPLICATE of bug 575240
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum-utils (Show other bugs)
6.0
All Linux
low Severity medium
: rc
: ---
Assigned To: James Antill
BaseOS QE Security Team
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-07 17:23 EDT by David Brown
Modified: 2014-01-21 01:17 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-05-07 18:26:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Brown 2010-05-07 17:23:45 EDT
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 18:26:40 EDT

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

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