Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 48720

Summary: ebuild trouble with mozilla-thunderbird-0.5-r1 work/mozilla/view/srcnsViewManager.cpp
Product: Gentoo Linux Reporter: Christian Korff <christian.korff>
Component: New packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Proposed patch for compiling thunderbird with gcc 3.4 (untested)

Description Christian Korff 2004-04-22 13:31:31 UTC
g++ -o nsViewManager.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\"  -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/gfx -I../../dist/include/layout -I../../dist/include/content -I../../dist/include/widget -I../../dist/include/dom -I../../dist/include/locale -I../../dist/include/pref -I../../dist/include/necko -I../../dist/include/view -I../../dist/include -I/var/tmp/portage/mozilla-thunderbird-0.5-r1/work/mozilla/dist/include/nspr     -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -frtti -fno-handle-exceptions  -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -O2 -march=pentium4 -pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -fforce-addr -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsViewManager.pp nsViewManager.cpp
../../dist/include/gfx/nsRegion.h: In member function `PRBool nsViewManager::CanScrollWithBitBlt(nsView*)':
../../dist/include/gfx/nsRegion.h:237: Error: `nsRegion::nsRegion(const nsRegion&)' is private
nsViewManager.cpp:2882: Error: within this context
../../dist/include/gfx/nsRegion.h: In member function `virtual nsresult nsViewManager::Display(nsIView*, nscoord, nscoord, const nsRect&)':
../../dist/include/gfx/nsRegion.h:237: Error: `nsRegion::nsRegion(const nsRegion&)' is private
nsViewManager.cpp:3288: Error: within this context
gmake[3]: *** [nsViewManager.o] Error 1
gmake[3]: Leaving directory `/tmp/portage/mozilla-thunderbird-0.5-r1/work/mozilla/view/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/tmp/portage/mozilla-thunderbird-0.5-r1/work/mozilla/view'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/tmp/portage/mozilla-thunderbird-0.5-r1/work/mozilla'
make: *** [default] Error 2

!!! ERROR: net-mail/mozilla-thunderbird-0.5-r1 failed.
!!! Function src_compile, Line 166, Exitcode 2
!!! (no error message)

used USE-flags: crypt xinerama
used cc: gcc-Version 3.4.0  (Gentoo Hardened Linux 3.4.0, pie-8.5.3)

I expierenced the same with: gcc-Version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
Comment 1 Sven Lankes 2004-04-26 10:38:08 UTC
Created attachment 30095 [details, diff]
Proposed patch for compiling thunderbird with gcc 3.4 (untested)

This patch solves the problem for mozilla-firefox and mozilla-1.6

I guess it will also solve it for thunderbird.

To me this looks like a gcc-3.4 only problem. Are you _sure_ that you have seen
the same error when compiling with gcc-3.3?
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-04-26 10:44:28 UTC
Sven, you say this patch fixes mozilla and mozilla-firefox... Have you tested them?  Is there another bug to which this is related?
Comment 3 Sven Lankes 2004-04-26 12:09:45 UTC
Yes, I have successfully compiled firefox and mozilla 
with this patch and gcc-3.4. Both work fine.

I have filed a bug against the mozilla-ebuild for the
problem: #49049 and then there is the "original"-Bug 
for firefox: #47870
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2004-05-04 08:29:53 UTC
Well, it doesn't apply to mozilla-thunderbird-0.6, so closing this bug.  Tracking any remaining mozilla-thunderbird-0.6 / gcc-3.4 stuff in bug 49229