Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234828 - mail-client/mozilla-thunderbird-3.0_beta2 ebuild request
Summary: mail-client/mozilla-thunderbird-3.0_beta2 ebuild request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-15 15:02 UTC by Frank Richter
Modified: 2009-05-22 21:49 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Thunderbird 3.0 Alpha 2 ebuild (mozilla-thunderbird-3.0_alpha2.ebuild,6.08 KB, text/plain)
2008-08-15 15:03 UTC, Frank Richter
Details
ebuild for Mozilla Thunderbird 3.0 beta 1 (mozilla-thunderbird-3.0_beta1.ebuild,6.32 KB, text/plain)
2008-12-11 18:36 UTC, Xitij Ritesh Patel
Details
Thunderbird 3.0 beta2 ebuild (mozilla-thunderbird-3.0_beta2.ebuild,6.30 KB, text/plain)
2009-03-21 06:12 UTC, Kim Seongcheol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Richter 2008-08-15 15:02:55 UTC
This is an ebuild for Thunderbird 3.0 Alpha 2. It's not on the same level as the Thunderbird 2 ebuilds - custom patches lacking, no languages support - but it seems to work so far.

Reproducible: Always

Steps to Reproduce:
Comment 1 Frank Richter 2008-08-15 15:03:53 UTC
Created attachment 162971 [details]
Thunderbird 3.0 Alpha 2 ebuild
Comment 2 Jens Mueller 2008-12-10 21:15:08 UTC
beta1 has been released ...
Comment 3 Xitij Ritesh Patel 2008-12-11 18:36:37 UTC
Created attachment 174981 [details]
ebuild for Mozilla Thunderbird 3.0 beta 1

I'm running this ebuild right now, it's at least compiling. It's VERY dirty, since I know nothing about the proper method for writing ebuild files. Hopefully someone can take this and clean it up.
Comment 4 elprespufferfish 2008-12-13 15:48:05 UTC
(In reply to comment #3)
> Created an attachment (id=174981) [edit]
> ebuild for Mozilla Thunderbird 3.0 beta 1
> 
> I'm running this ebuild right now, it's at least compiling. It's VERY dirty,
> since I know nothing about the proper method for writing ebuild files.
> Hopefully someone can take this and clean it up.
> 

Fails for me on

Creating .deps
Can't open perl script "./mozilla/build/autoconf/make-makefile": No such file or directory
gmake[4]: *** [modules/Makefile] Error 2
gmake[3]: *** [db/gloda_export] Error 2
gmake[3]: *** Waiting for unfinished jobs....
Creating .deps
Creating .deps
Creating _xpidlgen/.done
nsIDBFolderInfo.idl
nsIDBChangeListener.idl
nsIDBChangeAnnouncer.idl
nsIMsgDatabase.idl
nsINewsDatabase.idl
nsIMsgOfflineImapOperation.idl
gmake[2]: *** [export_tier_app] Error 2
gmake[1]: *** [tier_app] Error 2
make: *** [default] Error 2

any ideas?
Comment 5 Xitij Ritesh Patel 2008-12-13 17:23:02 UTC
It fails for me at exactly the same point. I'll try taking a look at it.
Comment 6 Dror Levin (RETIRED) gentoo-dev 2008-12-20 01:08:04 UTC
Even if it fails, please add the ebuild to mozilla overlay to allow more people to test/review it (like me). 3.0_alpha2 is already there so it shouldn't be too much work.

Thanks.
Comment 7 devsk 2008-12-23 08:28:16 UTC
(In reply to comment #3)
> Created an attachment (id=174981) [edit]
> ebuild for Mozilla Thunderbird 3.0 beta 1
> 
> I'm running this ebuild right now, it's at least compiling. It's VERY dirty,
> since I know nothing about the proper method for writing ebuild files.
> Hopefully someone can take this and clean it up.
> 

Why doesn't it detect the xulrunner flag and use the xul SDK, even though the check is in there? Looks like the firefox compile is much smaller while using xulrunner SDK. It would be great if thunderbird used it as well. Its not only code share but runtime memory shared as well.
Comment 8 devsk 2008-12-23 08:41:22 UTC
Dies compile...:-(

gmake[3]: Entering directory `/var/tmp/portage/mail-client/mozilla-thunderbird-3.0_beta1/work/directory/xpcom'
/usr/bin/perl ./mozilla/build/autoconf/make-makefile -t ../.. -d ../..  datasource/Makefile
Can't open perl script "./mozilla/build/autoconf/make-makefile": No such file or directory
gmake[3]: *** [datasource/Makefile] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/mail-client/mozilla-thunderbird-3.0_beta1/work/directory/xpcom'
gmake[2]: *** [export_tier_app] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mail-client/mozilla-thunderbird-3.0_beta1/work'
gmake[1]: *** [tier_app] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mail-client/mozilla-thunderbird-3.0_beta1/work'
make: *** [default] Error 2
 *
 * ERROR: mail-client/mozilla-thunderbird-3.0_beta1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3237:  Called die
 * The specific snippet of code:
 *       emake || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/usr/portage/local/log/mail-client:mozilla-thunderbird-3.0_beta1:20081223-082232.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/environment'.
 * This ebuild is from an overlay: '/private/portage/overlay/'
Comment 9 Raúl Porcel (RETIRED) gentoo-dev 2008-12-23 16:33:05 UTC
(In reply to comment #7)
> 
> Why doesn't it detect the xulrunner flag and use the xul SDK, even though the
> check is in there? Looks like the firefox compile is much smaller while using
> xulrunner SDK. It would be great if thunderbird used it as well. Its not only
> code share but runtime memory shared as well.
> 

Because upstream doesn't support this with thunderbird yet.
Comment 10 Svenne Krap 2009-01-05 14:21:51 UTC
Please make it a slotted ebuild, so than one can try out the new version from portage without ruining vital "production" mail (tb2).
Comment 11 Skion 2009-01-25 14:29:02 UTC
Fails for me too still, on the mentioned error:

"
Can't open perl script "./mozilla/build/autoconf/make-makefile": No such file
or directory
"

No clue yet on how to solve this?
Comment 12 David Ward 2009-01-26 05:46:33 UTC
Same error is affecting building under Ubuntu 8.10.

I am working around it (not fixing the real problem though) by creating symlinks to the mozilla directory in the directories where the make is failing.
Comment 13 David Ward 2009-01-26 08:05:16 UTC
Found the problem, which was actually already filed and fixed as Mozilla bug 468915.  There is a diff at:  http://hg.mozilla.org/comm-central/raw-rev/3c9ee88189c1

Apply it to the Thunderbird 3.0b1 source and it should compile.  (Do not apply it inside the 'mozilla' directory -- but in the directory above it, where you are compiling from.)

p.s.  I have never used Gentoo or portage, so if it's supposed to compile everything automatically, I don't know anything about fixing that...  I'm just manually compiling it from source (under Ubuntu).
Comment 14 Jens Mueller 2009-02-13 21:03:48 UTC
I put the patch in files/3c9ee88189c1.patch and changed the src_unpack() function in the ebuild (based on examples in other ebuilds with patches ...):

src_unpack() {
        unpack thunderbird-${VER}-source.tar.bz2

        epatch "${FILESDIR}"/3c9ee88189c1.patch

        cd "${S}"
        eautoreconf

}

Unpacking worked, now it is compiling again. The patch naming probably is less than optimal, though ...
Comment 15 Jens Mueller 2009-02-13 21:45:21 UTC
The perl bug is fixed, but the next is not far:

>>> Source compiled.
>>> Test phase [not enabled]: mail-client/mozilla-thunderbird-3.0_beta1

>>> Install mozilla-thunderbird-3.0_beta1 into /mnt/sda5/usr-tmp-portage/portage/mail-client/mozilla-thunderbird-3.0_beta1/image/ category mail-client
cp: Aufruf von stat für „/mnt/sda5/usr-tmp-portage/portage/mail-client/mozilla-thunderbird-3.0_beta1/work/dist/bin/*“ nicht möglich: Datei oder Verzeichnis nicht gefunden
 *
 * ERROR: mail-client/mozilla-thunderbird-3.0_beta1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 3293:  Called die
 * The specific snippet of code:
 *       cp -RL "${S}"/dist/bin/* "${D}"/"${MOZILLA_FIVE_HOME}"/ || die "cp failed";
 *  The die message:
 *   cp failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/mnt/sda5/usr-tmp-portage/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/build.log'.
 * The ebuild environment file is located at '/mnt/sda5/usr-tmp-portage/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 *
 * QA Notice: command not found:
 *
 *      /mnt/sda5/usr-tmp-portage/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/environment: line 3243: !mozconfig_init: command not found

>>> Failed to emerge mail-client/mozilla-thunderbird-3.0_beta1, Log file:

>>>  '/mnt/sda5/usr-tmp-portage/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/build.log'

 * Messages for package mail-client/mozilla-thunderbird-3.0_beta1:

 * You are enabling official branding. You may not redistribute this build
 * to any users on your network or the internet. Doing so puts yourself into
 * a legal problem with Mozilla Foundation
 * You can disable it by emerging mozilla-thunderbird _with_ the bindist USE-flag
 *
 * ERROR: mail-client/mozilla-thunderbird-3.0_beta1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 3293:  Called die
 * The specific snippet of code:
 *       cp -RL "${S}"/dist/bin/* "${D}"/"${MOZILLA_FIVE_HOME}"/ || die "cp failed";
 *  The die message:
 *   cp failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/mnt/sda5/usr-tmp-portage/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/build.log'.
 * The ebuild environment file is located at '/mnt/sda5/usr-tmp-portage/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'
Comment 16 Jens Mueller 2009-02-23 21:45:04 UTC
No ideas, anyone?

Btw, beta2 is to be released tomorrow.
Comment 17 Dror Levin (RETIRED) gentoo-dev 2009-02-26 20:29:01 UTC
Beta2 is out. May I ask again for a bump in the mozilla overlay?
Comment 18 Kim Seongcheol 2009-03-21 06:12:02 UTC
Created attachment 185706 [details]
Thunderbird 3.0 beta2 ebuild

works for me.
This is based on above 3.0 beta1 ebuild.
Comment 19 Jens Mueller 2009-03-21 12:21:57 UTC
Compiles fine for me, and works insofar as packaging is concerned. Thanks!
Comment 20 Jens Mueller 2009-03-22 16:56:28 UTC
Some comments:
* a menu entry would be nice
* what a pity that Enigmail and Lightning don't work :-|
Comment 21 Matt 2009-03-22 18:28:33 UTC
thanks a lot for the 3.0 beta2 ebuild ! 
Comment 22 Matt 2009-03-24 17:56:32 UTC
for me it didn't compile without a patch to make it aware of pango 1.23.0 (meanwhile pango 1.24.0 is out, don't know if it compiles with that):

https://bugzilla.mozilla.org/show_bug.cgi?id=478871
Comment 23 Raúl Porcel (RETIRED) gentoo-dev 2009-04-28 18:55:45 UTC
Beta2 added to the mozilla overlay
Comment 24 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-05-01 08:41:27 UTC
(In reply to comment #23)
> Beta2 added to the mozilla overlay
> 

Since this is in the overlay, and won't be added to tree till a full release, marking bug as FIXED