PDA

View Full Version : FC12 - yum-builddep - UnboudedLocalError



ww7ba
15th February 2010, 08:46 PM
:confused: I was working my way through the steps for downloading and installing the kernel source I have done this on ever Fedora release, so this is a new error for me. The error was from yum-builddep. Here is the command and error output:

[bill@hp-laptop ~]$ su -c 'yum-builddep kernel-2.6.31.12-174.2.3.fc12.src.rpm'
Password:
Loaded plugins: presto, refresh-packagekit
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(opts)
File "/usr/bin/yum-builddep", line 173, in get_build_deps
for srpm in toActOn:
UnboundLocalError: local variable 'toActOn' referenced before assignment

[bill@hp-laptop ~]$ yum-builddep --version
yum-builddep - 1.0 (yum - 3.2.25)

While the symptom is a script error, I am not sure what is causing the problem.

Dies
15th February 2010, 10:22 PM
http://forums.fedoraforum.org/showthread.php?t=239875&highlight=toActOn

ww7ba
15th February 2010, 10:56 PM
As the link suggested, I tried 'yum clean all' and 'yum update.' I tried yum-builddeb one more time, with the same results. I manually loaded the missing packages.