Bug 217263 - rpmbuild of kernel fails : gpg seg fault
Summary: rpmbuild of kernel fails : gpg seg fault
Keywords:
Status: CLOSED DUPLICATE of bug 213974
Alias: None
Product: Fedora
Classification: Fedora
Component: gnupg
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-26 03:17 UTC by Jerry Amundson
Modified: 2007-11-30 22:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-19 03:55:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jerry Amundson 2006-11-26 03:17:23 UTC
Description of problem:
+ for i in '`cat modnames`'
+ 
sh ./scripts/modsign/modsign.sh /var/tmp/kernel-2.6.18-1.2849-root/lib/modules/2.6.18-1.2849PAE/kernel/fs/autofs/autofs.ko 
Red
./scripts/modsign/modsign.sh: line 46: 25490 Segmentation fault      
gpg --no-greeting $KEYFLAGS -b $module.out
error: Bad exit status from /var/tmp/rpm-tmp.5942 (%build)
    Bad exit status from /var/tmp/rpm-tmp.5942 (%build)


Version-Release number of selected component (if applicable):
kernel-2.6.18-1.2849.fc6.src.rpm

How reproducible:
Always.

Steps to Reproduce:
1. rpmbuild -bb --target i686 ../SPECS/kernel-2.6.spec
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jerry Amundson 2006-11-26 16:51:31 UTC
Sorry. I'm building under xen and had renamed /lib/tls.

Comment 2 Jerry Amundson 2006-11-27 15:58:45 UTC
I am still seeing this, though on different modules each time...

+ for i in '`cat modnames`'
+ sh ./scripts/modsign/modsign.sh
/var/tmp/kernel-2.6.18-1.2849-root/lib/modules/2.6.18-1.2849/kernel/sound/pci/echoaudio/snd-darla24.ko
Red
gpg: WARNING: unsafe permissions on homedir `..'
+ mv -f
/var/tmp/kernel-2.6.18-1.2849-root/lib/modules/2.6.18-1.2849/kernel/sound/pci/echoaudio/snd-darla24.ko.signed
/var/tmp/kernel-2.6.18-1.2849-root/lib/modules/2.6.18-1.2849/kernel/sound/pci/echoaudio/snd-darla24.ko
+ for i in '`cat modnames`'
+ sh ./scripts/modsign/modsign.sh
/var/tmp/kernel-2.6.18-1.2849-root/lib/modules/2.6.18-1.2849/kernel/sound/pci/echoaudio/snd-echo3g.ko
Red
./scripts/modsign/modsign.sh: line 46:  3687 Segmentation fault      gpg
--no-greeting $KEYFLAGS -b $module.out
error: Bad exit status from /var/tmp/rpm-tmp.61454 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.61454 (%build)

Subsequent runs manually succeed with only a warning...
gpg --no-greeting --no-default-keyring --secret-keyring ../kernel.sec --keyring
../kernel.pub --default-key Red -b
/var/tmp/kernel-2.6.18-1.2849-root/lib/modules/2.6.18-1.2849/kernel/sound/pci/echoaudio/snd-indigo.ko.out
gpg: can't create `/root/.gnupg/random_seed': No such file or directory

Comment 3 Rolf Fokkens 2006-12-10 21:10:24 UTC
Same here, both when running kernel-2.6.18-1.2849.fc6 and 2.6.18-1.2849.fc6xen.
gnupg = gnupg-1.4.6-2

Sometimes however I'm lucky and the kernel builds. Mostly however the build
fails as only one of the many gpg calls failing is enough.

Comment 4 Daphne Shaw 2006-12-14 03:36:01 UTC
This seems to be a dupe of bug 213974

Comment 5 Dave Jones 2006-12-19 03:55:22 UTC

*** This bug has been marked as a duplicate of 213974 ***


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