Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61031 - segfaults on attempts to build gpgme-0.9.0-r1
Summary: segfaults on attempts to build gpgme-0.9.0-r1
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL: http://www.linuxlooney.com/gpgme_error
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-20 06:35 UTC by Aaron Kulbe (RETIRED)
Modified: 2004-09-08 04:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Kulbe (RETIRED) gentoo-dev 2004-08-20 06:35:41 UTC
When I try to emerge KDE 3.3, it grabs gpgme-0.9.0-r1 as a dependency, and during the build of gpgme, it errors out with a Segmentation Fault.

Reproducible: Always
Steps to Reproduce:
1. emerge gpgme
2.
3.

Actual Results:  
gpgsm: some signal caught ... exiting
echo disable-crl-checks > ./gpgsm.conf
echo faked-system-time 1008241200 >> ./gpgsm.conf
test -d ./private-keys-v1.d || mkdir ./private-keys-v1.d
cp ./32100C27173EF6E9C4E9A25D3D69F86D37A4F939
private-keys-v1.d/32100C27173EF6E9C4E9A25D3D69F86D37A4F939.key
echo 32100C27173EF6E9C4E9A25D3D69F86D37A4F939 > ./trustlist.txt
echo >> ./trustlist.txt
echo "# CN=test cert 1,OU=Aegypten Project,O=g10 Code
GmbH,L=D<C3><BC>sseldorf,C=DE" >> ./trustlist.txt
echo "3CF405464F66ED4A7DF45BBDD1E4282E33BDB76E S" >> ./trustlist.txt
/bin/sh ../../libtool --mode=link gcc  -march=athlon-xp -O3 -pipe
-fomit-frame-pointer -I/usr/include -Wall -Wcast-align -Wshadow
-Wstrict-prototypes   -o t
-import  t-import.o ../../gpgme/libgpgme.la
/bin/sh ../../libtool --mode=link gcc  -march=athlon-xp -O3 -pipe
-fomit-frame-pointer -I/usr/include -Wall -Wcast-align -Wshadow
-Wstrict-prototypes   -o t
-keylist  t-keylist.o ../../gpgme/libgpgme.la
make[3]: *** [pubring.kbx] Segmentation fault
make[3]: *** Deleting file `pubring.kbx'
make[3]: *** Waiting for unfinished jobs....
mkdir .libs
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I/usr/include -Wall
-Wcast-align -Wshadow -Wstrict-prototypes -o .libs/t-import t-import.o  ../../gpgme
/.libs/libgpgme.so
creating t-import
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I/usr/include -Wall
-Wcast-align -Wshadow -Wstrict-prototypes -o .libs/t-keylist t-keylist.o  ../../gpg
me/.libs/libgpgme.so
creating t-keylist
make[3]: Leaving directory
`/var/tmp/portage/gpgme-0.9.0-r1/work/gpgme-0.9.0/tests/gpgsm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gpgme-0.9.0-r1/work/gpgme-0.9.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gpgme-0.9.0-r1/work/gpgme-0.9.0'
make: *** [all] Error 2

!!! ERROR: app-crypt/gpgme-0.9.0-r1 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
for gpgme to build properly

zoom ~ # emerge info
Portage 2.0.51_pre20 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r1,
2.6.7 i686 AMD Athlon(TM) XP 2000+)
=================================================================
System uname: 2.6.7 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.7-r4
Libtools: sys-devel/libtool-1.4.3-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache fixpackages sandbox"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo
http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups curl debug
doc dvd dvdr encode esd evo flash foomaticdb freetds gd gdbm gif gnome gnutls
gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imap imlib java jpeg kde libg++
libwww mad maildir mikmod motif mozilla mpeg mysql nas ncurses nls nptl
oggvorbis opengl openoffice oss pam pcmcia pda pdflib perl png pnp ppds python
qt quicktime readline samba sasl scanner sdl slang spell ssl svga tcltk tcpd
tetex tiff truetype usb wmf x86 xinerama xml2 xmms xv zlib"

zoom ~ #
Comment 1 schaedpq 2004-08-22 10:31:51 UTC
I do not know much about gpgme (and libgcrypt) but I made the following experiences on my system:
I got this problem, if I install libgcrypt-1.1.94 and create a symbolic link libgcrypt.so.1 pointing to libgcrypt.so.11 (libgcrypt-1.1.94 does not install libgcrypt.so.1 which is needed by gpgme-0.9.0-r1). gpgme-0.9.0 does not seem to work with the most recent libgcrypt.
What libgcrypt do you have on your system? 
Comment 2 Daniel Black (RETIRED) gentoo-dev 2004-09-08 04:31:23 UTC
use "readelf -a" on libraries to see their dependancies. I could not see gpgme libraries using gcrypt.

Going to close this because I could not duplicate it. Please reopen with more info on gpgme versions. Try a emerge sync and emerge gpgme-0.9.0 just to be sure you have the latest version.

What version of gnupg have you got installed and with what use flags?
Comment 3 Daniel Black (RETIRED) gentoo-dev 2004-09-08 04:33:07 UTC
dup of bug #61102 I should of said. Still looking.