Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154246 - gnome-base/control-center-2.16.1: Cannot compile. Barfs at drwright.c:87: error: syntax error before "GtkStatusIcon"
Summary: gnome-base/control-center-2.16.1: Cannot compile. Barfs at drwright.c:87: err...
Status: RESOLVED DUPLICATE of bug 153969
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: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-06 06:51 UTC by Alexander Skwar
Modified: 2006-11-06 08:03 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 Alexander Skwar 2006-11-06 06:51:25 UTC
Trying to compile control-center:

[ebuild     U ]  gnome-base/control-center-2.16.1 [2.14.2] USE="-alsa -debug -eds (-gstreamer%)" 0 kB

Fails:

if i686-pc-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/libpng12 -I/usr/include/libxml2 -DGNOMELOCALEDIR="\"/usr/share/locale\"" -DIMAGEDIR=\"/usr/share/control-center-2.0/pixmaps\"    -O2 -march=pentium4 -pipe -Wall -MT drw-monitor.o -MD -MP -MF ".deps/drw-monitor.Tpo" -c -o drw-monitor.o drw-monitor.c; \
        then mv -f ".deps/drw-monitor.Tpo" ".deps/drw-monitor.Po"; else rm -f ".deps/drw-monitor.Tpo"; exit 1; fi
if i686-pc-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/libpng12 -I/usr/include/libxml2 -DGNOMELOCALEDIR="\"/usr/share/locale\"" -DIMAGEDIR=\"/usr/share/control-center-2.0/pixmaps\"    -O2 -march=pentium4 -pipe -Wall -MT drw-utils.o -MD -MP -MF ".deps/drw-utils.Tpo" -c -o drw-utils.o drw-utils.c; \
        then mv -f ".deps/drw-utils.Tpo" ".deps/drw-utils.Po"; else rm -f ".deps/drw-utils.Tpo"; exit 1; fi
drwright.c:87: error: syntax error before "GtkStatusIcon"
drwright.c:87: warning: no semicolon at end of struct or union
drwright.c:96: error: syntax error before '}' token
drwright.c: In function `setup_debug_values':
drwright.c:139: error: dereferencing pointer to incomplete type
drwright.c:140: error: dereferencing pointer to incomplete type
drwright.c:141: error: dereferencing pointer to incomplete type
drwright.c: In function `update_icon':
drwright.c:154: error: dereferencing pointer to incomplete type
drwright.c:155: warning: implicit declaration of function `gtk_status_icon_set_from_pixbuf'
drwright.c:155: error: dereferencing pointer to incomplete type
drwright.c:156: error: dereferencing pointer to incomplete type
drwright.c:160: error: dereferencing pointer to incomplete type
drwright.c:167: error: dereferencing pointer to incomplete type
drwright.c:181: error: dereferencing pointer to incomplete type
drwright.c:181: error: dereferencing pointer to incomplete type
drwright.c:181: error: dereferencing pointer to incomplete type
[...]
drwright.c:836: error: dereferencing pointer to incomplete type
drwright.c:837: error: dereferencing pointer to incomplete type
make[2]: *** [drwright.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/0b/Gentoo/portage/tmp/portage/gnome-base/control-center-2.16.1/work/control-center-2.16.1/typing-break'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/0b/Gentoo/portage/tmp/portage/gnome-base/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 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1261:   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.
Comment 1 Alexander Skwar 2006-11-06 06:51:51 UTC

[15:49:24 vz6tml@dewup-ww02:~] $ emerge --info
Portage 2.1.2_rc1-r3 (default-linux/x86/2006.1, gcc-3.4.6, glibc-2.5-r0, 2.6.17-gentoo-r7.05 i686)
=================================================================
System uname: 2.6.17-gentoo-r7.05 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.12.4
Last Sync: Fri, 03 Nov 2006 07:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.5-r1, 2.0.27-r1
dev-lang/python:     2.3.5, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/Gentoo/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="        http://localhost/~vz6tml/gentoo-files http://dewup-ww02.dewup.europe.delphiauto.net/~vz6tml/gentoo-files         http://localhost/gentoo-files/ http://dewup-ww02.dewup.europe.delphiauto.net/gentoo-files/      http://localhost/~vz6tml/gentoo-files/ http://cifs-srvr1.europe.delphiauto.net/~vz6tml/Misc._Software/Gentoo/    http://alexander.skwar.name/~askwar/stuff/gentoo/                http://localhost:60081/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/  http://localhost:60080/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/    http://localhost:60082/mirror/rsync.gentoo.org/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/      ftp://pandemonium.tiscali.de/pub/gentoo/         http://localhost:60083/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/         http://distro.ibiblio.org/pub/linux/distributions/gentoo/       ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/         http://localhost:60084/ http://distfiles.gentoo.org/ "
LANG="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/Gentoo/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="/Gentoo/portage/tmp"
PORTDIR="/Gentoo/portage/tree"
PORTDIR_OVERLAY="/Gentoo/portage/local-tree/misc /Gentoo/portage/local-tree/overlays/nx/testing"
SYNC="rsync://localhost:10873/gentoo-portage"
USE="x86 7zip GAPING_SECURITY_HOLE X acl apache apache2 artworkextra async bash-completion berkdb bitmap-fonts ccache ck-server cli cracklib crypt css cups dbus dlloader dri dvd elibc_glibc encode exif fam fat firefox font-server gd gdbm gmail gmailtimestamps gnome gpm gs gtk2 hal hfs hpn i8x0 iconv id3 imagemagick imlib imlib2 input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_void isdnlog java javascript jfs jikes kde kdeenablefinal kernel_linux lame libg++ linguas_de linuxthreads-tls lm_sensors lynxkeymap lzo lzw lzw-tiff mailbox maildir matroska mmx mozsvg mp3 mpm-worker msdav mysql mysqli ncurses network nfs nis nls no-old-linux no-suexec nodrm nomusic nptl nptlonly ntlm offensive ogg oggvorbis pam pcre perl php posix postfix ppds pppd python rar rdesktop readline real recode reflection reiserfs samba sapdb screen sendfile session sftp smp sockets spl sse sse2 ssl stream subtitles symlink sysvipc tcpd tiff transcode truetype truetype-fonts udev unicode usb userland_GNU userlocales utf8 vhosts video_cards_ati video_cards_vesa video_cards_vga vim vim-pager vim-with-x vorbis webdav win32codecs xattr xfs xinetd xorg xv xvid yp zlib"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 John N. Laliberte (RETIRED) gentoo-dev 2006-11-06 07:02:02 UTC
what version of gtk+ do you have installed?
Comment 3 John N. Laliberte (RETIRED) gentoo-dev 2006-11-06 07:28:48 UTC

*** This bug has been marked as a duplicate of 153969 ***
Comment 4 Alexander Skwar 2006-11-06 07:55:08 UTC
(In reply to comment #2)
> what version of gtk+ do you have installed?
> 

gtk+-2.8.20-r1
Comment 5 John N. Laliberte (RETIRED) gentoo-dev 2006-11-06 08:03:05 UTC
the updated ebuild in portage requires gtk+-2.10, thanks.