Summary: | firefox/thunderbird/gecko-sdk fail to build due to glibc-2.4 not exporting JB_BP | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Priit Laes (IRC: plaes) <plaes> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | birder, daniel, f00bar, gentoo, hg, jcwren, rockoo, tlex, wilburpan |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch for xpcom/base/nsStackFrameUnix.cpp and xpcom/base/nsTraceRefcntImpl.cpp |
Description
Priit Laes (IRC: plaes)
2006-03-13 03:03:00 UTC
I also tried with gcc-4.1.0, also failed with the same problem. box770 ~ # emerge --info Portage 2.1_pre6-r2 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.4-r0, 2.6.15-gentoo-r5 i686) ================================================================= System uname: 2.6.15-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.60GHz Gentoo Base System version 1.12.0_pre16 ccache version 2.4 [disabled] 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-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="-Os -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/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="-Os -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/overlay/amd /usr/overlay/gnome-experimental" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac acpi alsa apache2 avahi avi beagle berkdb bitmap-fonts bogofilter bonjour browserplugin bzip2 cairo cdr cli crypt cups daap dbus dri dvd dvi eds emboss encode evo exif firefox flac foomaticdb galago gd gdbm gif glut gnome gnutls gstreamer gtk gtk2 hal howl idn imlib ipv6 jpeg lcms ldap libg++ libwww logrotate mad mikmod mmap mmx mmxext mono mozilla mp3 mpeg music mysql mysqli nautilus ncurses network nls nptl nptlonly nsplugin ogg oggvorbis ole opengl pam pcmcia pcre pdf pdflib pear png quicktime radiotap readline real samba sdl session source spell sse sse2 ssl startup-notification svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 v4l2 vorbis win32codecs xml xml2 xmlrpc xv xvid zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_ati video_cards_fglrx" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS The same/similar issue (JB_BP not exported bu glibc-2.4) for firefox-1.5, thunderbird-1.5 and gecko-sdk-1.7.12 Changing the bug summary, also increasing severity because it's a possible blocker . *** Bug 126053 has been marked as a duplicate of this bug. *** Is there a patch or something available for this? I thought I saw something a couple of hours ago when I first searched this error out in bugzilla, but I can't seem to find the bug with the patch again... I suggest you take a look here: https://bugzilla.mozilla.org/show_bug.cgi?id=323853 Alexandru, I'm not sure what audience that link is directed at, but it wasn't helpful to me. All I can ascertain is that they were aware of this problem a month ago, there might be a patch, and it appears it should have already been in the ebuild patch list. Perhaps you could clarify? Created attachment 82057 [details, diff]
Patch for xpcom/base/nsStackFrameUnix.cpp and xpcom/base/nsTraceRefcntImpl.cpp
I have just applied the patch on gecko-sdk. It emerged afterwards without problems. emerge info: Portage 2.1_pre6-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.4-r0, 2.6.15-gentoo-r7-syko i686) ================================================================= System uname: 2.6.15-gentoo-r7-syko i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.12.0_pre16 dev-lang/python: 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="-O3 -march=pentium4 -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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks keepwork metadata-transfer sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org ftp://ftp.lug.ro/gentoo ftp://ftp.romnet.org/gentoo http://ftp.romnet.org/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync1.ro.gentoo.org/gentoo-portage" USE="x86 7zip X aac aalib acl acpi aim alsa apache2 apm audiofile avi bash-completion berkdb bindinst bitmap-fonts browserplugin bzip2 cdparanoia cdr crypt cups curl curlwrappers dga dio directfb dv dvb dvd dvdr dvdread eds emboss encode fbcon fdftk ffmpeg firefox flash foomaticdb fortran ftp gd gdbm ghoto2 gif glut gpm hal iconv icq imagemagick imap imlib jabber javascript jikes jpeg jpeg2k kde kdexdeltas libg++ libwww lm_sensors mad memlimit mikmod mime ming mmx mng motif mp3 mpeg msn mysqli ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl oscar oss pam pdf pdflib perl php png python qt quicktime readline rtc sasl scanner sdl slp smp sockets sox speex spell sse sse2 ssl svg tcltk threads tiff truetype truetype-fonts type1-fonts udev usb userlocales v4l vcd videos vorbis win32codecs wmf xml xml2 xmms xosd xpm xprint xv xvid yahoo zlib elibc_glibc kernel_linux linguas_en userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS Overlays that patch Firefox, Thunderbird and Enigmail can be found in the thread: http://forums.gentoo.org/viewtopic-p-3178300.html#3178300 Alexandru's patch works for me on gecko-sdk-1.7.12-r1 as well. *** Bug 126238 has been marked as a duplicate of this bug. *** Same problem here, Firefox and Thunderbird builds fail with the same error after glibc update. regards, Heiko *** This bug has been marked as a duplicate of 125832 *** |