Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348385 - mail-client/evolution-2.32.1 fails to build with profile USE flag
Summary: mail-client/evolution-2.32.1 fails to build with profile USE flag
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: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: gnome2.32
  Show dependency tree
 
Reported: 2010-12-10 21:06 UTC by Graham Murray
Modified: 2010-12-21 22:06 UTC (History)
2 users (show)

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


Attachments
Build log (mail-client:evolution-2.32.1:20101210-192623.log,56.71 KB, text/plain)
2010-12-10 21:06 UTC, Graham Murray
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Murray 2010-12-10 21:06:07 UTC
LC_ALL=C /usr/bin/intltool-merge -s -u -c ../po/.intltool-merge-cache ../po evolution-mail.schemas.in evolution-mail.schemas
Found cached translation database
Merging translations into evolution-mail.schemas.
message-list.c: In function ‘regen_list_exec’:
message-list.c:4433:48: error: ‘CamelFolder’ has no member named ‘full_name’
message-list.c:4512:51: error: ‘CamelFolder’ has no member named ‘full_name’
message-list.c: In function ‘regen_list_done’:
message-list.c:4570:50: error: ‘CamelFolder’ has no member named ‘full_name’
message-list.c: In function ‘regen_list_free’:
message-list.c:4677:52: error: ‘CamelFolder’ has no member named ‘full_name’
message-list.c: In function ‘ml_regen_timeout’:
message-list.c:4718:51: error: ‘CamelFolder’ has no member named ‘full_name’
make[4]: *** [libevolution_mail_la-message-list.lo] Error 1


emerge --info =mail-client/evolution-2.32.1
Portage 2.2.0_alpha7 (default/linux/x86/10.0/desktop, gcc-4.5.1, glibc-2.12.1-r3, 2.6.37-rc5-00062-g6313e3c i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.37-rc5-00062-g6313e3c-i686-Intel-R-_Core-TM-2_CPU_6700_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 10 Dec 2010 17:45:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r2
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.6.3-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.3.5, 4.4.5, 4.5.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo perl-experimental sunrise x11 sping kde newton_local
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -mtune=native -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs buildsyspkg distlocks fixlafiles fixpackages installsources news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.first-world.info/ http://de-mirror.org/distro/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.tiscali.nl/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en fr_FR fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/perl-experimental /var/lib/layman/sunrise /var/lib/layman/x11 /var/lib/layman/sping /var/lib/layman/kde /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa apache2 audiofile avi bash-completion berkdb bluetooth bonobo branding browserplugin bzip2 bzlib cairo caps cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt cups curl cvs cxx dbus directfb doc dri dts dv dvd dvdr dvdread eds emacs emboss encode esd ethereal examples exif expat fam fbcon ffmpeg fftw flac fontconfig foomaticdb fortran ftp gcj gd gdbm geoip gif glut gmp gnome gnome-keyring gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal htmlhandbook iconv icq icu idn imagemagick imlib ipv6 jabber jack java javascript jbig jce jpeg jpeg2k junit kde kdehiddenvisibility ladspa latex lcms ldap leim libgda libnotify libsamplerate libwww lm_sensors logrotate lua mad matroska mbox mikmod milter mime mmap mmx mng modplug modules mono mozilla mp3 mp4 mpeg mpi mplayer msn mtp mudflap musepack mysql ncurses nls nptl nptlonly nsplugin odbc offensive ogg oggvorbis openal opengl openmp oscar oss pam pango pcntl pcre pdf perl php plasma png policykit postgres ppds pppd profile pulseaudio python qt3support qt4 quicktime raw readline recode ruby samba sasl sdl semantic-desktop session sharedmem sndfile snmp soap sockets sox speex spell sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs sysvipc tcl tcltk tcpd theora threads tiff tk truetype unicode usb v4l v4l2 vim-syntax vorbis wavpack win32codecs wmf wxwindows x264 x86 xattr xcb xcomposite xface xft xine xml xml2 xorg xulrunner xv xvid yahoo 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" APACHE2_MPMS="worker" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en fr_FR fr" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev vga v4l r300" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Graham Murray 2010-12-10 21:06:50 UTC
Created attachment 256860 [details]
Build log
Comment 2 Pacho Ramos gentoo-dev 2010-12-10 21:20:57 UTC
Please try to build it using USE="-doc"
Comment 3 Graham Murray 2010-12-10 22:18:46 UTC
(In reply to comment #2)
> Please try to build it using USE="-doc"
> 

I am afraid that it is still fails in the same place.

emerge -pv evolution

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] mail-client/evolution-2.32.1 [2.30.3] USE="crypt gstreamer ldap profile python ssl (-clutter) -connman% -doc* -kerberos -networkmanager (-nntp%*) (-pda%)" 0 kB
Comment 4 David J Cozatt 2010-12-11 20:13:42 UTC
Suggest trying with these USE flags as they do work for me
 amd64 crypt elibc_glibc kernel_linux multilib python ssl userland_GNU

if successful add flags then add till it fails again.
Comment 5 David J Cozatt 2010-12-11 20:28:52 UTC
As regards comment #4 obviously amd64 and multilib are of no use to you

also diffed my log and his shows he errors out using his current translation database instead of generating a  new one.

949,950d952
<   CCLD   evolution-addressbook-export
< /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/../../../../x86_64-pc-linux-gnu/bin/ld: warning:
 libedataserver-1.2.so.13, needed by /usr/lib64/libcamel-1.2.so.14, may conflict with lib
edataserver-1.2.so.14
954a957
>   CCLD   evolution-addressbook-export
1049d1051
<   CCLD   libevolution-mail.la
1051,1052c1053
< Found too-old cached translation database
< Generating and caching the translation database
---
> Found cached translation database
1053a1055,1065
Comment 6 Pacho Ramos gentoo-dev 2010-12-11 22:34:19 UTC
Maybe you forgot to run needed revdep-rebuild runs and removal of old libs provided by evolution-data-server, please review evolution-data-server elog messages (probably still present in your /var/log/portage/elog/summary.log) since I am sure running revdep-rebuild for multiple old libraries is needed (you can check it in 2.32 evolution-data-server ebuild)

Good luck
Comment 7 Brant Gurganus 2010-12-11 22:53:57 UTC
It's not a revdep-rebuild issue. I've run revdep-rebuild several times since first encountering this issue. It's not a linkage issue it runs into, it's an included file issue where whatever file it is including does not indicate the struct member the code is trying to use.
Comment 8 David J Cozatt 2010-12-12 01:16:22 UTC
after a successful merge by just letting this thing build in a set of packages and then noting the revdep-rebuild and rm recommends for evolution-data-server and running them the package will fail to build.

I am currently rebuilding evolution-data-server and then will rebuild evolution hoping this fixes it as I thought I encountered this once before. If you have a faster machine you might try it. Will report success/fail.
Comment 9 David J Cozatt 2010-12-12 02:53:15 UTC
running the commands recommended from the out put of elogv were "revdep-rebuild --library 'libname.soname'  " for each of these then
rm '/usr/lib64/libcamel-provider-1.2.so.14'
rm '/usr/lib64/libedata-cal-1.2.so.7'
rm '/usr/lib64/libgdata-1.2.so'
rm '/usr/lib64/libgdata-google-1.2.so'
rm '/usr/lib64/libcamel-1.2.so.14' 
rm '/usr/lib64/libedata-book-1.2.so.2'
rm '/usr/lib64/libebook-1.2.so.9' 
rm '/usr/lib64/libedataserver-1.2.so.13'
rm '/usr/lib64/libecal-1.2.so.7'
rm '/usr/lib64/libedataserverui-1.2.so.8'     

Did all the above rebuilt evolution-data-server then mail-client/evolutions. Successful Going to do the evolution-webcal just in case.

Note- I was using 2.30.3 just allowing all the old libraries which happens in an emege world on mass updates would leave all this in by default if the user did not read the output of elogv and took no action since the install succeeds without a correct upgrade to evolution-data-server.
Comment 10 Graham Murray 2010-12-12 09:46:48 UTC
(In reply to comment #7)
> It's not a revdep-rebuild issue. I've run revdep-rebuild several times since
> first encountering this issue. It's not a linkage issue it runs into, it's an
> included file issue where whatever file it is including does not indicate the
> struct member the code is trying to use.
> 

I have unpacked the appropriate versions and it looks to me as though it will build correctly against /usr/include/evolution-data-server-2.30/camel/camel-folder.h, but not against /usr/include/evolution-data-server-2.32/camel/camel-folder.h

The reason is that in 2.32, the full_name member has been moved from the 'public' CamelFolder structure (defined in the header file) into a 'private' structure defined in the camel-folder.c file and only accessible via 'helper' functions.

So, I suspect that the people for whom the build works have the evolution-data-server-2.30 header files, rather than the 2.32 ones, in the include path.
Comment 11 Pacho Ramos gentoo-dev 2010-12-12 15:58:00 UTC
(In reply to comment #10)
> So, I suspect that the people for whom the build works have the
> evolution-data-server-2.30 header files, rather than the 2.32 ones, in the
> include path.
> 

It compiles ok here with evolution-data-server-2.32.1 installed (but I am running a mostly stable system with, for example, stable gcc and so)
Comment 12 Brant Gurganus 2010-12-14 20:27:56 UTC
For mysterious reasons, evolution built for me today.
Comment 13 Marcin Deranek 2010-12-17 11:12:44 UTC
For me (~amd64) it was a matter of disabling 'profile' USE flag.
Comment 14 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-12-17 12:53:47 UTC
We should probably drop this use flag, it has little interest for common usage in gentoo.
Comment 15 Brant Gurganus 2010-12-17 16:38:39 UTC
Disabling the profile USE flag must have been what did it for me as well.

However, I'd like to urge that it be reported upstream so it can be fixed and only temporarily removed from USE flags while the underlying issue is addressed.

Just removing the USE flag is not a correct solution to the underlying issue.
Comment 16 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-12-17 17:07:19 UTC
this is not the point. The point for removing the use flag is that it is not useful for gentoo. It should probably never have been added to the ebuild to begin with.
Comment 17 Pacho Ramos gentoo-dev 2010-12-19 12:04:56 UTC
Also, per upstream comment in https://bugzilla.gnome.org/show_bug.cgi?id=637493, looks like profiling plugin is deprecated. I will disable it in the next bump
Comment 18 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-12-21 22:06:39 UTC
+  21 Dec 2010; Gilles Dartiguelongue <eva@gentoo.org> evolution-2.30.3.ebuild,
+  evolution-2.32.1.ebuild:
+  Drop profile use flag, could not find a good use for it and upstream is
+  thinking about dropping it anyway, bug #348385.
+
Dropped, thanks for reporting.