Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364303 - www-client/seamonkey-2.0.13 will not compile with gcc-4.6.0
Summary: www-client/seamonkey-2.0.13 will not compile with gcc-4.6.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
: 365275 (view as bug list)
Depends on:
Blocks: gcc-4.6
  Show dependency tree
 
Reported: 2011-04-21 01:23 UTC by Billy DeVincentis
Modified: 2011-07-10 23:37 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,273.07 KB, text/plain)
2011-04-21 01:24 UTC, Billy DeVincentis
Details
seamonkey-2.0.14-gcc46.patch (seamonkey-2.0.14-gcc46.patch,4.30 KB, patch)
2011-06-13 10:10 UTC, Markus Peloquin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Billy DeVincentis 2011-04-21 01:23:47 UTC
ng -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions   -I/usr/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsEnumeratorUtils.pp nsEnumeratorUtils.cpp
nsEnumeratorUtils.cpp:115:27: error: uninitialized const 'EmptyEnumeratorImpl::kInstance' [-fpermissive]
nsEnumeratorUtils.cpp:50:7: note: 'const class EmptyEnumeratorImpl' has no user-provided default constructor
gmake[5]: *** [nsEnumeratorUtils.o] Error 1
gmake[5]: Leaving directory `/var/tmp/portage/www-client/seamonkey-2.0.13/work/comm-1.9.1/mozilla/xpcom/glue'
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory `/var/tmp/portage/www-client/seamonkey-2.0.13/work/comm-1.9.1/mozilla/xpcom'
gmake[3]: *** [libs_tier_xpcom] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/www-client/seamonkey-2.0.13/work/comm-1.9.1/mozilla'
gmake[2]: *** [tier_xpcom] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/www-client/seamonkey-2.0.13/work/comm-1.9.1/mozilla'
gmake[1]: *** [default] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/www-client/seamonkey-2.0.13/work/comm-1.9.1/mozilla'
make: *** [default] Error 2
emake failed
 * ERROR: www-client/seamonkey-2.0.13 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 7543:  Called die
 * The specific snippet of code:
 *       emake ${jobs} || die;
 * 
 * If you need support, post the output of 'emerge --info =www-client/seamonkey-2.0.13',
 * the complete build log and the output of 'emerge -pqv =www-client/seamonkey-2.0.13'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.24"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/www-client/seamonkey-2.0.13/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/seamonkey-2.0.13/temp/environment'.
 * S: '/var/tmp/portage/www-client/seamonkey-2.0.13/work/comm-1.9.1'

>>> Failed to emerge www-client/seamonkey-2.0.13, Log file:

>>>  '/var/tmp/portage/www-client/seamonkey-2.0.13/temp/build.log'
 * 
 * The following package has failed to build or install:
 * 
 *  (www-client/seamonkey-2.0.13::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/www-client/seamonkey-2.0.13/temp/build.log'


Reproducible: Always




Linux1 billydv # emerge --info
Portage 2.2.0_alpha30 (default/linux/amd64/10.0/desktop, gcc-4.6.0, glibc-2.13-r2, 2.6.38-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r2-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.0.2
Timestamp of tree: Mon, 18 Apr 2011 05:30:01 +0000
app-shells/bash:     4.2_p8
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.6.3-r1, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2, 4.6.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
virtual/os-headers:  0
Repositories: gentoo miscellaneous
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j17 -l24"
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/miscellaneous"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib accessibility acl acpi aften alsa amd64 animate archive ares artworkextra audio audiofile avahi bash-completion beep berkdb bidi bittorrent bluetooth bookmarks branding bzip2 cairo cdda cddb cdio cdr chm cli clucene consolekit corefonts cpudetection cracklib crypt css cups curl cxx dbus declarative deprecated designer-plugin device-mapper dga directfb discouraged doc dri dts dv dvb dvd dvdnav dvdr ebook eds elisp emacs emboss emerald encode esd eselect examples exif expat extra-tools extras fam fat fax fbcon fbcondecor ffmpeg firefox flac flash fltk fontconfig foomaticdb fortran ftp fts3 fuse gcj gd gdbm gdu ggi gif gimp glep glib gnome gnutls gphoto2 gpm gstreamer gtk handbook hddtemp hfs hpcups hpijs html httpd hyperestraier iconv idn imagemagick imlib inkjar inotify ipv6 jack jadetex java jfs joystick jpeg jpeg2k kde kdrive kerberos konqueror lame lcms ldap libcaca libnotify libsamplerate lirc live lm_sensors mad mail matroska md5sum mdnsresponder-compat mikmod mime mjpeg mmx mmxext mng modules mono mozilla mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql nas nautilus ncurses networking new-login nls npp nptl nptlonly nsplugin ntfs objc odbc offensive ogg openal openexr opengl openmp osdmenu pam pango pcre pdf perl plasma png policykit postgres ppds pppd ps pulseaudio python qt3support qt4 quicktime raptor rar rdesktop readline realmedia reflection regex reiser4 reiserfs reports samba sametime scanner script sdl secure-delete semantic-desktop servletapi session sip skins slang slp smbclient smp sndfile snmp sound speech speex spell sql sqlite sse sse2 ssl startup-notification static-ppds stream subversion svg swat sysfs syslog tcpd templates themes theora threads thumbnail tidy tiff timidity tk tools truetype udev unicode unsupported usb utils v4l2 vcd vdpau vdr video vlm vorbis wav wavpack weather webkit wmf x264 xattr xcb xcomposite xfs xine xml xorg xpm xscreensaver xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia nv vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Billy DeVincentis 2011-04-21 01:24:25 UTC
Created attachment 270729 [details]
build.log
Comment 2 Serkan Kaba (RETIRED) gentoo-dev 2011-04-29 08:07:41 UTC
*** Bug 365275 has been marked as a duplicate of this bug. ***
Comment 3 Billy DeVincentis 2011-04-30 02:10:56 UTC
Look, I have successfully emerged www-client/seamonkey-2.1_beta3-r2 from the mozilla overlay with use -crypt (there is something wrong with the patches as they fail). Why not add it to the tree masked just like the alpha version of thunderbird. At least gcc-4.6 users will have an option with an emergable  seamonkey.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-05-08 16:13:16 UTC
seamonkey-2.1* is not ready for the main tree yet.
Comment 5 Markus Peloquin 2011-06-13 10:10:49 UTC
Created attachment 276875 [details, diff]
seamonkey-2.0.14-gcc46.patch

I really don't know why the default constructors aren't sufficient.  Is it maybe because default constructors aren't supplied for derived classes?  Here I thought I was good at C++.  Whatever, it compiles.  Oh, and one file was missing <cstddef> for offsetof().
Comment 6 Markus Peloquin 2011-06-13 23:50:21 UTC
For those interested, the following also triggers the error:

class alpha {};
const alpha beta;

I guess it makes sense since 'beta' is const and has no other method of being initialized.  It doesn't make sense if 'alpha' has no members to initialize, which is the case here.  And anyway, if I want to make an object that cannot be initialized, maybe that should be my business.  This is a bug in the C++ standard if you ask me.
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-07-10 23:37:15 UTC
Thanks for the patch Markus but meanwhile >=seamonkey-2.1 entered the tree so this bug can be considered as fixed.