Bug 117285 - mail/enigmail-thunderbird: does not work at all on FreeBSD/amd64 7.0-PRERELEASE
Summary: mail/enigmail-thunderbird: does not work at all on FreeBSD/amd64 7.0-PRERELEASE
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-18 02:50 UTC by Xin LI
Modified: 2008-04-22 08:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xin LI freebsd_committer freebsd_triage 2007-10-18 02:50:04 UTC
	In FreeBSD/amd64 7.0-PRERELEASE as of today, a freshly built
enigmail-thunderbird does not work at all.  The traces from Xorg says:

Registering Enigmail account manager extension.
Enigmail account manager extension registered.
Segmentation fault (core dumped)

Fix: 

Unknown
How-To-Repeat: 	Install mail/enigmail-thunderbird on FreeBSD/amd64 7.0-PRERELEASE
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-10-18 02:50:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 jeff 2007-10-20 23:04:58 UTC
I ran into this same problem.

The workaround is to edit the line;

USE_GCC=   3.4+

to:
USE_GCC=   3.4

Apparently enigmail_thunderbird doesn't like gcc 4.x
As for an actual fix?  I'll leave that to the smart guys.

Hope it helps,


Jeff Palmer
Comment 3 Coleman Kane freebsd_committer freebsd_triage 2007-11-03 13:35:14 UTC
> I ran into this same problem.
>
> The workaround is to edit the line;
>
> USE_GCC= 3.4+
>
> to:
> USE_GCC= 3.4
>
> Apparently enigmail_thunderbird doesn't like gcc 4.x
> As for an actual fix? I'll leave that to the smart guys.
The above fix does work, but you'll need to apply it to mail/thunderbird
as well as mail/enigmail-thunderbird. Otherwise, enigmail-thunderbird
will simply import the autoconf.mk from the existing Thunderbird
build-tree and use the GCC choices that were selected there.

I have finally managed to get this working under my FreeBSD
8.0-CURRENT/amd64. Actually, I managed to get the HEAD (0.96a) working
under my system, as many trials to figure out what was going on were
attempted before I realized that enigmail-thunderbird was still building
with GCC 4.2 rather than 3.4 (despite my edits to the Makefile).

There's also an 0.95.5 version out now that may fix some other problems.

--
Coleman Kane
Comment 4 Xin LI 2007-11-03 22:14:06 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> I ran into this same problem.
>>
>> The workaround is to edit the line;
>>
>> USE_GCC= 3.4+
>>
>> to:
>> USE_GCC= 3.4
>>
>> Apparently enigmail_thunderbird doesn't like gcc 4.x
>> As for an actual fix? I'll leave that to the smart guys.
> The above fix does work, but you'll need to apply it to mail/thunderbird
> as well as mail/enigmail-thunderbird. Otherwise, enigmail-thunderbird
> will simply import the autoconf.mk from the existing Thunderbird
> build-tree and use the GCC choices that were selected there.
> 
> I have finally managed to get this working under my FreeBSD
> 8.0-CURRENT/amd64. Actually, I managed to get the HEAD (0.96a) working
> under my system, as many trials to figure out what was going on were
> attempted before I realized that enigmail-thunderbird was still building
> with GCC 4.2 rather than 3.4 (despite my edits to the Makefile).

Ah, yes, that do the trick!

> There's also an 0.95.5 version out now that may fix some other problems.

No, with 0.95.5 things stay as is... :(

So may be we should switch this to gcc 3.4 for now?

Cheers,
- --
Xin LI <delphij@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHLPKuhcUczkLqiksRAnc3AKCxB5w6p5gUVF+XkWMgbIXt4V5MwwCdG3pY
Ie9genGhEVXFcZCSvsMPqD4=
=JqW1
-----END PGP SIGNATURE-----
Comment 5 Coleman Kane freebsd_committer freebsd_triage 2007-11-04 00:23:24 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Xin LI wrote:
>>> I ran into this same problem.
>>>
>>> The workaround is to edit the line;
>>>
>>> USE_GCC= 3.4+
>>>
>>> to: USE_GCC= 3.4
>>>
>>> Apparently enigmail_thunderbird doesn't like gcc 4.x As for an
>>> actual fix? I'll leave that to the smart guys.
>> The above fix does work, but you'll need to apply it to
> mail/thunderbird
>> as well as mail/enigmail-thunderbird. Otherwise,
>> enigmail-thunderbird will simply import the autoconf.mk from the
>> existing Thunderbird build-tree and use the GCC choices that were
>> selected there.
>
>> I have finally managed to get this working under my FreeBSD
>> 8.0-CURRENT/amd64. Actually, I managed to get the HEAD (0.96a)
>> working under my system, as many trials to figure out what was
>> going on were attempted before I realized that
>> enigmail-thunderbird was still
> building
>> with GCC 4.2 rather than 3.4 (despite my edits to the Makefile).
>
> Ah, yes, that do the trick!
>
>> There's also an 0.95.5 version out now that may fix some other
> problems.
>
> No, with 0.95.5 things stay as is... :(
Yeah, it has the same build-time problems we're reporting here. It
just fixes some other bugs that occur if you can actually get the
darned thing to work :D
>
> So may be we should switch this to gcc 3.4 for now?
Tough call... Maybe we can finagle a patch in there after the mozilla
sources are brought over that can set CC and CXX to gcc3.4 (or
whichever gcc is in USE_GCC) for any mozilla-based ports that have a
stringent compiler requirement.

I *did* notice that this extension is being built with -O2 (among
other optimizations)... it might be worthwhile trying to build with
with -O0 or -O1 using the stock GCC 4.2 and see if we still get the
crasher.

- --
Coleman Kane
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHLRD8cMSxQcXat5cRAs8iAJ4hlTyV7ZXOHQ94Q5TL+J1x0mhmjgCfbgZ+
oDQLuQkdT1Iqhv0/9crFTS8=
=3Mjm
-----END PGP SIGNATURE-----
Comment 6 Coleman Kane freebsd_committer freebsd_triage 2007-11-05 15:23:38 UTC
Alex Dupre wrote:
> Coleman Kane wrote:
>   
>> I *did* notice that this extension is being built with -O2 (among
>> other optimizations)... it might be worthwhile trying to build with
>> with -O0 or -O1 using the stock GCC 4.2 and see if we still get the
>> crasher.
>>     
>
> Yes, I'd like you try it. I prefer to disable optimization (in enigmail
> port) than using an old gcc on both thunderbird and enigmail, if possible.
>
> --
> Alex Dupre
I'll test it out when I get some time. Right now I've got a good amount
going on (and need it functioning). I suspect that broken optimization
is very likely the problem here, rather than a true GCC 3.4 incompatibility.

--
Coleman Kane
Comment 7 Gerhard Schmidt 2008-03-03 16:03:12 UTC
Hi,

4 month later there is still USE_GCC=3.4+ in the makefile. Is the Enigmail 
aware of this problem or is the a FreeBSD Only problem.

Just spend 4h searching for the solution provided here.

Regard
     Gerhard

-- 
----------------------------------------------------------------------------
Gerhard Schmidt    | Nick : estartu      IRC : Estartu  |
Fischbachweg 3     |                                    | PGP Public Key
86856 Hiltenfingen | Privat: estartu@augusta.de         |  auf Anfrage/
Tel: 08232 77 36 4 | Dienst: schmidt@ze.tu-muenchen.de  |   on request
Fax: 08232 77 36 3 |                                    |
Comment 8 tonymaher 2008-03-16 02:59:42 UTC
Hello,

the one port I always have trouble with is enigmail :-(
After a few hours of trying to get this working (which from my
experience is nothing unusual) I came across this PR.
I set USE_GCC=3.4 in thunderbird and enigmail-thunderbird
but still not luck (removed .thunderbird directory just to be sure.)
It installs but does not actually work.

If no-one has a solution it may be good idea to mark as broken on
amd64 an avoid

-- 
Tony Maher                    email: tonymaher@optusnet.com.au
Comment 9 schmidt 2008-04-10 08:51:28 UTC
The problem is still there. Tested it on thunderbird 2.0.0.12 and enigmail
0.95.6. compiling both with USE_GCC=3.4 doesn't solve the problem any more.

I'm gone back to thungerbird-2.0.0.9_1 and enigmail 0.95.5 both compiled with
gcc34 and they are working.

Regards
	Estartu

-- 
-------------------------------------------------
Gerhard Schmidt       | E-Mail: schmidt@ze.tum.de
TU-München	      |
WWW & Online Services |
Tel: 089/289-25270    |
Fax: 089/289-25257    | PGP-Publickey auf Anfrage

Comment 10 dfilter service freebsd_committer freebsd_triage 2008-04-22 08:42:44 UTC
ale         2008-04-22 07:42:40 UTC

  FreeBSD ports repository

  Modified files:
    mail/enigmail-thunderbird Makefile 
  Log:
  Use gcc 3.4 to build enigmail for thunderbird on amd64 (and FreeBSD >= 7).
  This should fix the enigmail crash.
  
  PR:             ports/117285
  Submitted by:   delphij
  
  Revision  Changes    Path
  1.44      +7 -1      ports/mail/enigmail-thunderbird/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 11 Alex Dupre freebsd_committer freebsd_triage 2008-04-22 08:43:03 UTC
State Changed
From-To: open->closed

Fixed, thanks.