Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459546 - mail-client/evolution-2.32.3-r1 fails to emerge after upgrade to dev-libs/libxml2-2.9.0-r2
Summary: mail-client/evolution-2.32.3-r1 fails to emerge after upgrade to dev-libs/lib...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2013-02-27 15:18 UTC by jfernand
Modified: 2013-03-03 14:31 UTC (History)
3 users (show)

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


Attachments
evolution-2.32.3-libxml2-2.9.patch (evolution-2.32.3-libxml2-2.9.patch,1.53 KB, patch)
2013-03-02 12:20 UTC, Pacho Ramos
Details | Diff
Completes changes hinted in previous patch (evolution-2.32.3-libxml2-fix.patch,1.61 KB, patch)
2013-03-02 20:24 UTC, jfernand
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jfernand 2013-02-27 15:18:50 UTC
After upgrading from dev-libs/libxml2-2.8.0-r3 to dev-libs/libxml2-2.9.0-r2
mail-client/evolution-2.32.3-r1 fails to emerge with a gcc error in file caldav-browse-server.c

This is x86_64 but same thing happens with x86.

Reproducible: Always

Steps to Reproduce:
1. emerge evolution-2.32.3-r1 with libxml2-2.9.0-r2 installed
Actual Results:  
emerge concludes with the following error:

caldav-browse-server.c: In function 'send_xml_message':
caldav-browse-server.c:982:101: error: dereferencing pointer to incomplete type
caldav-browse-server.c:982:123: error: dereferencing pointer to incomplete type
make[3]: *** [liborg_gnome_evolution_caldav_la-caldav-browse-server.lo] Error 1

Expected Results:  
Successful emerge of evolution

If libxlm2 is reverted to the 2.8.0-r3, evolution emerges successfully.

Just in case, the installed data-server is gnome-extra/evolution-data-server-2.32.3-r3
Comment 1 jfernand 2013-02-27 15:27:23 UTC
Portage 2.1.11.50 (default/linux/amd64/13.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r3, 3.7.9-gentoo x86_64)
=================================================================
System uname: Linux-3.7.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.1
KiB Mem:     8084188 total,   2448072 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of tree: Wed, 27 Feb 2013 14:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9 -l8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="R X a52 aac acl acpi alsa amd64 avahi berkdb blas branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emacs emboss encode evo exif fam ffmpeg firefox flac fontconfig foomaticdb fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpg gpgme gpm gstreamer gtk hpcups iconv imap ipv6 jpeg lapack latex lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline samba sdl session slp socialweb spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Brianna Royles 2013-03-02 11:45:48 UTC
I am having the same issue however if I downgrade libxml2 it still does not compile.

-e 's|\@LOCALEDIR\@|/usr/share/locale|' org-gnome-evolution-caldav.eplug.in > org-gnome-evolution-caldav.eplug
caldav-browse-server.c: In function 'send_xml_message':
caldav-browse-server.c:982:101: error: dereferencing pointer to incomplete type
caldav-browse-server.c:982:123: error: dereferencing pointer to incomplete type
make[3]: *** [liborg_gnome_evolution_caldav_la-caldav-browse-server.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
rm org-gnome-evolution-caldav.eplug.in
make[3]: Leaving directory `/var/tmp/portage/mail-client/evolution-2.32.3-r1/work/evolution-2.32.3/plugins/caldav'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/mail-client/evolution-2.32.3-r1/work/evolution-2.32.3/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mail-client/evolution-2.32.3-r1/work/evolution-2.32.3'
make: *** [all] Error 2
 * ERROR: mail-client/evolution-2.32.3-r1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=mail-client/evolution-2.32.3-r1'`,
 * the complete build log and the output of `emerge -pqv '=mail-client/evolution-2.32.3-r1'`.
 * The complete build log is located at '/var/tmp/portage/mail-client/evolution-2.32.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-client/evolution-2.32.3-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/mail-client/evolution-2.32.3-r1/work/evolution-2.32.3'
 * S: '/var/tmp/portage/mail-client/evolution-2.32.3-r1/work/evolution-2.32.3'

 * Messages for package mail-client/evolution-2.32.3-r1:

 * ERROR: mail-client/evolution-2.32.3-r1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=mail-client/evolution-2.32.3-r1'`,
 * the complete build log and the output of `emerge -pqv '=mail-client/evolution-2.32.3-r1'`.
 * The complete build log is located at '/var/tmp/portage/mail-client/evolution-2.32.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-client/evolution-2.32.3-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/mail-client/evolution-2.32.3-r1/work/evolution-2.32.3'
 * S: '/var/tmp/portage/mail-client/evolution-2.32.3-r1/work/evolution-2.32.3'



Portage 2.1.11.52 (default/linux/amd64/13.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r3, 3.7.10-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.7.10-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.1
KiB Mem:    16401744 total,    106120 free
KiB Swap:   62498812 total,  62498812 free
Timestamp of tree: Sat, 02 Mar 2013 08:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe  -march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mavx -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7-avx"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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 -pipe  -march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mavx -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7-avx"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=8 --load-average=8 --quiet"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aacplus aacs acl acpi addressbook airplay alac alsa amd64 antialiasing apache2 applet archive artist-screen artworkextra audacious audio audioscrobbler automount avcodec avformat background backgrounds berkdb bittorrent bluetooth bluray bookmarks boost branding btrfs bugzilla bzip2 cairo cal calendar cdb cdda cddb cdparanoia cdr cdrdao cdrom cheese cjk clamav clamd cleartype cli colord consolekit cover cracklib cron crypt css csv cue cups curl cvs cxx daap dbus dc1394 dia digitalradio dmraid dri dts dvd dvdarchive dvdnav dvdr ebook eds emboss encode evo exif extras faac faad fam fancy fastscroll fat ffmpeg fftw firefox firefox-bookmarks firefox3 fits flac flash flickr fluidsynth fm fonts foomaticdb fortran fortune fuse g15 g3dvl gd gdbm gdm gedit gif git github glade glchess glib gmail gnome gnome-keyring gnome-online-accounts gnome-shell google google-gadgets gphoto2 gpm graphics graphicsmagick groupwise growl grub gstreamer gtalk gtk gtk3 gzip h224 hddtemp highlight hires-icons html http hunspell hwdb ical icons iconsets iconv icq icu id3 id3tag ieee1394 image imagemagick imlib indi inotify introspection ios iostats iplayer ipod ipv6 irc java jemalloc jfs jpeg lame lastfm lastfmfingerprint lastfmradio latex lcms ldap libnotify libsamplerate libtar libvisual lm_sensors logrotate lua lua-cairo lua-imlib lyrics lyrics-screen lzma lzo mad maps mdadm midi mirage mixer mmx mng modules mono mp3 mp3rtp mp3tunes mp4 mpd mpeg mplayer msn mtp mudflap multilib multimedia music musicbrainz mysql nautilus ncurses new-login nfsv3 nls nmap normalize nptl nsplugin ntfs ntp ntpd nvcontrol nvidia offensive ogg ogg123 opengl openmp openssl oscar pam pango panorama pcre pdf pdf-writer pdfimport perl php player playlist plugins png podcast policykit ppds pulseaudio python qt4 rar raw rdesktop readline reiserfs replaygain rss rtf ruby samba scrobbler sdl sensord sensors session skins skype smart smbclient socialweb sound sounds soup spell sqlite sse sse2 sse3 sse4 sse4_1 sse4a ssh ssl ssse3 startup-notification subversion suid svg syslog taglib tcpd telepathy theme_avp theme_deepblue theme_deeppurple theme_poetter themedesigner themes theora threads thumbnail thumbnails tiff truetype tslib udev udisks unicode upnp upower usb vaapi vdpau video vlc vmware-tools vmware_guest_freebsd vmware_guest_linux vmware_guest_netware vmware_guest_solaris vmware_guest_winPre2k vmware_guest_windows vorbis wallpapers wav weather weather-metar weather-xoap webcam webdav webkit wireshark wma wmf wxwidgets x264 xattr xcb xcomposite xfs xine xinerama xml xplanet xscreensaver xv xvid yahoo youtube zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport wiki-publisher" LINGUAS="en_GB en en_US" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Pacho Ramos gentoo-dev 2013-03-02 12:03:52 UTC
Upstream uses this:
http://git.gnome.org/browse/evolution/commit/?id=ff88d1f11176233438cace72da46a54c479495ab

But it's for evo-3 :S
Comment 4 Pacho Ramos gentoo-dev 2013-03-02 12:20:45 UTC
Created attachment 340746 [details, diff]
evolution-2.32.3-libxml2-2.9.patch

Failed try to backport :(
Comment 5 jfernand 2013-03-02 20:24:58 UTC
Created attachment 340794 [details, diff]
Completes changes hinted in previous patch

The pacth completes the changes to adapt to new libxml2-2.9 syntax.
Comment 6 jfernand 2013-03-02 20:28:08 UTC
(In reply to comment #5)
> Created attachment 340794 [details, diff] [details, diff]
> Completes changes hinted in previous patch
> 
> The pacth completes the changes to adapt to new libxml2-2.9 syntax.

Forgot to mention: the patched program compiles and seems to run properly, but won't be able to test fully until monday.
Comment 7 Pacho Ramos gentoo-dev 2013-03-02 20:41:35 UTC
Thanks, I am already testing evolution built with it, will wait a bit for others to check and commit
Comment 8 Pacho Ramos gentoo-dev 2013-03-03 14:31:23 UTC
+  03 Mar 2013; Pacho Ramos <pacho@gentoo.org>
+  +files/evolution-2.32.3-libxml2-2.9.patch, evolution-2.32.3-r1.ebuild:
+  Fix libxml2-2.9 compat (#459546 by jfernand)
+