Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277360 - [mozilla-overlay] mail-client/mozilla-thunderbird-3.0_beta2-r1 fails to emerge with gcc-4.4
Summary: [mozilla-overlay] mail-client/mozilla-thunderbird-3.0_beta2-r1 fails to emerg...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-10 21:06 UTC by Gef
Modified: 2009-07-17 14:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Collected errors from build (mozilla-thunderbird-3.0_beta2-build-errors.log,4.50 KB, text/plain)
2009-07-10 21:07 UTC, Gef
Details
Patch (mozilla-thunderbird-3.0_b2-gcc-4.4-patch.txt,1.48 KB, patch)
2009-07-10 21:07 UTC, Gef
Details | Diff
Full build.log (bzip2 compressed) (build.log.bz2,129.56 KB, application/octet-stream)
2009-07-13 09:38 UTC, Gef
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gef 2009-07-10 21:06:26 UTC
mail-client/mozilla-thunderbird-3.0_beta2-r1 from mozilla-overlay] fails to emerge because of undeclared functions.
This seems GCC-4.4 or Glibc-2.10 related. The attached patch solves the problem.


Reproducible: Always

Steps to Reproduce:
1. layman -a mozilla
2. emerge =www-client/mozilla-thunderbird-3.0_beta2-r1
Actual Results:  
1. Emerge fails (in three different files ; had to use "ebuild mozilla-thunderbird-3.0_beta2-r1.ebuild install" to sequentially find the offending files). See attached file of collected errors.
2.
3.


Expected Results:  
1. Merge successfully
2.
3.

emerge --info :

Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.4.0, glibc-2.10.1-r0, 2.6.30-tuxonice-r2-low-tickless-hrt-ipv6 i686)
=================================================================
System uname: Linux-2.6.30-tuxonice-r2-low-tickless-hrt-ipv6-i686-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 09 Jul 2009 20:20:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs preserved-rebuild protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="fr fr_FR"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/zeta-overlay /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/mozilla /usr/portage/local/layman/wschlich-testing /usr/portage/local/layman/xfce-dev /usr/portage/local/layman/x11 /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa apm berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt dbus dri dvd dvdr dvdread emboss encode evo exif ffmpeg fortran gdbm gif gnutls gpm gstreamer gtk hal iconv id3tag ipv6 isdnlog jpeg lame laptop libnotify mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl ssse3 svg sysfs tcpd threads tiff truetype unicode usb vdpau vorbis win32codecs x264 x86 xcb xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gef 2009-07-10 21:07:19 UTC
Created attachment 197484 [details]
Collected errors from build
Comment 2 Gef 2009-07-10 21:07:54 UTC
Created attachment 197485 [details, diff]
Patch
Comment 3 Jory A. Pratt gentoo-dev 2009-07-13 03:52:54 UTC
I am unable to duplicate this, I know there was an issue with gcc-4.4 but I done added the patch for it. If you could please attach the build.log and config.log it would be appreciated. If files are too large to attach to bugzilla, you can email them to mozilla@gentoo.org and cc myself.
Comment 4 Jory A. Pratt gentoo-dev 2009-07-13 04:08:02 UTC
After digging into this much deeper, I see there is no reason at all for the include as they are forced on all headers ... refer to configure for google-breakpad ...


ac_includes_default="\
#include <stdio.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# ifdef HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#ifdef HAVE_STRING_H
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif"

Comment 5 Gef 2009-07-13 08:21:16 UTC
Understood.
I am starting the build* now with and will provide logs ASAP.

* (with FEATURES="-ccache", even if i am almost sure i tried that before).

Comment 6 Gef 2009-07-13 09:38:19 UTC
Created attachment 197761 [details]
Full build.log (bzip2 compressed)
Comment 7 Jory A. Pratt gentoo-dev 2009-07-13 13:41:42 UTC
(In reply to comment #6)
> Created an attachment (id=197761) [edit]
> Full build.log (bzip2 compressed)
> 

I have recieved it and will dig threw it tonight, Thanks for providing build log for reiview.
Comment 8 Jory A. Pratt gentoo-dev 2009-07-14 03:33:11 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Created an attachment (id=197761) [edit]
> > Full build.log (bzip2 compressed)
> > 
> 
> I have recieved it and will dig threw it tonight, Thanks for providing build
> log for reiview.
> 
I have gone ahead and put a patch in the overlay, is based around your patch but ready for upstream if I find a reason that it really needs to be upstream, I will commit it upstream.
Comment 9 Jory A. Pratt gentoo-dev 2009-07-14 13:49:33 UTC
(In reply to comment #2)
> Created an attachment (id=197485) [edit]
> Patch
> 

I have actually backed out the patch, crashreporter is broken in more ways then just compilation at this point. It is no disabled automatically via the ebuild.