Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151907 - control-center-2.14.2 fails to emerge
Summary: control-center-2.14.2 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-18 22:39 UTC by Dodo
Modified: 2006-11-11 12:05 UTC (History)
0 users

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


Attachments
fixed gnome-about-me.c to work with >=evolution-data-server-1.8 (gnome-about-me.c,21.80 KB, text/plain)
2006-11-11 12:05 UTC, Albert Zeyer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dodo 2006-10-18 22:39:09 UTC
This is the error I get while trying to emerge control-center-2.14.2

$ sudo emerge -avD control-center
...
...
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../capplets/common -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -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/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notification-1.0   -I../../ -DG_LOG_DOMAIN="\"-properties\"" -DORBIT2=1 -pthread -I/usr/include/evolution-data-server-1.8 -I/usr/include/libbonobo-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libxml2      -O2 -march=athlon-xp -fomit-frame-pointer -pipe -Wall -MT gnome-about-me.o -MD -MP -MF ".deps/gnome-about-me.Tpo" -c -o gnome-about-me.o gnome-about-me.c; \
        then mv -f ".deps/gnome-about-me.Tpo" ".deps/gnome-about-me.Po"; else rm -f ".deps/gnome-about-me.Tpo"; exit 1; fi
gnome-about-me.c: In function 'about_me_load_string_field':
gnome-about-me.c:388: warning: assignment discards qualifiers from pointer target type
gnome-about-me.c: In function 'about_me_load_photo':
gnome-about-me.c:422: error: 'EContactPhoto' has no member named 'length'
gnome-about-me.c:422: error: incompatible type for argument 2 of 'e_image_chooser_set_image_data'
gnome-about-me.c: In function 'about_me_update_photo':
gnome-about-me.c:493: error: incompatible types in assignment
gnome-about-me.c:494: error: 'EContactPhoto' has no member named 'length'
gnome-about-me.c:501: error: 'EContactPhoto' has no member named 'length'
gnome-about-me.c:501: error: incompatible type for argument 1 of 'fwrite'
make[3]: *** [gnome-about-me.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-base/control-center-2.14.2/work/control-center-2.14.2/capplets/about-me'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/control-center-2.14.2/work/control-center-2.14.2/capplets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/control-center-2.14.2/work/control-center-2.14.2'
make: *** [all] Error 2

!!! ERROR: gnome-base/control-center-2.14.2 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.

emerge --info below:
$ sudo emerge --info
Portage 2.1.2_pre3-r4 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(tm) XP Processor 3000+
Gentoo Base System version 1.12.5
Last Sync: Wed, 18 Oct 2006 08:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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-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.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X alsa apache2 apm bash-completion berkdb bitmap-fonts blas cairo cdparanoia cdr cli cracklib crypt cups dbus divx4linux dlloader dri dts dvd dvdread eds elibc_glibc emboss encode ffmpeg fftw firefox flac foomaticdb fortran gdbm gif gimpprint gnome gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml hal imlib input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog java jikes jpeg kernel_linux lapack libg++ libwww mad mikmod mmx mmxext motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pcmcia pcre pdf pdflib perl plotutils png pnp ppds pppd python qt3 qt4 quicktime readline real reflection sdl session spell spl sse sse2 ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_fbdev video_cards_nvidia video_cards_vesa vorbis win32codecs xml xmms xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-10-19 01:18:35 UTC
please do not mix evolution-data-server-1.8 with gnome-2.14.
control-center is failing because of a change in EContactPhoto structure.
Comment 2 Dodo 2006-10-21 21:12:56 UTC
Thanks for the tip. I downgraded to evolution-data-server-1.6.2 and now control-center emerges fine. 

(In reply to comment #1)
> please do not mix evolution-data-server-1.8 with gnome-2.14.
> control-center is failing because of a change in EContactPhoto structure.
> 

Comment 3 Albert Zeyer 2006-11-11 12:05:32 UTC
Created attachment 101700 [details]
fixed gnome-about-me.c to work with >=evolution-data-server-1.8

I fixed the code to work fine with >=evolution-data-server-1.8.

This includes the following errors:
gnome-about-me.c: In function 'about_me_load_photo':
gnome-about-me.c:422: error: 'EContactPhoto' has no member named 'length'
gnome-about-me.c:422: error: incompatible type for argument 2 of 'e_image_chooser_set_image_data'
gnome-about-me.c: In function 'about_me_update_photo':
gnome-about-me.c:493: error: incompatible types in assignment
gnome-about-me.c:494: error: 'EContactPhoto' has no member named 'length'
gnome-about-me.c:501: error: 'EContactPhoto' has no member named 'length'
gnome-about-me.c:501: error: incompatible type for argument 1 of 'fwrite'

It's exactly the file: /capplets/about-me/gnome-about-me.c.

With this fixes, the pakage compiles fine on my PC.

But this fixes are incompatible with the old <=evolution-data-server-1.6.