Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143158 - x11-plugins/enigmail-0.94.0-r5 doesn't work on amd64
Summary: x11-plugins/enigmail-0.94.0-r5 doesn't work on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on: 144628
Blocks:
  Show dependency tree
 
Reported: 2006-08-07 23:23 UTC by R!tman
Modified: 2007-05-31 10:56 UTC (History)
10 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 R!tman 2006-08-07 23:23:15 UTC
Although working on two x86 machines, enigmail doesn't seem to work on my amd64. The gnupg menu, or anything gpg related, is nowhere to find in thunderbird (of course 1.5.0.5) and of course doesn't work (like decrypting :-( ). Furthermore, enigmail is not shown under extensions like it is for the two x86 machines.


# emerge --info
Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=k8 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-W1, -O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://kosh/gentoo-portage"
USE="X aac alsa amd64 avi berkdb bitmap-fonts caps cli crypt dlloader dri dvd eds emboss encode fbcon fortran gcj gd gif gpm gtk gtk2 imlib isdnlog java jpeg live lzw lzw-tiff matroska motif mp3 mp4 mpeg ncurses nls nocardbus nptl nptlonly nvidia ogg oggvorbis openal opengl pam pcre pdflib pic plotutils png pppd qt3 qt4 quicktime readline reflection sdl session smp spell spl sse3 ssl tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode utf8 vorbis x264 xinerama xmms xorg xpm xv xvid xvmc zlib elibc_glibc input_devices_evdev input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael Weyershäuser 2006-08-24 23:33:57 UTC
This used to work for me, however after having to reinstall Gentoo due to some bad influence from Redmond now it doesn't. Thunderbird & Enigmail emerge without any complaints, but the enigmail menu doesn't show up, and neither does the plugin in the plugin list...

emerge --info
Portage 2.1.1_pre5-r3 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-suspend2-r4Dudebox-Edition x86_64)
=================================================================
System uname: 2.6.17-suspend2-r4Dudebox-Edition x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
Last Sync: Thu, 24 Aug 2006 23:00:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -Os -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -msse3 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://server/gentoo-portage"
USE="amd64 X a52 aac aalib alsa arts avi berkdb bitmap-fonts bzip2 cairo cli crypt cups dbus directfb dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss encode firefox foomaticdb fortran gif gnutls gpm gstreamer gtk gtk2 hal imap imlib input_devices_keyboard input_devices_mouse isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux libcaca linguas_de lzw lzw-tiff mad mp3 mp4 mpeg musepack musicbrainz mysql ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre pdf pdflib perl png pppd python qt3 qt4 quicktime readline reflection sasl sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU video_cards_radeon visualization vorbis wxwindows x264 xml xorg xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 David Masover 2006-08-30 22:54:06 UTC
Same for me -- after a recent update, not sure exactly which one, enigmail is completely unusable.  It's simply not there.  Thunderbird 1.5.0.5, amd64 Gentoo, enigmail compiles fine and installs fine, but doesn't appear in extensions -- Thunderbird appears to completely ignore it.

Worse, this package appears wholly unmaintained.  Anyone out there?  Notice how it's been 23 days, and not a peep from a maintainer?  Why isn't there an ebuild for enigmail 0.94.1* for x86 -- I should be able to see the ebuild, even on an amd64 machine (most recent enigmail for amd64 is 0.94.0)

I have an encrypted email email waiting for me that I can't get to because of this damned bug.  I would try the official enigmail build, but it tells me that the official build only works with an official version of Thunderbird -- if I use a distro-specific Thunderbird, I must use a distro-specific Enigmail.

Current emerge --info:

Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17.11 x86_64)
=================================================================
System uname: 2.6.17.11 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.4
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.tds.net/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/bmg-main"
SYNC="rsync://rsync.slaphack.com/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib acpi adns aim alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo calendar cdparanoia cli crypt cups dbus dedicated divx4linux dlloader doc dri dts dvb dvd dvdread eds emboss emul-linux-x86 encode exif ffmpeg firefox flac flash foomaticdb ftp gcj gif gitsendemail glut gnome gpm grammar gstreamer gtk gtk2 icq imap imlib ipv6 isdnlog ithreads jabber jack java javascript jpeg kde ladcca lcms libgda live lm_sensors lzw lzw-tiff mad maildir math matroska mikmod mime ming mmap mono mp3 mpeg msn mysql nas ncurses nls nocd nptl nptlonly nsplugin nvidia ocaml offensive ofx ogg oggvorbis openal opengl pam pcre pdf pdflib perl png postgres ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl server session shorten slang socks5 speex spell spl ssl svg szip t1lib tcl tcltk tcpd theora thesaurus threads tiff tk truetype-fonts type1-fonts unicode usb userlocales vcd vhosts videos vorbis webdav wmf wordperfect wxwindows xine xml xml2 xmms xorg xosd xpm xprint xv xvid xvmc yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_vga video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 David Masover 2006-08-31 17:03:52 UTC
I think I may have found a clue.  On a hunch, I zipped up
/usr/lib/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}
(which is in 'emerge f enigmail') into "enigmail.xpi" in my home directory.  I then tried to get Thunderbird to install it.  The error message is:

"Enigmail" could not be installed because it is not compatible with your Thunderbird build type (Linux_x86_64-gcc3). Please contact the author of this item about the problem.

This is especially confusing because I am not using gcc3:

elite ~ # gcc --version
gcc (GCC) 4.1.1 (Gentoo 4.1.1)

As far as I can tell, that is the version being used by both thunderbird and enigmail.  I can't figure it out.

What I've been told is to just use mozilla-thunderbird-bin and the official enigmail build, but this should be fixed.  It's annoying that it apparently hasn't even been looked at yet.
Comment 4 Marijn Schouten (RETIRED) gentoo-dev 2006-09-09 01:39:34 UTC
Same problem here:

Portage 2.1.1_rc1-r7 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
Last Sync: Fri, 08 Sep 2006 09:50:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -O2 -ggdb1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -pipe -O2 -ggdb1"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LC_ALL="nl_NL@euro.UTF-8"
LINGUAS="nl en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib acpi aim alsa artworkextra avi bash-completion berkdb bidi bitmap-fonts bzip2 canna cdr cjk cli crypt cups dbus dga directfb divx4linux dlloader dri dvd dvdr eds elibc_glibc emboss encode fbcon firefox foomaticdb fortran freewnn ftp gif ginac gnome gpm gstreamer gtk gtk2 gtkhtml guile hal hardened icq ieee1394 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java javascript jpeg kde kdeenablefinal kernel_linux ldap libcaca libwww linguas_en linguas_nl lzw lzw-tiff mad mozilla mp3 mpeg mplayer msn mule ncurses nls nptl nptlonly offensive ogg opengl oscar pam pcre pdflib perl php png pppd python qt qt3 qt4 quicktime readline reflection sasl sdl session speex spell spl ssl svg tcpd theora tidy tiff truetype-fonts type1-fonts unicode usb userland_GNU v4l vcd video_cards_ati video_cards_fbdev video_cards_radeon video_cards_vesa videos vorbis wmf xine xmms xorg xpm xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 R!tman 2006-09-09 02:14:11 UTC
I took the liberty to include kloeri@gentoo.org in the CC list, because I found his mail address in the changelog of enigmail. 

I hope you don't mind!
Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2006-09-09 02:18:05 UTC
I've tested lower versions of enigmail. When I got to 0.94.0-r2 it failed to emerge. r3 through r5 seem to emerge fine, but enigmail plugin is non-existent. This is all with thunderbird-1.5.0.5.
Comment 7 R!tman 2006-09-09 02:28:09 UTC
(In reply to comment #6)
> I've tested lower versions of enigmail. When I got to 0.94.0-r2 it failed to
> emerge. r3 through r5 seem to emerge fine, but enigmail plugin is non-existent.
> This is all with thunderbird-1.5.0.5.
IIRC, only r5 is _supposed_ to work. The bug is that it doesn't on amd64, as I don't have any problems on x86. 

Using the extension manually from enigmail.mozdev.org on amd64 seems to work, though, only the ebuild doesn't.

Comment 8 Marijn Schouten (RETIRED) gentoo-dev 2006-09-09 02:36:51 UTC
ok, maybe instead of testing older versions I should try to adapt the ebuild to using enigmail-0.94.1 or are you saying that manually installing 0.94.0 also works?
Comment 9 Marijn Schouten (RETIRED) gentoo-dev 2006-09-09 02:56:27 UTC
I copied the ebuild to my overlay and changed it to 0.94.1. copied some patches over and the ebuild works. Except it still doesn't give a working plugin.
Comment 10 R!tman 2006-09-09 04:07:01 UTC
(In reply to comment #9)
> I copied the ebuild to my overlay and changed it to 0.94.1. copied some patches
> over and the ebuild works. Except it still doesn't give a working plugin.

I tried the same, with the same result. It doesn't work on amd64! It works on x86, though.

Before, I meant that using 
Tools -> Extensions -> Install
you can install the enigmail .xpi file from enigmail.mozdev.org.
Comment 11 R!tman 2006-09-16 12:43:42 UTC
=mail-client/mozilla-thunderbird-1.5.0.7 together with =x11-plugins/enigmail-0.94.0-r5 also doesn't work on amd64. 
Comment 12 David Masover 2006-09-19 15:33:51 UTC
(In reply to comment #11)
> =mail-client/mozilla-thunderbird-1.5.0.7 together with
> =x11-plugins/enigmail-0.94.0-r5 also doesn't work on amd64. 

I can see one reason -- it's still compiling against 1.5.0.5.  So I have two questions:  Why do we STILL not have 0.94.1 in the Portage tree?  Gentoo is making Debian Stable look up to date these days.  And why was it taken out of the Thunderbird ebuild in the first place, if it still requires the full Thunderbird source, depends on Thunderbird, and is depended on by Thunderbird when USE=crypt?

The only reason I can see for giving it a separate ebuild is to be able to update enigmail without updating Thunderbird -- which is pointless when the latest real change was two months ago.  Honsetly, I think Thunderbird and Firefox are getting updated faster now.
Comment 13 Stuart Longland (RETIRED) gentoo-dev 2006-09-25 07:22:01 UTC
Okay, I'll look into getting enigmail bumped if people think this will help.  That said, I lack AMD64 hardware, and thus can't test myself (although I will naturally test on x86).

I'll report back once the job is done to allow the AMD64 people to conduct their testing. :-)
Comment 14 Doug Goldstein (RETIRED) gentoo-dev 2006-09-25 20:30:12 UTC
David: If you're not happy with the rate of work on Gentoo. Take the ebuild quiz and I'll mentor you to become a developer and you can maintain this and the other mozilla stuff.

Otherwise knock off the BS statements like "Why do we STILL not have 0.94.1 in the Portage tree?  Gentoo is making Debian Stable look up to date these days."
Comment 15 Doug Goldstein (RETIRED) gentoo-dev 2006-09-25 22:24:50 UTC
I've committed a x11-plugins/enigmail-0.94.1 ebuild. It is -amd64 since people are complaining of issues. If people test it, then I will change it to ~amd64
Comment 16 R!tman 2006-09-26 02:56:39 UTC
(In reply to comment #15)
> I've committed a x11-plugins/enigmail-0.94.1 ebuild. It is -amd64 since people
> are complaining of issues. If people test it, then I will change it to ~amd64

Thanks for the ebuild! Unfortunately, it still doesn't work on amd64 :-(. It works on x86 though.

Do you have any clue what could be wrong? Please ask if you need anything (emerge logs, specs, ...)!
Comment 17 Mike Doty (RETIRED) gentoo-dev 2006-09-26 08:42:22 UTC
I found a way to get 94.1 to play nice with 1.5.0.7.  I emerged tb-1.5.0.7 and then enigmail-0.94.1.  of course, enigmail didn't show up in the menus.  Then, without unmerging enigmail, I downloaded the xpi from enigmail.mozdev.org, installed, and tried it.  mozilla crashed on missing symbols every time the enigmail plugin was used.  I then removed the plugin and restarted tb.  Much to my suprise, enigmail was still installed, this time 94.1 and it works(so far)

This leads me to beleive that it's something screwed with the enigmail build, though I have no idea what.
Comment 18 Doug Goldstein (RETIRED) gentoo-dev 2006-09-26 15:34:50 UTC
Mike: That's the craziest sequence. But yeah I agree something is wrong with the build but I don't see what. I tried the enigmail-0.94.1 that I commited today at work (I use an amd64 at work) and it didn't work for me. However the same ebuild works on x86 and ppc.

I'm clueless. Hopefully someone with a clue bat comes across this bug.
Comment 19 Walter Meinl 2006-09-26 23:32:32 UTC
(In reply to comment #17)
.  I then removed the plugin and restarted tb.  Much to
> my suprise, enigmail was still installed, this time 94.1 and it works(so far)
> 
> This leads me to beleive that it's something screwed with the enigmail build,
> though I have no idea what.
> 
The reason, why it was still there is probably that enigmail from the ebuild should get installed in /usr/$(get_libdir)/mozilla-thunderbird while the downloaded xpi gets installed in your profile.
Did anybody try to build enigmail stepwise using
ebuild ....enigmail-0.94.1.ebuild install
and have a look in /var/tmp/portage/enigmail-0.94.1/image/usr where enigmail gets installed? Maybe it's not in the right directory.
Another possibility according to your solution would be that it isn't properly registered by mozilla-launcher.
Comment 20 R!tman 2006-09-27 01:34:40 UTC
(In reply to comment #19)
> Did anybody try to build enigmail stepwise using
> ebuild ....enigmail-0.94.1.ebuild install
> and have a look in /var/tmp/portage/enigmail-0.94.1/image/usr where enigmail
> gets installed? Maybe it's not in the right directory.
> Another possibility according to your solution would be that it isn't properly
> registered by mozilla-launcher.

These directories 

chrome.d/
extensions/
extensions.d/

are located at 

/var/tmp/portage/enigmail-0.94.1/image/usr/lib/mozilla-thunderbird/

for x86, and for amd64 they are at

/var/tmp/portage/enigmail-0.94.1/image/usr/lib64/mozilla-thunderbird/

This should be ok, since on amd64 there's a link 

lrwxrwxrwx 1 root root 8 2006-06-30 18:11 /usr/lib64 -> /usr/lib


I didn't check on the mozilla-launcher issue since I don't know how.


Nevertheless, thanks for the input ;-)!
Comment 21 R!tman 2006-09-27 01:57:00 UTC
www-client/mozilla-launcher-1.52-r1 also doesn't resolve the problem
Comment 22 Marijn Schouten (RETIRED) gentoo-dev 2006-09-27 06:29:00 UTC
the ebuild also depends on the security disabled 1.5.0.5 instead of 1.5.0.7 and wants to dl it a raison de 35MB, blah.
Comment 23 Walter Meinl 2006-09-27 12:46:36 UTC
(In reply to comment #22)
> the ebuild also depends on the security disabled 1.5.0.5 instead of 1.5.0.7 and
> wants to dl it a raison de 35MB, blah.
> 

There's now an ebuild for 0.94.1 in portage, it is however not keyworded for amd64 because of this bug here. If you want to try it, you'll have to
ACCEPT_KEYWORDS='-*' emerge enigmail
The new ebuild depends on tb-1.5.0.7 for sure.
To test what I meant with mozilla-launcher it could be useful to start an xterm or gnome-terminal and type
$ thunderbird -profilemanager
then create a clean new profile, say 'test'
What can you read in the terminal then, when you use the new profile
on x86 I see
genathlon ~ # thunderbird -profilemanager
Registering Enigmail account manager extension.
Enigmail account manager extension registered.

Of course, you can delete the test profile afterwards, but the error message in the termial could be useful. Unfortunately, I don't have a modern athlon :(
Comment 24 R!tman 2006-09-27 21:11:18 UTC
(In reply to comment #23)
> To test what I meant with mozilla-launcher it could be useful to start an xterm
> or gnome-terminal and type
> $ thunderbird -profilemanager
> then create a clean new profile, say 'test'
> What can you read in the terminal then, when you use the new profile
> on x86 I see
> genathlon ~ # thunderbird -profilemanager
> Registering Enigmail account manager extension.
> Enigmail account manager extension registered.
> 
> Of course, you can delete the test profile afterwards, but the error message in
> the termial could be useful. Unfortunately, I don't have a modern athlon :(

Using this prcedure I only get the command, nothing more:

$ thunderbird -profilemanager
Comment 25 David Masover 2006-09-29 11:36:07 UTC
(In reply to comment #17)

I used a similar procedure; in detail:  I installed mozilla-thunderbird-bin, then downloaded and installed the x86 enigmail from mozdev.  This works fine when I launch thunderbird with "thunderbird-bin", but is significantly less usable -- links don't work.  I can copy/paste, but I'd rather just click and have it open a new Firefox tab, which works with the amd64 Thunderbird.

I then launched the amd64 Thunderbird, which still appeared to have the same extension.  I got errors about "enigmime not available", so I removed the extension.  On re-launching, the extension was still there (presumably from the enigmail-0.94.1 ebuild) and actually working.

I wish I knew what it is the mozdev enigmail xpi does to a Thunderbird profile that the ebuild doesn't.
Comment 26 David Masover 2006-09-29 11:37:35 UTC
(In reply to comment #15)
> I've committed a x11-plugins/enigmail-0.94.1 ebuild. It is -amd64 since people
> are complaining of issues. If people test it, then I will change it to ~amd64

It works with the crazy hack described in my last comment.  There is no other amd64 enigmail that I've gotten to work, so I see no reason for this to be -amd64 and older versions to be ~amd64.
Comment 27 R!tman 2006-09-29 11:54:43 UTC
(In reply to comment #26)
> (In reply to comment #15)
> > I've committed a x11-plugins/enigmail-0.94.1 ebuild. It is -amd64 since people
> > are complaining of issues. If people test it, then I will change it to ~amd64
> 
> It works with the crazy hack described in my last comment.  There is no other
> amd64 enigmail that I've gotten to work, so I see no reason for this to be
> -amd64 and older versions to be ~amd64.

You don't really believe people will put this in ~amd64 if you have to perform a "crazy hack", do you? :-D

I don't like this bug either, but I wouldn't want it ~amd64 as long as it doesn't work by emerging only. It's not that hard to include that "~" yourself...

BTW, has anyone ever considered that this could be a thunderbird issue instead of enigmail?
Comment 28 Dan Callaghan 2006-09-29 23:47:08 UTC
(In reply to comment #27)
> BTW, has anyone ever considered that this could be a thunderbird issue instead
> of enigmail?

I think you are on the right track here. For me Enigmail disappeared after I upgraded from mozilla-thunderbird-1.5.0.5 to -1.5.0.7, and no subsequent combination of versions has caused it reappear, including reverting back to mozilla-thunderbird-1.5.0.5 and enigmail-0.94.0-r5 (!).
Comment 29 Dan Callaghan 2006-09-30 01:14:26 UTC
I wrote:
> For me Enigmail disappeared after I
> upgraded from mozilla-thunderbird-1.5.0.5 to -1.5.0.7, and no subsequent
> combination of versions has caused it reappear, including reverting back to
> mozilla-thunderbird-1.5.0.5 and enigmail-0.94.0-r5 (!).

Sorry this was my mistake in testing. All versions of Enigmail in portage work correctly with mozilla-thunderbird-1.5.0.5. (enigmail-0.94.1 depends on mozilla-thunderbird-1.5.0.7, but if I tell portage to ignore dependencies enigmail emerges without problems and appears to work correctly with the older Thunderbird version.)
Comment 30 David Masover 2006-09-30 14:25:41 UTC
(In reply to comment #27)

> You don't really believe people will put this in ~amd64 if you have to perform
> a "crazy hack", do you? :-D

Well, this is simply the most recent version that doesn't work.  Older versions suffer from the same problem, and could probably be made to work with the same hack, yet this is the only version marked -amd64, instead of ~amd64 or simply amd64.

If anything, Thunderbird 1.5.0.7 should be masked, as I believe 1.5.0.5 works just fine.
Comment 31 R!tman 2006-10-01 08:07:00 UTC
Using mozilla-thunderbird-1.5.0.7 together with enigmail-0.94.0-r4 did something to my profile in ~/.thunderbird. Now I can use enigmail again. I then remerged enigmail-0.94.1 and it was still working. (BTW, enigmail-0.94.0-r4 is compiled against thunderbird-1.5.0.4)

On the other hand, when I remove ~/.thunderbird and create a new profile, it only works with enigmail-0.94.0-r4. Neither enigmail-0.94.0-r5 nor enigmail-0.94.1 seem to be able to handle a brand new profile, at least when using thunderbird-1.5.0.7.

If I use thunderbird-1.5.0.4, enigmail-0.94.1 works (!!) with both profiles, my old and an brand new one! (enigmail was compiled against TBVER 1.5.0.4 and the according TBPVER 0.2)

Thus, I'm pretty sure now, that something went wrong during the switch from thunderbird-1.5.0.4 to thunderbird-1.5.0.5. And I'm even more sure that it's a thunderbird issue, not an enigmail problem.

I'll still test with 1.5.0.5, but I doubt I will find something else than the above.
Comment 32 R!tman 2006-10-01 08:39:10 UTC
Just as I expected, thunderbird-1.5.0.5 doesn't work with enigmail 0.94.1, with enigmail compiled against TBVER 1.5.0.5 and the according TBPVER 0.1.

As well, thunderbird-1.5.0.7 doesn't work with enigmail 0.94.1, with enigmail compiled against TBVER 1.5.0.7 and the according TBPVER 0.1.

WORKING is thunderbird-1.5.0.4 with enigmail 0.94.1, with enigmail compiled against TBVER 1.5.0.4 and the according TBPVER 0.2.

(See the ebuilds for details on TB(P)VER and so on.)

BTW, "not working" above means: 

* working with a hacked profile like described in other comments
* not working with a brand new profile
Comment 33 bware 2006-10-06 06:06:56 UTC
The problem seems to be that enigmail is not getting registered into the profile:

In extensions.ini under the [ExtensionDirs] heading add:
Extension1=/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}

(the 'Extension1' is because I have a the en-GB langpack it is probably 'Extension0' otherwise). This gets enigmail to show up, but not work.

Then in compreg.dat under [Components], add:

abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/enigprefs-service.js,1160136454000
abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so,1160136454000
abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/enigmail.js,1160136454000

under [CLASSIDS]:

{8431e101-7ab1-11d4-8f02-006008948af5},,,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so
{847b3a61-7ab1-11d4-8f02-006008948af5},,,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so
{847b3ab0-7ab1-11d4-8f02-006008948af5},,text/javascript,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/enigprefs-service.js
{a54dbb90-38f8-11d5-8f42-006008948af5},,,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so
{847b3a71-7ab1-11d4-8f02-006008948af5},,,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so
{847b3af1-7ab1-11d4-8f02-006008948af5},,text/javascript,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/enigmail.js
{8431e161-7ab1-11d4-8f02-006008948af5},,,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so
{847b3a31-7ab1-11d4-8f02-006008948af5},,,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so
{847b3a22-7ab1-11d4-8f02-006008948af5},,,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so
{847b3a01-7ab1-11d4-8f02-006008948af5},,text/javascript,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/enigmail.js
{847b3a41-7ab1-11d4-8f02-006008948af5},,,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so
{8431e141-7ab1-11d4-8f02-006008948af5},,,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so
{847b3ab1-7ab1-11d4-8f02-006008948af5},,text/javascript,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/enigmail.js
{8431e1b1-7ab1-11d4-8f02-006008948af5},,,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so
{847b3a91-7ab1-11d4-8f02-006008948af5},,,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so
{847b3a21-7ab1-11d4-8f02-006008948af5},,,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so
{8431e151-7ab1-11d4-8f02-006008948af5},,,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so
{847b3aa1-7ab1-11d4-8f02-006008948af5},,,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so
{847b3a11-7ab1-11d4-8f02-006008948af5},,text/javascript,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/enigmail.js
{8431e1c1-7ab1-11d4-8f02-006008948af5},,,,abs:/usr/lib64/mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so

under [CONTRACTIDS]:

@mozilla.org/enigmail/cline-handler;1,{847b3ab1-7ab1-11d4-8f02-006008948af5}
@mozilla.org/process/ipc-buffer;1,{8431e1c1-7ab1-11d4-8f02-006008948af5}
@mozdev.org/enigmail/composefields;1,{847b3a31-7ab1-11d4-8f02-006008948af5}
@mozilla.org/enigmail/mime-writer;1,{847b3aa1-7ab1-11d4-8f02-006008948af5}
@mozilla.org/process/pipe-filter-listener;1,{8431e1b1-7ab1-11d4-8f02-006008948af5}
@mozilla.org/process/ipc-service;1,{8431e161-7ab1-11d4-8f02-006008948af5}
@mozilla.org/xpcom/process-info;1,{a54dbb90-38f8-11d5-8f42-006008948af5}
@mozilla.org/enigmail/mime-verify;1,{847b3a91-7ab1-11d4-8f02-006008948af5}
@mozilla.org/enigmail/composesecure;1,{847b3a21-7ab1-11d4-8f02-006008948af5}
@mozilla.org/enigmail/mime-listener;1,{847b3a61-7ab1-11d4-8f02-006008948af5}
@mozdev.org/enigmail/enigmimeservice;1,{847b3a41-7ab1-11d4-8f02-006008948af5}
@mozilla.org/mimecth/pgp;1,{847b3af1-7ab1-11d4-8f02-006008948af5}
@mozilla.org/process/pipe-transport;1,{8431e101-7ab1-11d4-8f02-006008948af5}
@mozdev.org/enigmail/enigmail;1,{847b3a01-7ab1-11d4-8f02-006008948af5}
@mozilla.org/process/pipe-channel;1,{8431e151-7ab1-11d4-8f02-006008948af5}
@mozilla.org/network/protocol;1?name=enigmail,{847b3a11-7ab1-11d4-8f02-006008948af5}
@mozilla.org/enigmail/composesecure-factory;1,{847b3a22-7ab1-11d4-8f02-006008948af5}
@mozilla.org/accountmanager/extension;1?name=enigprefs,{847b3ab0-7ab1-11d4-8f02-006008948af5}
@mozilla.org/process/pipe-console;1,{8431e141-7ab1-11d4-8f02-006008948af5}
@mozilla.org/enigmail/mime-decrypt;1,{847b3a71-7ab1-11d4-8f02-006008948af5}

under [CATEGORIES]:

command-line-handler,cline-enigmail,@mozilla.org/enigmail/cline-handler;1
mailnews-accountmanager-extensions,Enigmail account manager extension,@mozilla.org/accountmanager/extension;1?name=enigprefs

Doing this to a new profile got me a fully working 0.94.1.0 (20061006) under 1.5.0.7 (20060923).

I am assuming 'install.js' is responsible for these changes normal, I am afraid I can't see why it is not working (I know nothing about thunderbirds extension system).
Comment 34 Walter Meinl 2006-10-11 00:14:54 UTC
(In reply to comment #33)
> I am assuming 'install.js' is responsible for these changes normal, I am afraid
> I can't see why it is not working (I know nothing about thunderbirds extension
> system).
> 
What would happen, if you temporarily move your .thunderbird dir in your home or root dir to something else, such that everything is clean and then run after emergeing enigmail in an xterm "thunderbird -register" (maybe this works only if you sudo or login as root)?
Comment 35 R!tman 2006-10-11 00:33:21 UTC
(In reply to comment #34)
> What would happen, if you temporarily move your .thunderbird dir in your home
> or root dir to something else, such that everything is clean and then run after
> emergeing enigmail in an xterm "thunderbird -register" (maybe this works only
> if you sudo or login as root)?

What will happen is described in comment #31 and comment #32 ;-). I moved the ~/.thunderbird directory and started thunderbird, but I didn't start it from the console with the "-register" option, just from my menu which uses "thunderbird" only.
Comment 36 Jory A. Pratt 2006-10-15 15:36:53 UTC
for all those who are still having problems follow my instructions. I am working to fix the registration function in 1.5.0.7 but this will get ya going until I can get it fixed.

emerge enigmail-0.94.1

download enigmail-0.94.0
http://www.mozilla-enigmail.org/downloads/enigmail-0.94.0-tb15-linux-x64.xpi

install and uninstall extention as user and 0.94.1 will register.

Remember this is just a simple work around not the final solution.
Comment 37 Jory A. Pratt 2006-10-19 19:24:31 UTC
(In reply to comment #36)
> for all those who are still having problems follow my instructions. I am
> working to fix the registration function in 1.5.0.7 but this will get ya going
> until I can get it fixed.
> 
> emerge enigmail-0.94.1
> 
> download enigmail-0.94.0
> http://www.mozilla-enigmail.org/downloads/enigmail-0.94.0-tb15-linux-x64.xpi
> 
> install and uninstall extention as user and 0.94.1 will register.

I have just given the data to Cardoe to commit to allow amd64 users to have enigmail out of the box. I will be reworking thunderbird and enigmail over the next few weeks so stay tuned for major changes to improve your overall experience with gentoo's mozilla products.
> 
> Remember this is just a simple work around not the final solution.
> 

Comment 38 Doug Goldstein (RETIRED) gentoo-dev 2006-10-19 19:30:14 UTC
This should be fixed in enigmail-0.94.1 without a rev bump since this version was -amd64 and it was changed to ~amd64 which will cause a rev bump for users of amd64. Anarchy did all the work for this. Great job. :)
Comment 39 Doug Goldstein (RETIRED) gentoo-dev 2006-10-20 08:50:38 UTC
This fix works for me. Marking as fixed.