Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 590502

Summary: [PATCH] yum-builddep does not work at all
Product: Red Hat Enterprise Linux 6 Reporter: Lubomir Rintel <lkundrak>
Component: yum-utilsAssignee: James Antill <james.antill>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Sklenar <psklenar>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: jhutar, psklenar
Target Milestone: rcKeywords: EasyFix, Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: yum-utils-1.1.26-7.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-10 22:01:21 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:
Attachments:
Description Flags
Proposed fix none

Description Lubomir Rintel 2010-05-09 23:41:47 UTC
Created attachment 412688 [details]
Proposed fix

Description of problem:

# yum-builddep xorg-x11-drv-nouveau-0.0.15-17.20091105gite1c2efd.el6.src.rpm
Loaded plugins: priorities, refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
6312 packages excluded due to repository priority protections
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 173, in get_build_deps
    for srpm in toActOn:
UnboundLocalError: local variable 'toActOn' referenced before assignment

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

yum-utils-1.1.24-4.el6.noarch

Additional info:

Attaching a fix

Comment 2 RHEL Program Management 2010-05-10 01:19:59 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 James Antill 2010-05-10 14:21:02 UTC
 Can you try with the post beta1 versions of:

yum-3.2.27-7.el6
yum-utils-1.1.26-7.el6

Comment 4 Lubomir Rintel 2010-05-13 07:59:28 UTC
James, I would love to, but I do not know where to download those packages.

Comment 5 James Antill 2010-05-20 19:19:55 UTC
Ok, pretty sure this is fixed in -7.

Comment 9 Petr Sklenar 2010-07-09 14:46:24 UTC
yum-builddep /mnt/redhat/brewroot/packages/zsh/4.3.10/4.1.el6/src/zsh-4.3.10-4.1.el6.src.rpm 
Loaded plugins: presto, refresh-packagekit, rhnplugin
Getting requirements for zsh-4.3.10-4.1.el6.src
 --> Already installed : coreutils-8.4-9.el6.x86_64
 --> Already installed : coreutils-8.4-9.el6.x86_64
 --> Already installed : sed-4.2.1-5.el6.x86_64
 --> ncurses-devel-5.7-3.20090208.el6.x86_64
 --> libcap-devel-2.16-5.2.el6.x86_64
...
# then 20 packages was installed successfully
...
Complete!
--
verified with yum-utils-1.1.26-10.el6.noarch
distro: RHEL6.0-20100706.n.0

Comment 10 releng-rhel@redhat.com 2010-11-10 22:01:21 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.