Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 237879

Summary: x11-misc/google-gadgets-0.10.2 Fails to compile
Product: Gentoo Linux Reporter: J M W <ultip>
Component: Current packagesAssignee: Peter Alfredsen (RETIRED) <loki_val>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log

Description J M W 2008-09-16 21:31:27 UTC
Google Gadgets failed to emerge, here's the error message:

:AnchorElement, void (ggadget::AnchorElement::*)(const ggadget::Variant&)>*, Fro
m = const ggadget::Slot]
../ggadget/slot.h: In member function `bool ggadget::UnboundMethodSlot0<R, T, M>
::operator==(const ggadget::Slot&) const [with R = ggadget::Variant, T = const g
gadget::AnchorElement, M = ggadget::Variant (ggadget::AnchorElement::*)() const]
':
anchor_element.cc:154:   instantiated from here
../ggadget/slot.h:261: error: call of overloaded `down_cast(const ggadget::Slot*
)' is ambiguous
../ggadget/common.h:146: note: candidates are: To ggadget::down_cast(const From*
) [with To = const ggadget::UnboundMethodSlot0<ggadget::Variant, const ggadget::
AnchorElement, ggadget::Variant (ggadget::AnchorElement::*)() const>*, From = gg
adget::Slot]
../ggadget/common.h:169: note:                 To ggadget::down_cast(From*) [wit
h To = const ggadget::UnboundMethodSlot0<ggadget::Variant, const ggadget::Anchor
Element, ggadget::Variant (ggadget::AnchorElement::*)() const>*, From = const gg
adget::Slot]
make[4]: *** [libggadget-1.0_la-anchor_element.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/x11-misc/google-gadgets-0.10.2/work
/google-gadgets-for-linux-0.10.2/ggadget'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-misc/google-gadgets-0.10.2/work
/google-gadgets-for-linux-0.10.2/ggadget'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/x11-misc/google-gadgets-0.10.2/work
/google-gadgets-for-linux-0.10.2/ggadget'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-misc/google-gadgets-0.10.2/work
/google-gadgets-for-linux-0.10.2'
make: *** [all] Error 2
 * 
 * ERROR: x11-misc/google-gadgets-0.10.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2182:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if rele
vant.
 * A complete build log is located at '/var/tmp/portage/x11-misc/google-gadgets-
0.10.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/google-g
adgets-0.10.2/temp/environment'.
 * 


Reproducible: Always

Steps to Reproduce:
1.emerge google-gadgets
2.Fail
3.

Actual Results:  
Google Gadgets failed to compile.

Expected Results:  
Google Gadgets should compile

Here's my emerge --info:

 emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.6.1-r0, 2.6.22-gentoo
-r5 i686)
=================================================================
System uname: 2.6.22-gentoo-r5 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Timestamp of tree: Mon, 15 Sep 2008 19:04:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts
.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/r
ules.d"
CXXFLAGS="-march=pentium4 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributio
ns/gentoo"
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --w
hole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/p
ackages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/pro-audio /usr/portage/local/layman/sunrise /usr
/portage/local/layman/zugaina /usr/portage/local/layman/desktop-effects /usr/portage/local/
layman/lxde /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit X Xaw3d a52 aac aalib acl acpi aim aio alsa amr amrnb amrwb amuled ao asf audacious audiofile autoipd avahi background bash-completion bdf berkdb bidi bittorrent blender-game bookmarks browserplugin bzip2 cairo caps cddb cdio cdr chardet cjk cli context cracklib crypt cscope css ctype cups curl curlwrappers cyrillic dba dbus dga directfb djvu doc dri dts dvd dvdr dvdread ecc eds emboss encode epydoc ethereal evo examples exif expat extra fam fastbuild fbcon ffmpeg finger firebird firefox flac fluidsynth font-server force-cgi-redirect fortran fpx ftp games gcrypt gd gdbm ggi gif glut glx gnutls gopher gpg gpm grammar graphics graphviz gsm gstreamer gtk gtkhtml hal hddtemp howl-compat humanities iceweasel iconv idea idle idn ieee1394 ilbc imlib immqt-bc injection iplsrc ipv6 isdnlog jabber jadetex jai java javascript jbig jikes jingle jmf jpeg jpeg2k jrtplib kerberos kpathsea ladspa laptop latex lcms ldap libcaca libgcrypt libgda libnotify libssh2 loudmouth lua lyx m17n-lib mad math md5sum mdnsresponder-compat memlimit midi mikmod mmap mmx mng modplug moonlight motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp2 mp3 mpeg mplayer msn mudflap musepack music mysql ncurses neXt nemesi network new-login nls nntp nodrm nptl nptlonly nsplugin odbc offensive ogg omega openexr opengl openmp ortp oss ots pam pcmcia pcre pdf perl plotutils png pnm portaudio posix pppd profile pstricks publishers python qt3support quicktime radio rar readline real reflection rss science sdl session sid simplexml slang slp smi sndfile soap sockets socks5 sofia-sip speex spell spl srp srt srv sse sse2 ssl ssse3 startup-notification svg t1lib tcltk tcpd tex4ht theora thesaurus threads threadsafe tiff timidity tk tokenizer tordns trayicon truetype tta unicode utils vcd verse vidix vim-syntax vim-with-x vorbis wavpack wifi win32codecs wma wmf wordperfect x264 x86 xcb xchatnogtk xcomposite xetex xgetdefault xml xml2 xorg xprint xsl xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter heade
rs include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb21
6 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LDFLAGS, PORTAG
E_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 J M W 2008-09-16 22:07:30 UTC
Created attachment 165599 [details]
Build log
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-09-24 19:17:10 UTC
Please try a newer GCC. This is a typical gcc-3.4-type error.
Comment 3 J M W 2008-10-02 07:05:10 UTC
Emerged fine with gcc 4.1.2. Thanks!