Re: Enigmail Thunderbird: Enigmime Service not available
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Kurt Miller wrote: I've attached an updated diff that should work with thunderbird 1.5.0.9 that was just committed. Awesome, you did it! Thanks a lot, Stephan -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (OpenBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIVAwUBRYvNlLw1P6JCbhlsAQp6lQ/+Pc9wUHxmU69GheNcPMQeqlMM1FMI6QaH UHchkivnxzgh6vkOHOKJil4F4PS0Y4XLnipDP5ulOBDolWZg2UAYj8ZgLQP7o19U OC/ZH08Dr5TCsdhUPBkQvAIkZXzsSmD6Ae8PuIlWOENESWfSxgBjx+a3yDg11nyY IZtGqgjRxyUX/Ilh9abRnzqeFznhZGIgmQN4I06FRgrNpt3PTN4EUc7UMFNgvHLf urpzhgswjnAF9a9qnJAroEA0rodr+Cnk2nLomGapiDB79jLPg/0wQ1z4/oQA+o7K 1Wx4uwLeKAv435uEo3Cafh8hTWmlm8URiQmpAljtt+PLYv+3hTCLDyGQHtpYLjCQ g2PzFtZvXds80372cLbi4prV1w4nYKw9UHnJd+DEnIjLvQ7QUp3vbZHG48U+KKS/ TRRucO9ldxmdqzFamOXBg0nI1hZ2Yj3Cy44ycnH9VmRZbzYhyBpXhQ9DfxvGqEtM ZdXFo0HgoPdQDg+DNeCDV4Q02f4mAwPe4l1T2nYM5yLqv6jt3b2F6yRHVgJKSbPZ lorllymrmb/fsv15w9uRgFxOOUqBImPFURZwFkUmu7RurAyV91AQ4mYNlNWNmusr 0eHkAbPPERFuZI9yWZpc7HGnjPx//B9EmGWx+zENu3feTPy0iLVcpJQHIITHOob+ ElupY5JKNyY= =xqy/ -END PGP SIGNATURE-
Re: Enigmail Thunderbird: Enigmime Service not available
I sent this yesterday but it got lost by my isp. On Wednesday 20 December 2006 3:31 am, Stephan A. Rickauer wrote: Kurt Miller wrote: On Tuesday 19 December 2006 3:05 am, Stephan A. Rickauer wrote: Kurt Miller wrote: This is working for me with the same versions of the packages you listed. I built them myself instead of from snapshots though. AFAICT, system nss doesn't effect this. Have you tried some of the suggestions in the install message like creating a new profile? After the problems with the packages I've also compiled from ports and had the same effect. Since I've migrated my profile from linux originally, I did move it away first and started a brand new ~/.thunderbird from scratch. I still can't reproduce your particular problem, but I have noticed that enigmail installs its shared lib in the ~/.thunderbird profile dir. This is going to be problematic for upgrades. Please uninstall enigmail from thunderbird (Tools - Extensions - Enigmail - Uninstall) and try the attached diff. It installs enigmail into the global extensions dir. I've done so. Your diff applies cleanly, 'make' worked, 'make install' failed and complained about missing enigmime library. I thought I might have a messed up ports tree, so I wiped it out and cvs'ed it completely from scratch. Applying your diff, 'make' and 'make install' worked fine then. Starting thunderbird with the previously removed enigmail extension showed enigmail installed again, without having to go over the Extension Manager. However, my problem persists: Enigmime service unavailable. enigmail's shared lib version (SO_VERSION) must match thunderbird's or thunderbird doesn't see it. This appears to be the problem you've been having all along. First it was outdated shared libs in ~/.thunderbird. Now that's fixed you are still seeing the problem because you've got thunderbird installed with SO_VERSION 12.0 (from the nss patch), but enigmail with SO_VERSION 11.0. At a minimum the LIB_DEPENDS in my patch will need to be tightened up to exactly match the thunderbird package it was intended to be matched with. That means both SO_VERSION and LIB_DEPENDS in enigmail will need to be manually kept in synch after each update to thunderbird. That's not ideal. Not sure yet if a better solution will be found. I've attached an updated diff that should work with thunderbird 1.5.0.9 that was just committed. I've redone this step with LD_DEBUG=1 and have another nohup attached. This is really curious, because no one seems to be able to reproduce this problem. ;( One question. In your previous mail you've asked me to pkg_delete whatever is no longer needed. I didn't quite understand what you meant by that, so I've missed that step so far. That was a shot in the dark. You didn't have any .libs packages left over from upgrades so there was nothing to pkg_delete. -Kurt Index: Makefile === RCS file: /cvs/ports/mail/enigmail/Makefile,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 Makefile --- Makefile 3 Oct 2006 21:10:16 - 1.1.1.1 +++ Makefile 21 Dec 2006 20:21:37 - @@ -8,8 +8,11 @@ VER= 0.94.1 DISTNAME= enigmail-${VER} +PKGNAME= enigmail-${VER}p0 CATEGORIES= mail security +SHARED_LIBS= enigmime 12.0 + HOMEPAGE= http://enigmail.mozdev.org/ # mozilla public license or GPL @@ -21,14 +24,16 @@ MASTER_SITES= http://www.mozilla-enigmail.org/downloads/src/ THUNDERBIRD_DIR=mail/mozilla-thunderbird -BUILD_DEPENDS= ::${THUNDERBIRD_DIR}:configure -RUN_DEPENDS= :mozilla-thunderbird-=1.5:${THUNDERBIRD_DIR} \ - ::security/gnupg +BUILD_DEPENDS= ::${THUNDERBIRD_DIR}:configure \ + ::archivers/unzip +RUN_DEPENDS= ::security/gnupg + +LIB_DEPENDS= mozilla-thunderbird/xpcom,mozilla-thunderbird/xpcom_compat,mozilla-thunderbird/xpcom_core:mozilla-thunderbird-1.5.0.9:${THUNDERBIRD_DIR} +WANTLIB= c m nspr4 plc4 plds4 USE_X11= Yes USE_GMAKE= Yes NO_REGRESS= Yes -SUBST_VARS= VER ENIGMAIL_XPI GNU_ARCH MOZBASE= ${WRKDIR}/${THUNDERBIRD_DIR}/mozilla MOZBIN= ${MOZBASE}/dist/bin @@ -38,6 +43,10 @@ GNU_ARCH= ${MACHINE_ARCH:S/amd64/x86_64/} ENIGMAIL_XPI= ${DISTNAME}-${OPSYS:L}-${GNU_ARCH}.xpi +# unzip ${ENIGMAIL_XPI} and inspect install.rdf for GUID +GUID= {847b3a00-7ab1-11d4-8f02-006008948af5} +GLOBALDIR= ${PREFIX}/mozilla-thunderbird/extensions/${GUID} + post-extract: @mv ${WRKDIST} ${MOZBASE}/mailnews/extensions @@ -52,7 +61,9 @@ @cd ${WRKSRC} ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} xpi do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/enigmail - ${INSTALL_DATA} ${MOZBIN}/${ENIGMAIL_XPI} ${PREFIX}/share/enigmail + echo ${THUNDERBIRD_PKG} + ${INSTALL_DATA_DIR} ${GLOBALDIR} + unzip -q ${MOZBIN}/${ENIGMAIL_XPI} -d ${GLOBALDIR} .include bsd.port.mk + Index: pkg/MESSAGE === RCS file: pkg/MESSAGE diff -N pkg/MESSAGE --- pkg/MESSAGE 3 Oct 2006 21:10:16 - 1.1.1.1 +++
Re: Enigmail Thunderbird: Enigmime Service not available
Kurt Miller wrote: On Tuesday 19 December 2006 3:05 am, Stephan A. Rickauer wrote: Kurt Miller wrote: This is working for me with the same versions of the packages you listed. I built them myself instead of from snapshots though. AFAICT, system nss doesn't effect this. Have you tried some of the suggestions in the install message like creating a new profile? After the problems with the packages I've also compiled from ports and had the same effect. Since I've migrated my profile from linux originally, I did move it away first and started a brand new ~/.thunderbird from scratch. I still can't reproduce your particular problem, but I have noticed that enigmail installs its shared lib in the ~/.thunderbird profile dir. This is going to be problematic for upgrades. Please uninstall enigmail from thunderbird (Tools - Extensions - Enigmail - Uninstall) and try the attached diff. It installs enigmail into the global extensions dir. I've done so. Your diff applies cleanly, 'make' worked, 'make install' failed and complained about missing enigmime library. I thought I might have a messed up ports tree, so I wiped it out and cvs'ed it completely from scratch. Applying your diff, 'make' and 'make install' worked fine then. Starting thunderbird with the previously removed enigmail extension showed enigmail installed again, without having to go over the Extension Manager. However, my problem persists: Enigmime service unavailable. I've redone this step with LD_DEBUG=1 and have another nohup attached. This is really curious, because no one seems to be able to reproduce this problem. ;( One question. In your previous mail you've asked me to pkg_delete whatever is no longer needed. I didn't quite understand what you meant by that, so I've missed that step so far. Stephan nohup.out.gz Description: application/gzip
Re: Enigmail Thunderbird: Enigmime Service not available
Stephan A. Rickauer wrote: I've redone this step with LD_DEBUG=1 and have another nohup attached. This is really curious, because no one seems to be able to reproduce this problem. ;( Forgotten to mention I did this on a freshly squeezed .thunderbird
Re: Enigmail Thunderbird: Enigmime Service not available
On Tuesday 19 December 2006 3:05 am, Stephan A. Rickauer wrote: Kurt Miller wrote: This is working for me with the same versions of the packages you listed. I built them myself instead of from snapshots though. AFAICT, system nss doesn't effect this. Have you tried some of the suggestions in the install message like creating a new profile? After the problems with the packages I've also compiled from ports and had the same effect. Since I've migrated my profile from linux originally, I did move it away first and started a brand new ~/.thunderbird from scratch. Not sure what it could be at the moment. Perhaps you are picking up an old shared lib from a .libs package. What does ls -d /var/db/pkg/.libs-* show? Try pkg_deleting the ones that are not needed anymore - keep note of what you pkg_delete. Also could you capture your LD_DEBUG output and send to me? export LD_DEBUG=1 nohup thunderbird reproduce the problem, exit thunderbird and send me the nohup.out file gzip'ed. -Kurt
Re: Enigmail Thunderbird: Enigmime Service not available
On Tuesday 19 December 2006 3:05 am, Stephan A. Rickauer wrote: Kurt Miller wrote: This is working for me with the same versions of the packages you listed. I built them myself instead of from snapshots though. AFAICT, system nss doesn't effect this. Have you tried some of the suggestions in the install message like creating a new profile? After the problems with the packages I've also compiled from ports and had the same effect. Since I've migrated my profile from linux originally, I did move it away first and started a brand new ~/.thunderbird from scratch. I still can't reproduce your particular problem, but I have noticed that enigmail installs its shared lib in the ~/.thunderbird profile dir. This is going to be problematic for upgrades. Please uninstall enigmail from thunderbird (Tools - Extensions - Enigmail - Uninstall) and try the attached diff. It installs enigmail into the global extensions dir. -Kurt Index: Makefile === RCS file: /cvs/ports/mail/enigmail/Makefile,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 Makefile --- Makefile 3 Oct 2006 21:10:16 - 1.1.1.1 +++ Makefile 19 Dec 2006 23:12:54 - @@ -8,8 +8,12 @@ VER= 0.94.1 DISTNAME= enigmail-${VER} +PKGNAME= enigmail-${VER}p0 CATEGORIES= mail security +# note - when thunderbird gets bumped, enigmail needs to be bumped to match +SHARED_LIBS= enigmime 11.0 + HOMEPAGE= http://enigmail.mozdev.org/ # mozilla public license or GPL @@ -21,14 +25,16 @@ MASTER_SITES= http://www.mozilla-enigmail.org/downloads/src/ THUNDERBIRD_DIR=mail/mozilla-thunderbird -BUILD_DEPENDS= ::${THUNDERBIRD_DIR}:configure -RUN_DEPENDS= :mozilla-thunderbird-=1.5:${THUNDERBIRD_DIR} \ - ::security/gnupg +BUILD_DEPENDS= ::${THUNDERBIRD_DIR}:configure \ + ::archivers/unzip +RUN_DEPENDS= ::security/gnupg + +LIB_DEPENDS= mozilla-thunderbird/xpcom,mozilla-thunderbird/xpcom_compat,mozilla-thunderbird/xpcom_core::${THUNDERBIRD_DIR} +WANTLIB= c m nspr4 plc4 plds4 USE_X11= Yes USE_GMAKE= Yes NO_REGRESS= Yes -SUBST_VARS= VER ENIGMAIL_XPI GNU_ARCH MOZBASE= ${WRKDIR}/${THUNDERBIRD_DIR}/mozilla MOZBIN= ${MOZBASE}/dist/bin @@ -38,6 +44,10 @@ GNU_ARCH= ${MACHINE_ARCH:S/amd64/x86_64/} ENIGMAIL_XPI= ${DISTNAME}-${OPSYS:L}-${GNU_ARCH}.xpi +# unzip ${ENIGMAIL_XPI} and inspect install.rdf for GUID +GUID= {847b3a00-7ab1-11d4-8f02-006008948af5} +GLOBALDIR= ${PREFIX}/mozilla-thunderbird/extensions/${GUID} + post-extract: @mv ${WRKDIST} ${MOZBASE}/mailnews/extensions @@ -52,7 +62,7 @@ @cd ${WRKSRC} ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} xpi do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/enigmail - ${INSTALL_DATA} ${MOZBIN}/${ENIGMAIL_XPI} ${PREFIX}/share/enigmail + ${INSTALL_DATA_DIR} ${GLOBALDIR} + unzip -q ${MOZBIN}/${ENIGMAIL_XPI} -d ${GLOBALDIR} .include bsd.port.mk Index: pkg/MESSAGE === RCS file: pkg/MESSAGE diff -N pkg/MESSAGE --- pkg/MESSAGE 3 Oct 2006 21:10:16 - 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,3 +0,0 @@ -To activate the Enigmail extension, users should install the file -${PREFIX}/share/enigmail/${ENIGMAIL_XPI} -into their own profile via the menu: Tools - Extensions - Install Index: pkg/PFRAG.shared === RCS file: pkg/PFRAG.shared diff -N pkg/PFRAG.shared --- /dev/null 1 Jan 1970 00:00:00 - +++ pkg/PFRAG.shared 19 Dec 2006 23:12:54 - @@ -0,0 +1,2 @@ [EMAIL PROTECTED] $OpenBSD$ [EMAIL PROTECTED] mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so.${LIBenigmime_VERSION} Index: pkg/PLIST === RCS file: /cvs/ports/mail/enigmail/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 PLIST --- pkg/PLIST 3 Oct 2006 21:10:16 - 1.1.1.1 +++ pkg/PLIST 19 Dec 2006 23:12:54 - @@ -1,3 +1,22 @@ @comment $OpenBSD: PLIST,v 1.1.1.1 2006/10/03 21:10:16 steven Exp $ -share/enigmail/ -share/enigmail/enigmail-${VER}-openbsd-${GNU_ARCH}.xpi +%%SHARED%% +mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/ +mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome/ +mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome.manifest +mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome/enigmail-skin-tbird.jar +mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome/enigmail-skin.jar +mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome/enigmail.jar +mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/ +mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/enigmail.js +mozilla-thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/enigmail.xpt
Re: Enigmail Thunderbird: Enigmime Service not available
Kurt Miller wrote: Not sure what it could be at the moment. Perhaps you are picking up an old shared lib from a .libs package. What does ls -d /var/db/pkg/.libs-* show? Try pkg_deleting ~ ls -d /var/db/pkg/.libs-* ls: /var/db/pkg/.libs-*: No such file or directory export LD_DEBUG=1 nohup thunderbird reproduce the problem, exit thunderbird and send me the nohup.out file gzip'ed. pls. find attached - and thanks for your help! Stephan nohup.out.gz Description: application/gzip
Re: Enigmail Thunderbird: Enigmime Service not available
No such issue here. I don't have thunderbird with internal nss, could you please try: http://www.altroot.org/mozilla-thunderbird-1.5.0.8p2.patch (And recompile both mozilla-thunderbird and enigmail). -- Martynas Venckus
Re: Enigmail Thunderbird: Enigmime Service not available
On Monday 18 December 2006 4:35 am, Stephan A. Rickauer wrote: When trying to sign messages in thunderbird, I'll get Enigmime Service not available. Failed to initialize Enigmail. on OpenBSD 4.0 Snapshot (2006-12-15), i386. enigmail-0.94.1 (installed as requested by install-message) mozilla-thunderbird-1.5.0.8p1 nspr-4.6.4p1 installed from [2] Is this a known issue? I've found [1] where someone got something similar, but thinks there are no enigmail or thunderbird packages - so probably irrelevant. Let me know if I can help any further. [1] http://marc.theaimsgroup.com/?l=openbsd-miscm=115797922208966w=2 [2] http://mirror.switch.ch/ftp/pub/OpenBSD/snapshots/packages/i386/ This is working for me with the same versions of the packages you listed. I built them myself instead of from snapshots though. AFAICT, system nss doesn't effect this. Have you tried some of the suggestions in the install message like creating a new profile? -Kurt