Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388857 - mail-client/thunderbird-7.0.1-r1: enigmail does not work
Summary: mail-client/thunderbird-7.0.1-r1: enigmail does not work
Status: RESOLVED DUPLICATE of bug 374549
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor with 2 votes (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-29 13:40 UTC by Thomas
Modified: 2011-11-05 20:15 UTC (History)
4 users (show)

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 Thomas 2011-10-29 13:40:22 UTC
When trying to open a pgp signed message with thunderbird 7, an error message is shown saying that gpg cannot be started.  These two error messages are in the error log:

Failed to load native module at path '/usr/lib64/thunderbird/components/libipc.so': (80004005) /usr/lib64/thunderbird/components/libipc.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden

Failed to load native module at path '/usr/lib64/thunderbird/components/libenigmime.so': (80004005) /usr/lib64/thunderbird/components/libenigmime.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden

The message sais: "cannot open shared object".  This is not surprising, as they are not there:

lagavulin ~ # ls -l /usr/lib64/thunderbird/components/lib*
-rwxr-xr-x 1 root root 18584 29. Okt 14:50 /usr/lib64/thunderbird/components/libdbusservice.so
-rwxr-xr-x 1 root root 39448 29. Okt 14:50 /usr/lib64/thunderbird/components/libmozgnome.so

Reproducible: Always

Steps to Reproduce:
1. emerge thunderbird 7 (just released as stable)
2. start thunderbird
3. click on a signed mail

(About the Reproducibility: well, i checked it only once and masked thunderbird 7 afterwards. ;-)
Actual Results:  
Error message.

Expected Results:  
gpg checked signature

lagavulin ~ # emerge --info thunderbird
Portage 2.1.10.11 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.0.3
Timestamp of tree: Sat, 29 Oct 2011 11:30:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 dlj-1.1 PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -fno-strict-aliasing -march=barcelona -mabm -mcx16 -mpopcnt -msahf -msse4a -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /usr/share/X11/xkb"
CXXFLAGS="-O2 -fno-strict-aliasing -march=barcelona -mabm -mcx16 -mpopcnt -msahf -msse4a -pipe"
DISTDIR="/scratch/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de de_DE en en_US en_GB"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 berkdb branding bzip2 cairo cdda cddb cdr cli cracklib crypt cups curl cxx dbus dri dts dvd dvdr emacs emboss encode exif expat fam ffmpeg firefox flac fluidsynth fontconfig gd gdbm gdu gif gimp gmp gnome gnome-keyring gnutls gstreamer gtk hal iconv icu ithreads java jpeg jpeg2k lame lcms libnotify libproxy log4j logrotate mad midi mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf png ppds pppd qt4 raw readline sdl session smp sndfile spell sqlite3 sse sse2 sse3 sse4a ssl startup-notification svg sysfs system-sqlite tcpd threads tiff truetype udev unicode usb vdpau vim-syntax vorbis x264 xcb xcomposite xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de de_DE en en_US en_GB" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XFCE_PLUGINS="logout menu trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

mail-client/thunderbird-7.0.1-r1 was built with the following:
USE="alsa crashreporter crypt dbus ipc libnotify lightning (multilib) startup-notification system-sqlite -bindist -custom-cflags -custom-optimization -debug -gconf -mozdom -wifi" LINGUAS="de en en_GB en_US -ar -ca -cs -da -es -es_AR -es_ES -et -eu -fi -fr -fy -fy_NL -ga -ga_IE -he -hu -is -it -ja -ko -lt -nb -nb_NO -nl -nn -nn_NO -pl -pt -pt_BR -pt_PT -ru -si -sk -sl -sq -sv -sv_SE -tr -uk -zh_TW"
CFLAGS="-fno-strict-aliasing -march=barcelona -pipe -Wno-return-type -w -mno-avx"
CXXFLAGS="-fno-strict-aliasing -march=barcelona -pipe -Wno-return-type -w -mno-avx"
Comment 1 Thomas 2011-10-29 14:58:53 UTC
I just realized that this only happens if thunderbird is opened via an X remote connection.  When opened locally thunderbird + enigmail work as expected.
Comment 2 François Valenduc 2011-10-29 21:17:19 UTC
I also notice that enigmail support has been dropped with thunderbird 7. This is  set as uncompatible with this version (!x11-plugins/enigmail is specified in the ebuild).
Does anybody know how to solve it ?
Comment 3 Thomas 2011-10-29 21:32:36 UTC
(In reply to comment #2)
> I also notice that enigmail support has been dropped with thunderbird 7. This
> is  set as uncompatible with this version (!x11-plugins/enigmail is specified
> in the ebuild).

enigmail 1.4 a1pre is included in the build.
Comment 4 François Valenduc 2011-10-29 21:49:27 UTC
Indeed but this is not working. The enigmail menu has disappeared and when I click on the preference buttons for enigmail in the extensions list, here is what I get an XML error about an entity not defined in chrome://enigmail/content/pref-enigmail.xul:

<description>&enigmail.keepCryptoSettingsForReply.tooltip;</description>
Comment 5 Thomas 2011-10-29 22:10:00 UTC
(In reply to comment #4)
> Indeed but this is not working. The enigmail menu has disappeared and when I
> click on the preference buttons for enigmail in the extensions list, here is
> what I get an XML error about an entity not defined in
> chrome://enigmail/content/pref-enigmail.xul:

I do have an "OpenPGP" menu and i can sign, encrypt and decrypt messages -- as long as i open thunderbird locally.  Maybe your USE flags differ from mine?  I can build and test it on a 2nd machine, however.
Comment 6 François Valenduc 2011-10-29 22:57:43 UTC
Your use flags are similar to mine. Only linguas differs. However, CFLAGS are not the same. Here is what I have:

mail-client/thunderbird-7.0.1-r1 was built with the following:
USE="alsa crashreporter crypt dbus ipc libnotify lightning (multilib) startup-notification -bindist -custom-cflags -custom-optimization -debug -gconf -mozdom -system-sqlite -wifi" LINGUAS="fr -ar -ca -cs -da -de -en -en_GB -en_US -es -es_AR -es_ES -et -eu -fi -fy -fy_NL -ga -ga_IE -he -hu -is -it -ja -ko -lt -nb -nb_NO -nl -nn -nn_NO -pl -pt -pt_BR -pt_PT -ru -si -sk -sl -sq -sv -sv_SE -tr -uk -zh_TW"                                                
CFLAGS="-pipe -march=core2 -mtune=generic -Wno-return-type -w -mno-avx"
CXXFLAGS="-pipe -march=core2 -mtune=generic -Wno-return-type -w -mno-avx"
Comment 7 Jimmy C. Chau 2011-10-30 10:23:51 UTC
I seem to be encountering the same error though my circumstances seem to differ slightly.  Unlike Thomas, I encounter this problem when I run Thunderbird locally.  

I too have thunderbird-7.0.1 installed (with the ipc and crypt use flag among others).  

For almost every action in Thunderbird, I get two errors:
1. Could not start the gpg-agent program which is needed for your GnuPG version 2.0.17.
2. Enigmail: Error in accessing Enigmail service
   To permanently avoid this alert, either fix the problem or uninstall Enigmail. Click on the Help button for more details.

These errors appear to arise from Enigmail's inability to start gpg-agent.  Note that in my setup, I have not independently started "gpg-agent --daemon".  If I do start "gpg-agent --daemon" with the appropriate environmental variables set when starting Thunderbird, I do not encounter this problem (probably because Enigmail won't need to start gpg-agent if it's already running).  (Perhaps this is why Thomas only encounters this problem when he runs Thunderbird remotely: because he otherwise has gpg-agent already started).  Starting gpg-agent myself seems like a viable workaround, but I would prefer to have Thunderbird/Enigmail automatically start it when needed.  

I also see the following errors in my error log:

Failed to load native module at path '/usr/lib64/thunderbird/components/libipc.so': (80004005) /usr/lib64/thunderbird/components/libipc.so: cannot open shared object file: No such file or directory

Failed to load native module at path '/usr/lib64/thunderbird/components/libenigmime.so': (80004005) /usr/lib64/thunderbird/components/libenigmime.so: cannot open shared object file: No such file or directory

(And they're right too; those files don't exist).  However, libenigmime.so seems to be getting loaded a few more times because I get the following two messages too:

While registering XPCOM module /usr/lib64/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/Linux_x86_64-gcc3/components/libenigmime-x86_64-gcc3.so, trying to re-register CID '{847b3a21-7ab1-11d4-8f02-006008948af5}' already registered by /usr/lib64/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/Linux_x86_64-gcc3/components/libenigmime-x86_64-gcc3.so.

While registering XPCOM module /usr/lib64/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/Linux_x86_64-gcc3/components/libenigmime-x86_64-gcc3.so, trying to re-register CID '{847b3a51-7ab1-11d4-8f02-006008948af5}' already registered by /usr/lib64/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/Linux_x86_64-gcc3/components/libenigmime-x86_64-gcc3.so.

Further down the error log, the following two error messages illustrate how the Enigmail and IPC problems are related:
Error: enigmail.js: detectGpgAgent: [xpconnect wrapped nsIFile] failed
Error: enigmail.js: detectGpgAgent: gpg-agent output: gpg-connect-agent: can't connect to the agent: IPC connect call failed

Note that I do see the OpenPGP menu.  

Below is my "emerge --info thunderbird" in case it helps:

Portage 2.1.10.11 (hardened/linux/amd64, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo-2011Oct21 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.6-gentoo-2011Oct21-x86_64-Intel-R-_Core-TM-2_Duo_CPU_U9400_@_1.40GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 29 Oct 2011 20:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA @BINARY-REDISTRIBUTABLE AdobeFlash-10.1 PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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"
CXXFLAGS="-march=core2 -O2 -pipe -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.netnitco.net      http://gentoo.mirrors.tds.net/gentoo    http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/     http://distfiles.gentoo.org     http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="--jobs=4 --load-average=2"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cairo caps cjk cli consolekit cracklib crypt cups cxx dbus dri dvd exif ffmpeg flac gdbm gnutls gpm hal hardened iconv jpeg justify laptop lcms mmx modules mp3 mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pax_kernel pcre png ppds pppd readline sdl session spell sse sse2 ssl ssse3 sysfs system-sqlite tcpd theora threads truetype unicode urandom v4l2 vorbis xinerama xorg xv xvmc zlib" ALSA_CARDS="hda-intel usb-audio" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LINGUAS="en_US en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

mail-client/thunderbird-7.0.1-r1 was built with the following:
USE="alsa crashreporter crypt dbus ipc (multilib) system-sqlite -bindist -custom-cflags -custom-optimization -debug -gconf -libnotify -lightning -mozdom -startup-notification -wifi" LINGUAS="en en_US -ar -ca -cs -da -de -en_GB -es -es_AR -es_ES -et -eu -fi -fr -fy -fy_NL -ga -ga_IE -he -hu -is -it -ja -ko -lt -nb -nb_NO -nl -nn -nn_NO -pl -pt -pt_BR -pt_PT -ru -si -sk -sl -sq -sv -sv_SE -tr -uk -zh_TW"
CFLAGS="-march=core2 -pipe -Wno-return-type -w -mno-avx"
CXXFLAGS="-march=core2 -pipe -Wno-return-type -w -mno-avx"
Comment 8 Jory A. Pratt gentoo-dev 2011-10-31 00:47:36 UTC
(In reply to comment #7)
> I seem to be encountering the same error though my circumstances seem to differ
> slightly.  Unlike Thomas, I encounter this problem when I run Thunderbird
> locally.  
> 
> I too have thunderbird-7.0.1 installed (with the ipc and crypt use flag among
> others).  
> 
> For almost every action in Thunderbird, I get two errors:
> 1. Could not start the gpg-agent program which is needed for your GnuPG version
> 2.0.17.
> 2. Enigmail: Error in accessing Enigmail service
>    To permanently avoid this alert, either fix the problem or uninstall
> Enigmail. Click on the Help button for more details.
> 
> These errors appear to arise from Enigmail's inability to start gpg-agent. 
> Note that in my setup, I have not independently started "gpg-agent --daemon". 
> If I do start "gpg-agent --daemon" with the appropriate environmental variables
> set when starting Thunderbird, I do not encounter this problem (probably
> because Enigmail won't need to start gpg-agent if it's already running). 
> (Perhaps this is why Thomas only encounters this problem when he runs
> Thunderbird remotely: because he otherwise has gpg-agent already started). 
> Starting gpg-agent myself seems like a viable workaround, but I would prefer to
> have Thunderbird/Enigmail automatically start it when needed.  
> 
> I also see the following errors in my error log:
> 
> Failed to load native module at path
> '/usr/lib64/thunderbird/components/libipc.so': (80004005)
> /usr/lib64/thunderbird/components/libipc.so: cannot open shared object file: No
> such file or directory
> 
> Failed to load native module at path
> '/usr/lib64/thunderbird/components/libenigmime.so': (80004005)
> /usr/lib64/thunderbird/components/libenigmime.so: cannot open shared object
> file: No such file or directory
> 
> (And they're right too; those files don't exist).  However, libenigmime.so
> seems to be getting loaded a few more times because I get the following two
> messages too:
> 
> While registering XPCOM module
> /usr/lib64/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/Linux_x86_64-gcc3/components/libenigmime-x86_64-gcc3.so,
> trying to re-register CID '{847b3a21-7ab1-11d4-8f02-006008948af5}' already
> registered by
> /usr/lib64/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/Linux_x86_64-gcc3/components/libenigmime-x86_64-gcc3.so.
> 
> While registering XPCOM module
> /usr/lib64/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/Linux_x86_64-gcc3/components/libenigmime-x86_64-gcc3.so,
> trying to re-register CID '{847b3a51-7ab1-11d4-8f02-006008948af5}' already
> registered by
> /usr/lib64/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/Linux_x86_64-gcc3/components/libenigmime-x86_64-gcc3.so.
> 
> Further down the error log, the following two error messages illustrate how the
> Enigmail and IPC problems are related:
> Error: enigmail.js: detectGpgAgent: [xpconnect wrapped nsIFile] failed
> Error: enigmail.js: detectGpgAgent: gpg-agent output: gpg-connect-agent: can't
> connect to the agent: IPC connect call failed
> 
> Note that I do see the OpenPGP menu.  
Try starting gpg-agent manually and restart thunderbird post back with your results.
Comment 9 Martin Kolleck 2011-10-31 09:58:55 UTC
I have the same problem with enigmail not being able to start gpg-agent. This happened after thunderbird-7.0.1-r1 became stable on amd64.

When starting gpg-agent and thunderbird from a shell, enigmail works fine.

$ eval $(gpg-agent --daemon)
$ thunderbird

Before the update, it was not necessary to start gpg-agent manually.
Comment 10 Jory A. Pratt gentoo-dev 2011-10-31 17:23:19 UTC
(In reply to comment #9)
> I have the same problem with enigmail not being able to start gpg-agent. This
> happened after thunderbird-7.0.1-r1 became stable on amd64.
> 
> When starting gpg-agent and thunderbird from a shell, enigmail works fine.
> 
> $ eval $(gpg-agent --daemon)
> $ thunderbird
> 
> Before the update, it was not necessary to start gpg-agent manually.

This is usually started by your WM/DE, I am looking into a few different fixes that should resolve the issue. Please continue to track via bug #374549

*** This bug has been marked as a duplicate of bug 374549 ***
Comment 11 Jimmy C. Chau 2011-11-01 11:22:33 UTC
(In reply to comment #8)
> Try starting gpg-agent manually and restart thunderbird post back with your
> results.

I still get the first four messages:

Failed to load native module at path '/usr/lib64/thunderbird/components/libipc.so': (80004005) /usr/lib64/thunderbird/components/libipc.so: cannot open shared object file: No such file or directory

Failed to load native module at path '/usr/lib64/thunderbird/components/libenigmime.so': (80004005) /usr/lib64/thunderbird/components/libenigmime.so: cannot open shared object file: No such file or directory

While registering XPCOM module /usr/lib64/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/Linux_x86_64-gcc3/components/libenigmime-x86_64-gcc3.so, trying to re-register CID '{847b3a21-7ab1-11d4-8f02-006008948af5}' already registered by /usr/lib64/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/Linux_x86_64-gcc3/components/libenigmime-x86_64-gcc3.so.

While registering XPCOM module /usr/lib64/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/Linux_x86_64-gcc3/components/libenigmime-x86_64-gcc3.so, trying to re-register CID '{847b3a51-7ab1-11d4-8f02-006008948af5}' already registered by /usr/lib64/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/Linux_x86_64-gcc3/components/libenigmime-x86_64-gcc3.so.


But I don't get the later errors that I'd get if gpg-agent wasn't started: 
Error: enigmail.js: detectGpgAgent: [xpconnect wrapped nsIFile] failed
Error: enigmail.js: detectGpgAgent: gpg-agent output: gpg-connect-agent: can't
connect to the agent: IPC connect call failed

Also, with gpg-agent already started, the two errors in pop-up windows don't appear:
For almost every action in Thunderbird, I get two errors:
1. Could not start the gpg-agent program which is needed for your GnuPG version
2.0.17.
2. Enigmail: Error in accessing Enigmail service
   To permanently avoid this alert, either fix the problem or uninstall
Enigmail. Click on the Help button for more details.

Furthermore, when gpg-agent is started before Thunderbird, Enigmail appears to function as intended (encryption, signing, key-management, etc.)
Comment 12 Gef 2011-11-05 19:10:26 UTC
François,

(fr_FR here), please try the following :

1. rebuild thunderbird with LINGUAS="fr en"
2. start thunderbird with : $ thunderbird -UILocale en

OpenPGP menu should be here.
Comment 13 François Valenduc 2011-11-05 20:15:59 UTC
Indeed, it works in English. However, in previous versions, it used to work also in french. I understand English but I would prefer to use thunderbird in my mother language. I guess I need to open a new bug to explain that enigmail only works in english.