[CentOS] Compilation of kernel failed for CentOS 5

Tue May 22 17:45:04 UTC 2007
Fong Vang <sudoyang at gmail.com>

I downloaded the src rpm for CentOS 5 and tried to recompile it.  It failed
with the following message:

+ sh ./scripts/modsign/modsign.sh /var/tmp/kernel-2.6.18-8.el5-root
/lib/modules/2.6.18-8.el5PAE/kernel/drivers/char/watchdog/pcwd_pci.ko CentOS
gpg: WARNING: unsafe permissions on homedir `..'
+ mv -f /var/tmp/kernel-2.6.18-8.el5-root/lib/modules/2.6.18-8.el5PAE/kernel/drivers/char/watchdog/pcwd_pci.ko.signed
+ for i in '`cat modnames`'
+ sh ./scripts/modsign/modsign.sh /var/tmp/kernel-2.6.18-8.el5-root
./scripts/modsign/modsign.sh: line 46: 13120 Segmentation fault      gpg
--no-greeting $KEYFLAGS -b $module.out
error: Bad exit status from /var/tmp/rpm-tmp.89878 (%build)

Is it segfaulting because it can't find the key to sign the module?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070522/214fe81c/attachment-0004.html>