Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be unavailable on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 590169 - yum-builddep broke
Summary: yum-builddep broke
Status: CLOSED DUPLICATE of bug 575240
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum-utils
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: James Antill
QA Contact: BaseOS QE Security Team
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-07 21:23 UTC by David Brown
Modified: 2014-01-21 06:17 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-05-07 22:26:40 UTC
Target Upstream Version:

Attachments (Terms of Use)

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):


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__
  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

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 ***

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