Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310371 - gnome-extra/gnome-do-plugins-0.8.2 USE=evo compile error: Evolution.ContactAttribute.Detail.set: Structs cannot contain protected members
Summary: gnome-extra/gnome-do-plugins-0.8.2 USE=evo compile error: Evolution.ContactAt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Hans de Graaff
URL: http://bazaar.launchpad.net/~do-plugi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-20 13:18 UTC by Daniel Troeder
Modified: 2010-04-05 19:30 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 Daniel Troeder 2010-03-20 13:18:52 UTC
If USE=evo compile failes with:

Compiling Evolution.dll...
warning CS2002: Source file `./src/AddressContactDetailItem.cs' specified multiple times
./src/ContactItemSource.cs(35,55): error CS0666: `Evolution.ContactAttribute.Detail.set': Structs cannot contain protected members
./src/ContactItemSource.cs(36,52): error CS0666: `Evolution.ContactAttribute.Key.set': Structs cannot contain protected members
Compilation failed: 2 error(s), 1 warnings

With USE=-evo compiles good.

Reproducible: Always

Steps to Reproduce:
USE=evo emerge -1 =gnome-extra/gnome-do-plugins-0.8.2
Actual Results:  
build failes

Expected Results:  
successfull build resulting in gnome-do supporting address-lookups using evolution-data-server 

maya ~ # emerge --info =gnome-extra/gnome-do-plugins-0.8.2
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11-r1, 2.6.33-zen1.maya.radeon.kms x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.33-zen1.maya.radeon.kms-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 20 Mar 2010 11:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.4-r1
dev-python/pycrypto: 2.1.0_beta1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.3.4, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -mmmx -msse -msse2 -msse3 -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -mmmx -msse -msse2 -msse3 -msse4.1"
DISTDIR="/gentoo/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/gentoo/pkg"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/gentoo/tmp/build/working"
PORTDIR="/gentoo/portage+edb+pkg/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/Spring /var/lib/layman/kde /var/lib/layman/x11 /gentoo/overlays/gentoo-main/daniels_overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apache2 applet archive asyncns autoipd avahi bash-completion berkdb bluetooth branding brasero bzip2 cairo caps cdaudio cdda cddax cddb cdio cdr cdrkit cli config-file connection-sharing consolekit cracklib crypt css cups curl custom-optimization cxx daap dbus device-mapper dga dhclient dhcp divx dns dri dts dv dvb dvd dvdr dvdread dvi eds enca encode exif expat faac faad fam fame fat ffmpeg flac fontconfig fts3 fuse galago gcj gconf gd gdbm gdu gedit gif gimp git glibc-omitfp gmedia gnome gnome-keyring gnutls gphoto2 gpm gs gtk gzip h323 hal hddtemp http-forms http-server iconv icu id3tag ieee1394 imagemagick imlib inotify ipv6 irc jabber java joystick jpeg kdrive kernel-patch kpathsea lame laptop lcms ldap libass libcaca libnotify lm_sensors lzma lzo mad maps matroska mdnsresponder-compat milter mjpeg mmap mmx mmxext mng modules mp3 mpeg mplayer mudflap multilib musicbrainz nautilus ncurses net network networkmanager nfs nfsv3 nfsv4 nls nntp nptl nptlonly nsplugin nss ntfs ntp nuv offensive ogg opengl openmp optimization pam pch pcre pda pdf perl pipechan plotutils png postproc postscript ppds pppd pth pulseaudio python qemu qemu-ifup qos qt3support qt4 quicktime quotas ramfs readline realmedia realtime reflection reiserfs remote rtsp samba sasl scanner sdl secure-delete session shout sip smp spell spl sqlite sse sse2 sse3 sse4.1 ssl ssse3 startup-notification stream subversion svg sysfs system-sqlite taglib tagwriting tcpd theora threads tiff truetype twolame udev unicode upnp usb uuid v4l2 vcd vcdinfo vcdx vorbis wav wmf wmp wps x264 xattr xfs xinerama xml xmlrpc xmp xorg xrandr xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse aiptek synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

gnome-extra/gnome-do-plugins-0.8.2 was built with the following:
USE="(multilib) -banshee -debug -evo" 


dev-lang/mono  2.6.3 (-minimal -moonlight -xen)
dev-dotnet/mono-addins 0.4-r1 (gtk)
gnome-extra/gnome-do 0.8.3.1 (-debug)
Comment 1 Patrick Lerner 2010-03-25 21:41:26 UTC
I second this bug. I have the very same issue over here.
Comment 2 Bertrand Piétu 2010-03-26 16:04:49 UTC
Same here, upgrading to 0.8.2.1 doesn't change anything. The problem is evolution-sharp I think, so the evolution plugins is totally broken.
But there is a problem with the ebuild, disabling the evo useflags doesn't do anything.
An ebuild for 0.8.2.1 disabling completely the evolution plugins works for me.
Comment 3 Hans de Graaff gentoo-dev Security 2010-03-27 07:41:33 UTC
Which version of evolution-sharp do you have installed? I get a clean compile with dev-dotnet/evolution-sharp-0.21.1 installed.

Comment 4 Daniel Troeder 2010-03-27 23:52:50 UTC
I have dev-dotnet/evolution-sharp-0.21.1 installed.

Just to make sure, I recompiled it and its dependencies:
dev-lang/mono-2.6.3  USE="-minimal -moonlight -xen"
gnome-extra/evolution-data-server-2.28.3.1  USE="gnome-keyring ipv6 ldap ssl -debug -doc -kerberos -krb4"
dev-dotnet/glib-sharp-2.12.9  USE="-debug"
dev-dotnet/gtk-sharp-gapi-2.12.9  USE="-debug"
dev-dotnet/evolution-sharp-0.21.1

and then recompiled
USE=evo emerge -1 =gnome-extra/gnome-do-plugins-0.8.2

which resulted in the same error.
Comment 5 Hans de Graaff gentoo-dev Security 2010-04-02 14:30:57 UTC
This appears to be a Mono 2.6 specific issue that has been fixed upstream. This should now be fixed in gnome-do-plugins-0.8.2-r1.

Comment 6 Daniel Troeder 2010-04-05 19:30:01 UTC
Fix confirmed. Compiles cleanly. Plugin is still broken for me, but that's another issue :)