Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gnome-extra/evolution-data-server 2.32.3-r2/r3 fails compile
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message

Joined: 19 Mar 2005
Posts: 34

PostPosted: Tue Feb 19, 2013 10:36 pm    Post subject: gnome-extra/evolution-data-server 2.32.3-r2/r3 fails compile Reply with quote

Both -r2 and -r3 fail in the caldav portion of the compile. Here's the snipped from the compile failure.

Making all in caldav
make[4]: Entering directory `/var/tmp/portage/gnome-extra/evolution-data-server-2.32.3-r2/work/evolution-data-server-2.32.3/calendar/backends/caldav'
/bin/sh ../../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../..  -fno-strict-aliasing -I../../.. -I../../../calendar -I../../../calendar -DORBIT2=1 -pthread -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include   -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -DG_LOG_DOMAIN=\"e-cal-backend-caldav\" -I/usr/include/db4.8  -march=corei7 -O2 -pipe -c -o libecalbackendcaldav_la-e-cal-backend-caldav-factory.lo `test -f 'e-cal-backend-caldav-factory.c' || echo './'`e-cal-backend-caldav-factory.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -fno-strict-aliasing -I../../.. -I../../../calendar -I../../../calendar -DORBIT2=1 -pthread -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DG_LOG_DOMAIN=\"e-cal-backend-caldav\" -I/usr/include/db4.8 -march=corei7 -O2 -pipe -c e-cal-backend-caldav-factory.c  -fPIC -DPIC -o .libs/libecalbackendcaldav_la-e-cal-backend-caldav-factory.o
/bin/sh ../../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../..  -fno-strict-aliasing -I../../.. -I../../../calendar -I../../../calendar -DORBIT2=1 -pthread -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include   -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -DG_LOG_DOMAIN=\"e-cal-backend-caldav\" -I/usr/include/db4.8  -march=corei7 -O2 -pipe -c -o libecalbackendcaldav_la-e-cal-backend-caldav.lo `test -f 'e-cal-backend-caldav.c' || echo './'`e-cal-backend-caldav.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -fno-strict-aliasing -I../../.. -I../../../calendar -I../../../calendar -DORBIT2=1 -pthread -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DG_LOG_DOMAIN=\"e-cal-backend-caldav\" -I/usr/include/db4.8 -march=corei7 -O2 -pipe -c e-cal-backend-caldav.c  -fPIC -DPIC -o .libs/libecalbackendcaldav_la-e-cal-backend-caldav.o
e-cal-backend-caldav.c: In function 'check_calendar_changed_on_server':
e-cal-backend-caldav.c:1075:28: error: dereferencing pointer to incomplete type
e-cal-backend-caldav.c:1076:18: error: dereferencing pointer to incomplete type
e-cal-backend-caldav.c: In function 'caldav_server_list_objects':
e-cal-backend-caldav.c:1217:28: error: dereferencing pointer to incomplete type
e-cal-backend-caldav.c:1218:18: error: dereferencing pointer to incomplete type
e-cal-backend-caldav.c: In function 'caldav_receive_schedule_outbox_url':
e-cal-backend-caldav.c:1533:28: error: dereferencing pointer to incomplete type
e-cal-backend-caldav.c:1534:18: error: dereferencing pointer to incomplete type
e-cal-backend-caldav.c:1583:28: error: dereferencing pointer to incomplete type
e-cal-backend-caldav.c:1584:18: error: dereferencing pointer to incomplete type
make[4]: *** [libecalbackendcaldav_la-e-cal-backend-caldav.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/gnome-extra/evolution-data-server-2.32.3-r2/work/evolution-data-server-2.32.3/calendar/backends/caldav'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-extra/evolution-data-server-2.32.3-r2/work/evolution-data-server-2.32.3/calendar/backends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-extra/evolution-data-server-2.32.3-r2/work/evolution-data-server-2.32.3/calendar'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-extra/evolution-data-server-2.32.3-r2/work/evolution-data-server-2.32.3'
make: *** [all] Error 2

emerge --info '=gnome-extra/evolution-data-server-2.32.3-r2'

Portage (default/linux/amd64/13.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r3, 3.6.1-gentoo x86_64)
                        System Settings
System uname: Linux-3.6.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-3610QM_CPU_@_2.30GHz-with-gentoo-2.1
KiB Mem:     8144324 total,    128532 free
KiB Swap:   16777212 total,  16641876 free
Timestamp of tree: Tue, 19 Feb 2013 21: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.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.6.3-r1, 1.7.9-r2, 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 sunrise zugaina gamerlay x-layman x-generic
CFLAGS="-march=corei7 -O2 -pipe"
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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7 -O2 -pipe"
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"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/zugaina /var/lib/layman/gamerlay /var/lib/layman /var/lib/layman/generic"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus device-mapper dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv icu jpeg 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 readline sdl session 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 synaptics" 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="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"

Going into the build environment and ./configure --with-calendar=no works like a charm, so there's something going on with the calendar. I have no clue....
Back to top
View user's profile Send private message

Joined: 08 Jul 2003
Posts: 13
Location: Germany

PostPosted: Thu Feb 21, 2013 8:37 pm    Post subject: Reply with quote

With a hint from a german forum failed-to-emerge-gnome-extra-evolution-data-server-2-32-3-r2 an unstable version of libxml2 seems to be the culprit.

I just used the stable libxml2 ebuild and everything went fine.


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

Calculating dependencies... done!
[ebuild     UD ] dev-libs/libxml2-2.8.0-r3:2 [2.9.0-r2:2]
[ebuild   R    ] gnome-extra/evolution-data-server-2.32.3-r2 
[ebuild   R    ] mail-client/evolution-2.32.3-r1:2.0

With a look at e-cal-backend-caldav.c:1075 there is a xml structure dereferencing operation which mysteriously doesn't work with the unstable libxml2 version. :?

Perhaps it's a good idea to
afterwards. It's in the gentoolkit package.

I guess this is solved now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum