http://forums.fedoraforum.org – Hi! I am trying to build a custom kernel, following the guide on fedora wiki the error occurs when Im installing the build dependencies Code: [john@lunatech ~]$ sudo yum-builddep kernel-2.6.31.12-174.2.3.fc12.src.rpm [sudo] password for john: 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 Does anyone know the reason for this? Appreciate any help //John ---------- Post added at 11:12 AM CST ---------- Previous post was at 10:50 AM CST ---------- if i pretend like there where no errors, and continue the steps i eventually end up at: Code: [john@lunatech SPECS]$ rpmbuild -bp --target=i686 kernel.spec Building target platforms: i686 Building for target i686 error: Failed build dependencies: redhat-rpm-config is needed by kernel-2.6.31.12-174.2.3.fc12.src xmlto is needed by kernel-2.6.31.12-174.2.3.fc12.src asciidoc is needed by kernel-2.6.31.12-174.2.3.fc12.src elfutils-libelf-devel is needed by kernel-2.6.31.12-174.2.3.fc12.src binutils-devel is needed by kernel-2.6.31.12-174.2.3.fc12.src //John (HowTos)