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

Bug 117394

Summary: gnome-applets-2.12.2 fails to build after gcc update
Product: Gentoo Linux Reporter: Jose daLuz <jdaluz>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jose daLuz 2006-01-01 14:34:27 UTC
I just updated gcc from 3.4.4-r1 to 3.4.5, and afterwards did an emerge -e
system/world. During the latter, gnome-applets-2.12.2 failed to build with the following error:

gweather-applet.c: In function `update_finish':
gweather-applet.c:428: error: syntax error before '*' token
gweather-applet.c:429: error: `NotifyHints' undeclared (first use in this function)
gweather-applet.c:429: error: (Each undeclared identifier is reported only once
gweather-applet.c:429: error: for each function it appears in.)
gweather-applet.c:429: error: `hints' undeclared (first use in this function)
gweather-applet.c:484: error: `icon' undeclared (first use in this function)
make[3]: *** [gweather-applet.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-applets-2.12.2/work/gnome-applets-2.12.2/gweather'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-applets-2.12.2/work/gnome-applets-2.12.2/gweather'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-applets-2.12.2/work/gnome-applets-2.12.2'
make: *** [all] Error 2

!!! ERROR: gnome-base/gnome-applets-2.12.2 failed.

emerge --info
Portage 2.1_pre2 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.14-ck7 x86_64)
=================================================================
System uname: 2.6.14-ck7 x86_64 AMD Athlon(tm) 64 Processor 3000 
Gentoo Base System version 1.12.0_pre12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
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
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.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/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LC_ALL="en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/gentopia /usr/local/bmg-main /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib alsa audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt cups curl dbus eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 guile hal howl idn imagemagick imlib ipv6 jack java jpeg junit kde lcms ldap libwww lua lzw lzw-tiff mad mikmod mng mono motif mozilla mp3 mpeg ncurses nls nptl ogg openal opengl pam pcre pdflib perl pic png python qt quicktime readline recode ruby samba sdl speex spell sqlite ssl svg tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis wmf xine xml2 xmms xpm xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2006-01-01 14:36:04 UTC
*** Bug 117393 has been marked as a duplicate of this bug. ***
Comment 2 Jose daLuz 2006-01-03 17:52:22 UTC
Just FYI (I know you don't support it), I emerged Gnome 2.13 from Break My Gentoo, and gnome-applets-2.13.1 has the same error (starting at line 410).  I'll look upstream for this error as well.
Comment 3 Jose daLuz 2006-01-03 19:42:46 UTC
Okay, this is related to libnotify.  The lines with errors are surrounded by #ifdef HAVE_LIBNOTIFY/#endif.  I had libnotify-0.3.0 from Gentopia installed, and unmerging it gets rid of this error.  This would still indicate a problem with libnotify support in gnome-applets, but perhaps this would be better addressed upstream.
Comment 4 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-01-03 20:52:24 UTC
Built fine with me with libnotify.  However, libnotify isn't in portage, so it's not a gentoo bug.