Bug 590502 - [PATCH] yum-builddep does not work at all
[PATCH] yum-builddep does not work at all
Status: CLOSED CURRENTRELEASE
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
Petr Sklenar
: EasyFix, Patch
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-09 19:41 EDT by Lubomir Rintel
Modified: 2014-01-21 01:17 EST (History)
2 users (show)

See Also:
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 17:01:21 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Proposed fix (2.28 KB, text/plain)
2010-05-09 19:41 EDT, Lubomir Rintel
no flags Details

  None (edit)
Description Lubomir Rintel 2010-05-09 19:41:47 EDT
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 Product and Program Management 2010-05-09 21:19:59 EDT
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 10:21:02 EDT
 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 03:59:28 EDT
James, I would love to, but I do not know where to download those packages.
Comment 5 James Antill 2010-05-20 15:19:55 EDT
Ok, pretty sure this is fixed in -7.
Comment 9 Petr Sklenar 2010-07-09 10:46:24 EDT
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 17:01:21 EST
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.

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