Bug 125832 - firefox/thunderbird/gecko-sdk/enigmail/mozilla/nvu fail to build due to glibc-2.4
|
Bug#:
125832
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: geekypenguin@gmail.com
|
Reported By: gilles.gagniard@gmail.com
|
|
Component: Applications
|
|
|
URL:
https://bugzilla.mozilla.org/show_bug.cgi?id=323853
|
|
Summary: firefox/thunderbird/gecko-sdk/enigmail/mozilla/nvu fail to build due to glibc-2.4
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-03-11 06:45 0000
|
As reported there,
https://bugzilla.mozilla.org/show_bug.cgi?id=323853
glibc 2.4 introduced an API change which breaks the XPCOM layer compilation of
the mozilla suite. This is fixed upstream, and a patch is available. Maybe this
patch should be applied now in the ebuild in order to compile Mozilla products
? I haven't tried to recompile the latest Firefox/Thunderbird with the new
glibc yet, but I expect them to be broken too since this affects basic XPCOM
compilation ... so this patch needs to be applied to all mozilla products.
*** Bug 125843 has been marked as a duplicate of this bug. ***
*** Bug 125845 has been marked as a duplicate of this bug. ***
So far, the following are affected: Mozilla, Firefox and gecko-sdk. All compile
fine with the patch in place.
*** Bug 125898 has been marked as a duplicate of this bug. ***
I don't know if this the error referenced in the mozilla bug above -- if not I
will file a new bug:
x86_64-pc-linux-gnu-g++ -o TestIOThreads.o -c -DOSTYPE=\"Linux2.6\"
-DOSARCH=\"Linux\" -I../../dist/include/xpcom -I../../dist/include/string
-I../../dist/include/necko -I../../dist/include/pref -I../../dist/include/util
-I../../dist/include/test_necko -I../../dist/include
-I/var/tmp/portage/mozilla-1.7.12-r2/work/mozilla/dist/include/nspr
-fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\"
-DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\" -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=athlon64 -pipe -fPIC -Wno-return-type -w -fshort-wchar
-pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g -fno-inline -O1
-DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\"
-DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"
-DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/TestIOThreads.pp
TestIOThreads.cpp
TestIOThreads.cpp: In function
I don't know if this the error referenced in the mozilla bug above -- if not I
will file a new bug:
x86_64-pc-linux-gnu-g++ -o TestIOThreads.o -c -DOSTYPE=\"Linux2.6\"
-DOSARCH=\"Linux\" -I../../dist/include/xpcom -I../../dist/include/string
-I../../dist/include/necko -I../../dist/include/pref -I../../dist/include/util
-I../../dist/include/test_necko -I../../dist/include
-I/var/tmp/portage/mozilla-1.7.12-r2/work/mozilla/dist/include/nspr
-fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\"
-DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\" -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=athlon64 -pipe -fPIC -Wno-return-type -w -fshort-wchar
-pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g -fno-inline -O1
-DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\"
-DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"
-DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/TestIOThreads.pp
TestIOThreads.cpp
TestIOThreads.cpp: In function void* HandleEvent(PLEvent*):
TestIOThreads.cpp:53: error: cast from void* to int loses precision
gmake[3]: *** [TestIOThreads.o] Error 1
gmake[3]: Leaving directory
`/var/tmp/portage/mozilla-1.7.12-r2/work/mozilla/netwerk/test'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory
`/var/tmp/portage/mozilla-1.7.12-r2/work/mozilla/netwerk'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-1.7.12-r2/work/mozilla'
make: *** [default] Error 2
!!! ERROR: www-client/mozilla-1.7.12-r2 failed.
emerge --info
Portage 2.1_pre6 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.4-r0,
2.6.15-ck5 x86_64)
=================================================================
System uname: 2.6.15-ck5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python: 2.3.5-r2, 2.4.2-r1
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1-r1, 2.16.91.0.3, 2.16.91.0.5, 2.16.91.0.6
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -ffriend-injection"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache distlocks metadata-transfer nostrip sandbox sfperms
strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-main /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X aac alsa avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr
crypt cups dbus debug dri dvd dvdr eds emboss encode esd firefox flac
foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib ipv6 java
jpeg kde ldap lzw lzw-tiff mad mono mozilla mp3 mpeg ncurses nls nptl nptlonly
ogg opengl pam pdflib perl pic png python qt quicktime readline ruby samba sdl
spell sqlite ssl tcpd theora tiff truetype truetype-fonts type1-fonts usb
vorbis xml2 xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse
input_devices_evdev kernel_linux userland_GNU video_cards_vga video_cards_vesa
video_cards_nv"
Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS
I just successfully emerged mozilla-firefox-1.5.0.1-r2, so mine is a different
bug. I'll file it as such now.
*** Bug 125991 has been marked as a duplicate of this bug. ***
If anyone still has issues, I have had a patch for several months now.. But
glibc 2.4 wasn't in portage so no reason to submit it.
Packages known to not compile:
Mozilla-Thunderbird
Gecko-Sdk
Mozilla-Firefox
Mozilla
Enigmail
(In reply to comment #10)
> Packages known to not compile:
> Mozilla-Thunderbird
> Gecko-Sdk
> Mozilla-Firefox
> Mozilla
> Enigmail
>
I was able to compile Thunderbird, Firefox and Enigmail, just Mozilla failed
for me. So why was my bug 125991 marked a duplicate?
Alex >> If anyone still has issues, I have had a patch for several months now.
Your patch was the first posted on the Mozilla bugzilla, it basically just
disables the stack trace dumping on Linux with the new glibc. But now, better
patches exist (like the one I posted and that has been integrated upstream in
the 1-8 branch) which make the stack trace stuff work with glibc 2.4 ...
*** Bug 126143 has been marked as a duplicate of this bug. ***
*** Bug 126037 has been marked as a duplicate of this bug. ***
The patches I attached, were the ones I used since the issue existed a few
months ago. I had no clue they updated the patch.
The patch against mozilla-1.7.12 doesn't work for me. I still have the same
error.
*** Bug 126412 has been marked as a duplicate of this bug. ***
*** Bug 126445 has been marked as a duplicate of this bug. ***
nvu also could be added to this list :)
*** Bug 126472 has been marked as a duplicate of this bug. ***
*** Bug 126577 has been marked as a duplicate of this bug. ***
*** Bug 126583 has been marked as a duplicate of this bug. ***
*** Bug 126661 has been marked as a duplicate of this bug. ***
*** Bug 126702 has been marked as a duplicate of this bug. ***
*** Bug 126709 has been marked as a duplicate of this bug. ***
I used 010_glibc-2.4.patch.bz2 for all gecko based products I have installed
(mozilla suite, firefox, thunderbird and enigmail)
According to all the dupes here, I hope this patch will be merged into portage
soon, because waiting for upstream ... might take a while.
I am gonna be merging the patches shortly for thunderbird/firefox/enigmail. I
will do seamonkey early tomorrow morning as long as compile is fine. I will try
and get around to mozilla and gecko-sdk as soon as possible.
I add patch for mozilla 1.7.12 to compile against glibc 2.4 and got error
i686-pc-linux-gnu-g++ -o nsStackFrameUnix.o -c -DOSTYPE=\"Linux2.6\"
-DOSARCH=\"Linux\" -D_IMPL_NS_COM -I../../dist/include/string
-I../../dist/include/xpcom -I../../dist/include
-I/var/tmp/portage/mozilla-1.7.12-r2/work/mozilla/dist/include/nspr
-fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\"
-DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -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=pentium4 -pipe -Wno-return-type -w -fshort-wchar -pthread
-pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2
-DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\"
-DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -DMOZILLA_CLIENT
-include ../../mozilla-config.h -Wp,-MD,.deps/nsStackFrameUnix.pp
nsStackFrameUnix.cpp
nsStackFrameUnix.cpp: In function 'void DumpStackToFile(FILE*)':
nsStackFrameUnix.cpp:96: error: 'JB_BP' was not declared in this scope
gmake[3]: *** [nsStackFrameUnix.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory
`/var/tmp/portage/mozilla-1.7.12-r2/work/mozilla/xpcom/base'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory
`/var/tmp/portage/mozilla-1.7.12-r2/work/mozilla/xpcom'
gmake[1]: *** [tier_2] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-1.7.12-r2/work/mozilla'
make: *** [default] Error 2
!!! ERROR: www-client/mozilla-1.7.12-r2 failed
emerge info
*** Deprecated use of action 'info', use '--info' instead
Portage 2.1_pre6-r3 (default-linux/x86/2006.0, gcc-4.0.2, glibc-2.4-r1,
2.6.16-rc3-nitro1 i686)
=================================================================
System uname: 2.6.16-rc3-nitro1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python: 2.3.5, 2.4.2-r1
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mfpmath=sse -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/env.d"
CXXFLAGS="-march=pentium4 -mfpmath=sse -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache cvs distcc distlocks fixpackages
metadata-transfer notitles sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.gentoo.no/ ftp://ftp.du.se/pub/os/gentoo/
http://trumpetti.atm.tut.fi/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="pl_PL"
LC_ALL="pl_PL"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts avi berkdb bitmap-fonts cdr cli crypt
ctype cups dba dbus dga dri dvd eds emboss encode esd expat fastbuild
foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gpm gstreamer gtk gtk2
hal imlib ipv6 jpeg kde libg++ libwww mad maildir memlimit mikmod motif mozilla
mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcmcia pcre pdflib perl
png pnp posix python qt quicktime readline samba sdl session simplexml soap
sockets spell spl ssl tcpd tokenizer truetype truetype-fonts type1-fonts udev
vorbis win32codecs xinerama xml xmms xsl xv zlib elibc_glibc kernel_linux
linguas_pl userland_GNU video_cards_radeon"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS
to confirm #37, I also got:
-Wp,-MD,.deps/nsStackFrameUnix.pp nsStackFrameUnix.cpp
nsStackFrameUnix.cpp: In function Void DumpStackToFile(FILE*)':
nsStackFrameUnix.cpp:101: error:
B_BP' was not declared in this scope
gmake[3]: *** [nsStackFrameUnix.o] Error 1
[...]
!!! ERROR: www-client/mozilla-firefox-1.5.0.1-r2 failed.
Call stack:
ebuild.sh, line 1557: Called dyn_compile
ebuild.sh, line 966: Called src_compile
and
nsStackFrameUnix.cpp: In function Void DumpStackToFile(FILE*)':
nsStackFrameUnix.cpp:101: error:
B_BP' was not declared in this scope
gmake[3]: *** [nsStackFrameUnix.o] Error 1
[...]
!!! ERROR: mail-client/mozilla-thunderbird-1.5-r1 failed.
Call stack:
ebuild.sh, line 1557: Called dyn_compile
ebuild.sh, line 966: Called src_compile
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
$ emerge --info
Portage 2.1_pre6-r3 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.4-r1,
2.6.15-gentoo-r7-Gentoo-moon_05 i686)
=================================================================
System uname: 2.6.15-gentoo-r7-Gentoo-moon_05 i686 AMD Athlon(tm) 4 Processor
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python: 2.3.5, 2.4.2-r1
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks keeptemp keepwork metadata-transfer noclean
sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB.ISO-8859-15"
LC_ALL="en_GB.ISO-8859-15"
MAKEOPTS="-j2"
PKGDIR="/tmp"
PORTAGE_TMPDIR="/mnt/big"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi aim alsa amuled apache2 apic apm arts audiofile
avi bash-completion berkdb bidi binfilter bitmap-fonts bl bonjour bootsplash
cdda cdparanoia cdr cjk cmov cpudetection crypt cups curl cx8 dbus de dga
directfb doc dri dts dv dvb dvd dvdread dynamic eds emboss encode esd ethereal
examples fbcon ffmpeg flac flash foomaticdb fortran fping fpu freetype fxsr
gdbm ggi gif gnome gnutls gpm gs gstreamer gtk gtk2 httpd i8x0 icq idea idn
ieee1394 imagemagick imlib ipv6 irc jabber jack java javascript jpeg kde lcms
libcaca libg++ libwww lirc listentcp live lj logrotate lzo mad matrox mca mce
mikmod mmx mmxext mono motif mozcalendar mp3 mpeg mplayer msn msr mtrr mtyhtv
ncurses network nls no-htdocs nptl nptlonly nsplugin offensive ogg oggvorbis
opengl oss pae pam pat pdflib perl pge png pse pse36 python qt quicktime rar
readline real rss rtc samba screen sdl sensord sep silc skey skins sndfile
speex spell sse ssl stream subtitles svg svga swat symlink tcpd tga theora
threads tiff truetype truetype-fonts tsc type1-fonts unicode urandom usb v4l
v4l2 vcd vim vlm vme vorbis win32codecs wmf wxwindows xanim xinerama xml2 xmms
xosd xscreensaver xv xvid xvmc yahoo zeroconf zlib elibc_glibc kernel_linux
userland_GNU"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, LINGUAS
firefox-1.5.0.1-r3 thunderbird-1.5-r2 enigmail-0.94.0-r1 gecko-sdk-1.7.12-r2
are all in the tree. Seamonkey is building in the background right now soon as
it is done I will test mozilla and we should be good to go. NVU is gonna be
p.masked for removal come Wed. so not gonna worry about it.
seamonkey is complete, I have just added it to the tree, mozilla will be in the
tree before the night is over. I want to take the time to thank everyone for
the positive feedback on the patches and for making note that upstream has
already added them to 1.8 branch.
mozilla-1.7.12-r3 is in the tree as promised. As I have said I have no plans
for NVU as I am gonna be p.masking come Wed.
please stop changing the SUMMARY of bug; if some encontours NOW the bug, he
will never think he should have a look at a 'NVU only' bug when unable to
compile FireFox ... remember that bugzilla is based on a search engine, or dont
complain about dups.
My habit is now to ALWAYS tock search in reseloved ... because too many times I
opened new bugs where existing significant ones were eiher dups, SOLVED (when
actually portage was not up to date on mirors) os compleetely unrelated
descriptions.
Upstream has been in contact and they are working on next release.
Well, the summary of this bug went completely crazy, as well as the
resolution...
*** Bug 126973 has been marked as a duplicate of this bug. ***
Eerything is fixed leave it at that :-b
Thanks a lot, my mozilla compiles cleanly now!
*** Bug 145918 has been marked as a duplicate of this bug. ***
*** Bug 147525 has been marked as a duplicate of this bug. ***
*** Bug 147855 has been marked as a duplicate of this bug. ***
*** Bug 148275 has been marked as a duplicate of this bug. ***
*** Bug 147831 has been marked as a duplicate of this bug. ***
*** Bug 148540 has been marked as a duplicate of this bug. ***