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

Bug 149511

Summary: mail-client/mozilla-thunderbird-1.5.0.7 - Fails to compile due to intl
Product: Gentoo Linux Reporter: Alon Bar-Lev (RETIRED) <alonbl>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mozilla-thunderbird-1.5.0.7-intl.patch

Description Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-29 06:01:12 UTC
I don't know how it work for other people.
This is seems upstream problem.
I guess there is some conditional compilation for this.
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-29 06:02:12 UTC
Created attachment 98373 [details, diff]
mozilla-thunderbird-1.5.0.7-intl.patch

Minor fix.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-29 06:24:56 UTC
Compiles just fine here, really would be useful to post some errors to see what are you patching here.
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-29 06:28:50 UTC
Which language do you use?

ude/necko2 -I../../../dist/include/nkcache -I../../../dist/include/intl -I../../../dist/include/locale -I../../../dist/include/mork -I../../../dist/include/widget -I../../../dist/include/dom -I../../../dist/include/uriloader -I../../../dist/include/mimetype -I../../../dist/include/webbrowserpersist -I../../../dist/include/progressDlg -I../../../dist/include/pref -I../../../dist/include/docshell -I../../../dist/include/webshell -I../../../dist/include/appshell -I../../../dist/include/downloadmanager -I../../../dist/include/mozldap -I../../../dist/include/appcomps -I../../../dist/include -I/usr/include/nspr       -fPIC   -fno-rtti -fno-handle-exceptions  -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=pentium-m -pipe -Wno-return-type -w -freorder-blocks -fno-reorder-functions -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2   -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsModule.pp nsModule.cpp
nsModule.cpp:45:27: error: nsCharsetMenu.h: No such file or directory
nsModule.cpp:46:34: error: nsFontPackageHandler.h: No such file or directory
nsModule.cpp: In function &#8216;nsresult nsFontPackageHandlerConstructor(nsISupports*, const nsIID&, void**)&#8217;:
nsModule.cpp:68: error: &#8216;nsFontPackageHandler&#8217; was not declared in this scope
nsModule.cpp:68: error: &#8216;inst&#8217; was not declared in this scope
nsModule.cpp:68: error: expected type-specifier before &#8216;nsFontPackageHandler&#8217;
nsModule.cpp:68: error: expected `;' before &#8216;nsFontPackageHandler&#8217;
nsModule.cpp: At global scope:
nsModule.cpp:112: error: &#8216;NS_CHARSETMENU_CID&#8217; was not declared in this scope
nsModule.cpp:113: error: expected `}' before &#8216;NS_CHARSETMENU_PID&#8217;
nsModule.cpp:113: error: expected `}' before &#8216;NS_CHARSETMENU_PID&#8217;
nsModule.cpp:113: error: invalid conversion from &#8216;const char*&#8217; to &#8216;PRUint16&#8217;
nsModule.cpp:113: error: expected &#8216;,&#8217; or &#8216;;&#8217; before &#8216;NS_CHARSETMENU_PID&#8217;
nsModule.cpp:114: error: expected declaration before &#8216;}&#8217; token
gmake[4]: *** [nsModule.o] Error 1
gmake[4]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-1.5.0.7/work/mozilla/xpfe/components/build2'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-1.5.0.7/work/mozilla/xpfe/components'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-1.5.0.7/work/mozilla/xpfe'
gmake[1]: *** [tier_50] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-1.5.0.7/work/mozilla'
make: *** [default] Error 2

!!! ERROR: mail-client/mozilla-thunderbird-1.5.0.7 failed.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-09-29 06:35:45 UTC
Language doesn't matter, it's parallel make issue. Please attach the patch to the other bug.


*** This bug has been marked as a duplicate of 135495 ***
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-29 06:47:40 UTC
I fail to see how it is a parallel make issue.
The missing include folder exist if make is parallel or it is not.
I will attach the patch to there... But I fail to understand.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-09-29 07:04:21 UTC
Well, compile it with MAKEOPTS="-j1" and you will understand... :)