[ebuild R ] app-crypt/gpgme-1.2.0 USE="-pth" [ebuild R ] mail-client/mutt-1.5.20-r1 USE="crypt gnutls gpgme idn imap mbox nls qdbm sidebar smime ssl -berkdb -debug -gdbm -nntp -pop -sasl -smtp -vanilla" Builds fine but when opening PGP-encrypted/signed message (I mean choosing such from list and pressing enter), mutt displays: error creating gpgme context: Not operational? and then exits. I'll attach the build log in a while. -- Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.4.0, glibc-2.10.1-r0, 2.6.30-gentoo-r2-mgorny-amd64 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r2-mgorny-amd64-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-gentoo-2.0.1 Timestamp of tree: Sun, 19 Jul 2009 01:45:01 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 9999 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/srv/nfs/common/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y --ask --keep-going" FEATURES="buildpkg collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox usersync" GENTOO_MIRRORS="http://src.gentoo.pl http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="pl_PL.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="pl en_US en" MAKEOPTS="-j2" PKGDIR="/srv/nfs/common/packages/athlon64" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/cache/portage/local /usr/local/portage/layman/sunrise /usr/local/portage/layman/d /usr/local/portage/layman/gnash-cvs /usr/local/portage/layman/java-overlay /usr/local/portage/layman/kvm /usr/local/portage/layman/perl-experimental /usr/local/portage/layman/pythonhead /usr/local/portage/layman/vdr-experimental /usr/local/portage/layman/vdr-testing /usr/local/portage/layman/voip /usr/local/portage/layman/x11 /usr/local/portage/layman/qting-edge /usr/local/portage/layman/python-testing /usr/local/portage/layman/mozilla /usr/local/portage/layman/dotnet /usr/local/portage/layman/xfce-dev /home/mgorny/projekty/emdzientoo" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acpi alsa amd64 amrnb amrwb bash-completion bluetooth branding bzip2 cairo caps cdparanoia cdr cli cracklib crypt curl dbus dri dts dv dvb dvd dvdr dvdread emboss encode evo exif expat fame ffmpeg firefox flac fontconfig fontforge fortran fpx gif glib gmp gnutls gpg gpgme gs iconv idn imagemagick ipv6 isdnlog jack jbig jpeg jpeg2k kdeenablefinal latex libnotify lirc logrotate mad mbox midi mikmod mmap mmx mmxext mng modplug mp3 mpeg mudflap multilib musepack ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss oss4 pam pch pcre pdf perl png ppds pppd pulseaudio python qt3support quicktime readline reflection rle rtsp scanner sdl session slang speex spl sqlite3 sse sse2 ssl startup-notification svg sysfs syslog tcpd tetex tga theora threads tiff timidity truetype unicode usb v4l v4l2 vcd vhosts vim-syntax vorbis wmf xattr xcb xine xinetd xml xorg xpm xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel emu10k1 virmidi mpu401 pcsp" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en_US en" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="nouveau nv vesa radeon radeonhd nvidia fglrx" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 198553 [details] The build log
From NEWS file of app-crypt/gpgme-1.2.0: * gpgme_new will fail if gpgme_check_version was not called, or a selftest failed (for example, if -mms-bitfields was not used on MingW32 targets).
Created attachment 198635 [details, diff] gpgme-1.2.0 patch From what I've been told this should make it work. Could you please give this a try?
(In reply to comment #3) > Created an attachment (id=198635) [edit] > gpgme-1.2.0 patch Calling gpgme_check_version(NULL) once per initialization of mutt should be sufficient, but this patch shouldn't create noticeable performance penalty. It would be better if mutt upstream applied a patch which causes calling gpgme_check_version(NULL) only once per initialization of mutt.
Patch fixes the issue but I agree with Arfrever that this is not the best solution.
Created attachment 198713 [details, diff] gpgme init patch v2 Can you please try this patch as well. Unfortunately I don't have emails to test this.
Created attachment 198714 [details, diff] gpgme init patch v3 right, too quick, this should work better
Works fine for me.
Ok, thanks for testing. Patch went upstream, we'll see what they'll do eventually.