Building Thunderbird-2.0.0.12 64 bit from CBLFS
Hi All, Interesting, this is the 2nd or 3rd time I went to post and couldn't till I unsubscribed then re-subscribed. I keep getting mail from the list but every so often... Does anyone else ever have that happen?? At any rate the reason for the post. I had everything running fine on my new BLFS workstation with X Thunderbird, Firefox and all the tools I needed to continue building and all of a sudden my mail and GDM stopped working. I have been trying to find out what happened but finally decided to just re-build and re-install the failed components but for some reason I couldn't get the same package that worked before to compile so I downloaded Thunderbird-2.0.0.12 and can't get that to compile either. I get the following errors. I need the fix but what I would really like is to know what is happening here. Is this just a bit of bad coding or a bug or a switch that isn't being passed to GCC or what? It has been a lot of years since I have been into serious coding and compilers require a lot of things they didn't used to care about. If possible I would like to get back up to speed so I can fix some of these problems myself. Can some kind soul throw me a bone? Thanks in advance for any help or instruction. Arnie g++ -m64 -o nsAppShell.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\Linux2.6.18.8-0\ -DOSARCH=\Linux\ -DBUILD_ID=00 -DUSE_XIM -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/gfx -I../../../dist/include/pref -I../../../dist/include/dom -I../../../dist/include/necko -I../../../dist/include/uconv -I../../../dist/include/intl -I../../../dist/include/gtkxtbin -I../../../dist/include/imglib2 -I../../../dist/include/widget -I../../../dist/include -I/usr/include/nspr-I../../../dist/sdk/include -I/usr/src/blfspackages/xfce4/mozilla/widget/src/gtk2/../xpwidgets -fPIC -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsAppShell.pp /usr/src/blfspackages/xfce4/mozilla/widget/src/gtk2/nsAppShell.cpp /usr/src/blfspackages/xfce4/mozilla/widget/src/gtk2/nsAppShell.cpp: In member function 'virtual nsresult nsAppShell::ListenToEventQueue(nsIEventQueue*, PRBool)': /usr/src/blfspackages/xfce4/mozilla/widget/src/gtk2/nsAppShell.cpp:230: error: cast from 'void*' to 'gint' loses precision /usr/src/blfspackages/xfce4/mozilla/widget/src/gtk2/nsAppShell.cpp:237: error: cast from 'void*' to 'gint' loses precision /usr/src/blfspackages/xfce4/mozilla/widget/src/gtk2/nsAppShell.cpp:242: error: cast from 'void*' to 'guint' loses precision make[5]: *** [nsAppShell.o] Error 1 make[5]: Leaving directory `/usr/src/blfspackages/xfce4/mozilla/obj-x86_64-unknown-linux-gnu/widget/src/gtk2' make[4]: *** [libs] Error 2 make[4]: Leaving directory `/usr/src/blfspackages/xfce4/mozilla/obj-x86_64-unknown-linux-gnu/widget/src' make[3]: *** [libs] Error 2 make[3]: Leaving directory `/usr/src/blfspackages/xfce4/mozilla/obj-x86_64-unknown-linux-gnu/widget' make[2]: *** [tier_9] Error 2 make[2]: Leaving directory `/usr/src/blfspackages/xfce4/mozilla/obj-x86_64-unknown-linux-gnu' make[1]: *** [default] Error 2 make[1]: Leaving directory `/usr/src/blfspackages/xfce4/mozilla/obj-x86_64-unknown-linux-gnu' make: *** [build] Error 2 -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Building Thunderbird-2.0.0.12 64 bit from CBLFS
On Mon, Apr 21, 2008 at 7:07 AM, Arnie Stender [EMAIL PROTECTED] wrote: Hi All, Interesting, this is the 2nd or 3rd time I went to post and couldn't till I unsubscribed then re-subscribed. I keep getting mail from the list but every so often... Does anyone else ever have that happen?? At any rate the reason for the post. I had everything running fine on my new BLFS workstation with X Thunderbird, Firefox and all the tools I needed to continue building and all of a sudden my mail and GDM stopped working. I have been trying to find out what happened but finally decided to just re-build and re-install the failed components but for some reason I couldn't get the same package that worked before to compile so I downloaded Thunderbird-2.0.0.12 and can't get that to compile either. I get the following errors. I need the fix but what I would really like is to know what is happening here. Is this just a bit of bad coding or a bug or a switch that isn't being passed to GCC or what? It has been a lot of years since I have been into serious coding and compilers require a lot of things they didn't used to care about. If possible I would like to get back up to speed so I can fix some of these problems myself. Can some kind soul throw me a bone? Thanks in advance for any help or instruction. Arnie g++ -m64 -o nsAppShell.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\Linux2.6.18.8-0\ -DOSARCH=\Linux\ -DBUILD_ID=00 -DUSE_XIM -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/gfx -I../../../dist/include/pref -I../../../dist/include/dom -I../../../dist/include/necko -I../../../dist/include/uconv -I../../../dist/include/intl -I../../../dist/include/gtkxtbin -I../../../dist/include/imglib2 -I../../../dist/include/widget -I../../../dist/include -I/usr/include/nspr-I../../../dist/sdk/include -I/usr/src/blfspackages/xfce4/mozilla/widget/src/gtk2/../xpwidgets -fPIC -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsAppShell.pp /usr/src/blfspackages/xfce4/mozilla/widget/src/gtk2/nsAppShell.cpp /usr/src/blfspackages/xfce4/mozilla/widget/src/gtk2/nsAppShell.cpp: In member function 'virtual nsresult nsAppShell::ListenToEventQueue(nsIEventQueue*, PRBool)': /usr/src/blfspackages/xfce4/mozilla/widget/src/gtk2/nsAppShell.cpp:230: error: cast from 'void*' to 'gint' loses precision That certainly looks like the type of error -Werror would throw, but I don't see it anywhere. What version of gcc is this? On the other hand, casting from a pointer to a non-pointer seems totally wrong even if it's probably harmless in this instance, so I'm guessing that the real fix is a patch. There should be some way to work around it, though. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Building Thunderbird-2.0.0.12 64 bit from CBLFS
Dan Nicholson wrote: That certainly looks like the type of error -Werror would throw, but I don't see it anywhere. What version of gcc is this? On the other hand, casting from a pointer to a non-pointer seems totally wrong even if it's probably harmless in this instance, so I'm guessing that the real fix is a patch. There should be some way to work around it, though. -- Dan Hi Dan, Thanks for the quick response and the instruction. This is gcc (GCC) 4.2.1. I'll try looking on the Mozilla site. Arnie -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Building Thunderbird-2.0.0.12 64 bit from CBLFS
On Mon, Apr 21, 2008 at 7:34 AM, Arnie Stender [EMAIL PROTECTED] wrote: Dan Nicholson wrote: That certainly looks like the type of error -Werror would throw, but I don't see it anywhere. What version of gcc is this? On the other hand, casting from a pointer to a non-pointer seems totally wrong even if it's probably harmless in this instance, so I'm guessing that the real fix is a patch. There should be some way to work around it, though. -- Dan Hi Dan, Thanks for the quick response and the instruction. This is gcc (GCC) 4.2.1. I'll try looking on the Mozilla site. A little googling leads me to believe that this is a 64 bit problem, and I see that you had the same problem with firefox (as you should have since this is in the shared gtk2 widget source for gecko). It's trying to use the macro GPOINTER_TO_INT, which is defined in $libdir/glib-2.0/include/glibconfig.h. In your case, it looks like it's including /usr/lib/glib-2.0/include. So, the first question is: is this multilib 64 bit? Do you have /usr/lib64/glib-2.0/include? Could you grep for GPOINTER_TO_INT in /usr/lib/glib-2.0/include/glibconfig.h? I could be wrong, but I think it also needs to be casting it to (glong) instead of just (gint) by looking at how glibconfig.h is generated. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page