Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153969 - gnome-base/control-center-2.16.1 doesn't compile (DrWright structure is missing something)
Summary: gnome-base/control-center-2.16.1 doesn't compile (DrWright structure is missi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 154246 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-03 14:34 UTC by Albert Zeyer
Modified: 2006-11-06 07:28 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Zeyer 2006-11-03 14:34:33 UTC
Hi there

I need the control-center-2.16.1 for the new Compiz-version (0.3.2) but I got an error:
...
if powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -DGNOMELOCALEDIR="\"/usr/share/locale\"" -DIMAGEDIR=\"/usr/share/control-center-2.0/pixmaps\"    -O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -Wall -MT drwright.o -MD -MP -MF ".deps/drwright.Tpo" -c -o drwright.o drwright.c; \
        then mv -f ".deps/drwright.Tpo" ".deps/drwright.Po"; else rm -f ".deps/drwright.Tpo"; exit 1; fi
drwright.c:87: error: expected specifier-qualifier-list before 'GtkStatusIcon'
drwright.c: In function 'update_icon':
drwright.c:155: warning: implicit declaration of function 'gtk_status_icon_set_from_pixbuf'
drwright.c:155: error: 'DrWright' has no member named 'icon'
drwright.c:156: error: 'DrWright' has no member named 'disabled_bar'
drwright.c:160: error: 'DrWright' has no member named 'neutral_bar'
drwright.c:195: error: 'DrWright' has no member named 'red_bar'
drwright.c:201: error: 'DrWright' has no member named 'red_bar'
drwright.c:205: error: 'DrWright' has no member named 'green_bar'
drwright.c:222: error: 'DrWright' has no member named 'icon'
drwright.c:226: error: 'DrWright' has no member named 'composite_bar'
...
drwright.c:438: error: 'DrWright' has no member named 'green_bar'
drwright.c: In function 'update_tooltip':
drwright.c:469: warning: implicit declaration of function 'gtk_status_icon_set_tooltip'
drwright.c:469: error: 'DrWright' has no member named 'icon'
drwright.c:495: error: 'DrWright' has no member named 'icon'
drwright.c: In function 'popup_menu_cb':
drwright.c:653: error: 'gtk_status_icon_position_menu' undeclared (first use in this function)
drwright.c:653: error: (Each undeclared identifier is reported only once
drwright.c:653: error: for each function it appears in.)
drwright.c:654: error: 'DrWright' has no member named 'icon'
drwright.c: In function 'init_tray_icon':
drwright.c:711: error: 'DrWright' has no member named 'icon'
drwright.c:711: warning: implicit declaration of function 'gtk_status_icon_new_from_pixbuf'
drwright.c:711: error: 'DrWright' has no member named 'neutral_bar'
...
drwright.c:837: error: 'DrWright' has no member named 'disabled_bar'
make[2]: *** [drwright.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/control-center-2.16.1/work/control-center-2.16.1/typing-break'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/control-center-2.16.1/work/control-center-2.16.1'
make: *** [all] Error 2

!!! ERROR: gnome-base/control-center-2.16.1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called gnome2_src_compile
  gnome2.eclass, line 64:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.


The error occurs on my PPC and on my x86.

I think there is a missing dependencie, but I don't know what it is.

--
Albert
Comment 1 mambro 2006-11-04 09:33:21 UTC
Same error for me

Portage 2.1.1-r1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.12.6
Last Sync: Fri, 03 Nov 2006 11:30:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="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/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="it_IT.utf8"
LINGUAS="it"
MAKEOPTS="-j3 "
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit 7zip X aac aalib acpi aiglx alsa amarok amd64 applet artworkextra asf audacious audiofile avi bash-completion berkdb binary-drivers bitmap-fonts bittorrent bluetooth bonobo branding browserplugin bzip2 cairo ccache cdr cli cracklib crypt cups dbus divx dlloader dri dvd dvdr dvdread dvi elibc_glibc encode esd faac fam fbcon fbsplash festival ffmpeg firefox flac foomaticdb fortran freetype ftp gaim gdbm gif gimpprint gmedia gnome gnome-print gphoto2 gpm gstreamer gtk gtk2 gvim gzip hal hddtemp iconv icq ieee1394 input_devices_keyboard input_devices_mouse ipod isdnlog jabber java javascript jikes joystick jpeg kernel_linux libcaca libg++ libnotify linguas_it live lm_sensors logrotate mad mbrola mhash mikmod mp3 mpeg mpeg2 mplayer msn musepack musicbrainz mysql nautilus ncurses nls nptl nptlonly nsplugin ntfs offensive ogg oggvorbis opengl openntpd openssh openssl oss pam pcre pdf pdflib perl php pic plotutils png ppds pppd python quicktime readline realmedia reflection reiserfs samba sdl session sox spell spl ssl stream svg symlink tcpd tetex theora timidity totem truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd vfat video_cards_radeon vorbis wma wmp wxwindows x264 xine xml xml2 xorg xosd xscreensaver xvid zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY 


Other people have the same problem: http://forums.gentoo.org/viewtopic-t-509401-highlight-.html#3693296
Comment 2 Albert Zeyer 2006-11-04 12:15:57 UTC
It seems that GtkStatusIcon is simply nowhere defined.
The following searches give no single result:
  grep -R -i GtkStatusIcon /usr/include/gtk*
and
  grep -R -i Gtk_Status_Icon /usr/include/gtk*

I will recompile gtk+ and see, if this will fix it. But it is very strange. In the forum, other people have similar problems with missing GtkStatusIcon-declarations. 
Comment 3 Albert Zeyer 2006-11-04 12:57:28 UTC
A reemerge of x11-libs/gtk+-2.8.19 doesn't help. If I had just do a Google-search for the GtkStatusIcon, I had knewd, that this simply can not fix the problem, because GtkStatusIcon was defined firstly in 2.10.

I will emerge >=gtk+-2.10.0 now, so I have the GtkStatusIcon and I will see, if that solves this problem.
Comment 4 Albert Zeyer 2006-11-04 14:01:24 UTC
It compiles fine with >=gtk+-2.10.0, so please add this dependencie to the ebuild.
Comment 5 Mart Raudsepp gentoo-dev 2006-11-04 20:39:04 UTC
Dependency fixed. Apparently I noticed this problem myself at the end of September, but didn't yet get around to fix the ebuild after officially joining the gnome team in October. The upstream bug is http://bugzilla.gnome.org/show_bug.cgi?id=358106

Thanks for reporting it!
Comment 6 John N. Laliberte (RETIRED) gentoo-dev 2006-11-06 07:28:48 UTC
*** Bug 154246 has been marked as a duplicate of this bug. ***