Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57057 - mozilla thunderbird fails to compile on alpha
Summary: mozilla thunderbird fails to compile on alpha
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Alpha Linux
: High normal (vote)
Assignee: Alpha Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-14 11:24 UTC by Sean Davidson
Modified: 2004-08-05 19:13 UTC (History)
1 user (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 Sean Davidson 2004-07-14 11:24:33 UTC
Trying to emerge mozilla-thunderbird on alpha fails because of missing patch
for newer gcc/g++ compilers being used.


Reproducible: Always
Steps to Reproduce:
1. emerge mozilla-thunderbird




The mozilla-thunderbird ebuild needs the same patch that has been added to
mozilla-firefox

( /usr/portage/net-www/mozilla-firefox/files/mozilla-1.3-alpha-stubs.patch )

src_unpack() {
        unpack ${A} || die "unpack failed"
        cd ${S} || die

        # alpha stubs patch from lfs project.
        # <taviso@gentoo.org> (26 Jun 2003)
        use alpha && epatch ${FILESDIR}/mozilla-1.3-alpha-stubs.patch

Also the sed line to modify the gfx/src/gtk/Makefile.in for alpha does
not escape the library path and fails.

        sed -i 's/\(EXTRA_DSO_LDOPTS +=
$(MOZ_GTK_LDFLAGS).*$\)/\1-L/usr/X11R6/lib -lX11/' \

should be

sed -i 's/\(EXTRA_DSO_LDOPTS += $(MOZ_GTK_LDFLAGS).*$\)/\1 -L\/usr\/X11R6\/lib
-lX11/'
Comment 1 Sean Davidson 2004-07-15 10:05:58 UTC
This was done with mozilla-thunderbird-0.7.1 and the edit to
add -L /usr/X11R6/lib -lX11 to the gfx/src/gtk/Makefile.in
file is no longer needed.
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-08-05 15:57:22 UTC
Sean, I've been trying to test this for a long time on my usual build machine.  It's been having trouble because of a strange gcc/glibc interaction.  I'm finally building on a different machine.  When that finishes then I'll be able to commit these changes.
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2004-08-05 19:13:53 UTC
Ok, fixed in 0.7.3.  Thanks!