libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -Wextra -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wno-deprecated-declarations -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wpointer-arith -Wredundant-decls -Wundef -Wwrite-strings -fno-strict-aliasing -DCONNECTOR_PREFIX=\"/usr\" -I../.. -I../../server/xntlm -DLDAP_DEPRECATED -I/usr/include -pthread -D_REENTRANT -DQT_SHARED -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libxml2 -I/usr/include/libsoup-2.4 -pthread -D_REENTRANT -DQT_SHARED -I/usr/include/evolution-data-server-3.6 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/libxml2 -I/usr/include/libsoup-2.4 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -march=core2 -O2 -pipe -fno-strict-aliasing -c e2k-freebusy.c -fPIC -DPIC -o .libs/libexchange_la-e2k-freebusy.o In file included from e2k-context.c:51:0: /usr/include/evolution-data-server-3.6/libedataserver/e-proxy.h:25:2: error: #error "Only <libedataserver/libedataserver.h> should be included directly." In file included from e2k-autoconfig.c:66:0: /usr/include/evolution-data-server-3.6/libedataserver/e-data-server-util.h:23:2: error: #error "Only <libedataserver/libedataserver.h> should be included directly." In file included from e2k-autoconfig.c:67:0: /usr/include/evolution-data-server-3.6/libedataserver/e-url.h:29:2: error: #error "Only <libedataserver/libedataserver.h> should be included directly." In file included from e2k-autoconfig.c:68:0: /usr/include/evolution-data-server-3.6/libedataserverui/e-passwords.h:24:2: error: #error "Only <libedataserverui/libedataserverui.h> should be included directly." make[4]: *** [libexchange_la-e2k-autoconfig.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [libexchange_la-e2k-context.lo] Error 1 In file included from e2k-freebusy.c:35:0: /usr/include/evolution-data-server-3.6/libedataserver/e-time-utils.h:12:2: error: #error "Only <libedataserver/libedataserver.h> should be included directly." make[4]: *** [libexchange_la-e2k-freebusy.lo] Error 1 evolution-data-server-3.6.2-r1 installed Reproducible: Always
Yes, evolution-exchange generally needs the corresponding release of evolution-data-server.
I've made the evolution, evolution-ews, evolution-exchange, evolution-groupwise, and evolution-kolab ebuilds depend on evolution-data-server with the same major/minor version. Unfortunately, there is no version of evolution-exchange compatible with evolution-data-server-3.6; the project seems to have been abandoned by upstream.
iirc there was a blog post/mailing list discussion (evo-dev) about that and evo-exchange is indeed abandonned because it only supports very old releases of exchange.
I had no idea there was something like evolution-ews. If it basically serves the same purpose and if upstream has abandoned it, maybe you can gently move people with a removal message in package.mask?