gnome-extra/evolution-data-server-2.32.3-r2 depends on dev-libs/libgdata-0.10.2, but build fails. If I go back to dev-libs/libgdata-0.8.1-r2 everything works fine. Reproducible: Always Steps to Reproduce: 1. emerge =libgdata-0.10.2 2. emerge =gnome-extra/evolution-data-server-2.32.3-r2 3. emerge =libgdata-0.8.1-r2 4. emerge =gnome-extra/evolution-data-server-2.32.3-r2 Actual Results: In the first case the build fails with the attached log. make[4]: Entering directory `/var/tmp/portage/gnome-extra/evolution-data-server-2.32.3-r2/work/evolution-data-server-2.32.3/addressbook/backends/google' CC libebookbackendgoogle_la-e-book-backend-google.lo /bin/sh ../../../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -fno-strict-aliasing -DG_LOG_DOMAIN=\"libebookbackendgoogle\" -I../../.. -I../../.. -I../../../addressbook -I../../../addressbook -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -pthread -I/usr/include/libgdata -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/db4.8 -O2 -pipe -march=native -mno-avx -c -o libebookbackendgoogle_la-e-book-backend-google.lo `test -f 'e-book-backend-google.c' || echo './'`e-book-backend-google.c e-book-backend-google.c: In function 'e_book_backend_google_remove_contacts': e-book-backend-google.c:726:3: warning: passing argument 2 of 'gdata_service_delete_entry' from incompatible pointer type /usr/include/libgdata/gdata/gdata-service.h:197:10: note: expected 'struct GDataAuthorizationDomain *' but argument is of type 'struct GDataEntry *' e-book-backend-google.c:726:3: warning: passing argument 4 of 'gdata_service_delete_entry' from incompatible pointer type /usr/include/libgdata/gdata/gdata-service.h:197:10: note: expected 'struct GCancellable *' but argument is of type 'struct GError **' e-book-backend-google.c:726:3: error: too few arguments to function 'gdata_service_delete_entry' /usr/include/libgdata/gdata/gdata-service.h:197:10: note: declared here e-book-backend-google.c: In function 'e_book_backend_google_modify_contact': e-book-backend-google.c:799:4: warning: passing argument 2 of 'gdata_service_update_entry' from incompatible pointer type /usr/include/libgdata/gdata/gdata-service.h:190:13: note: expected 'struct GDataAuthorizationDomain *' but argument is of type 'struct GDataEntry *' e-book-backend-google.c:799:4: warning: passing argument 4 of 'gdata_service_update_entry' from incompatible pointer type /usr/include/libgdata/gdata/gdata-service.h:190:13: note: expected 'struct GCancellable *' but argument is of type 'struct GError **' e-book-backend-google.c:799:4: error: too few arguments to function 'gdata_service_update_entry' /usr/include/libgdata/gdata/gdata-service.h:190:13: note: declared here e-book-backend-google.c: In function 'e_book_backend_google_authenticate_user': e-book-backend-google.c:1048:2: warning: passing argument 1 of 'gdata_contacts_service_new' from incompatible pointer type /usr/include/libgdata/gdata/services/contacts/gdata-contacts-service.h:65:23: note: expected 'struct GDataAuthorizer *' but argument is of type 'char *' e-book-backend-google.c: In function 'data_book_error_from_gdata_error': e-book-backend-google.c:1463:23: error: 'GDATA_AUTHENTICATION_ERROR' undeclared (first use in this function) e-book-backend-google.c:1463:23: note: each undeclared identifier is reported only once for each function it appears in e-book-backend-google.c:1466:8: error: 'GDATA_AUTHENTICATION_ERROR_BAD_AUTHENTICATION' undeclared (first use in this function) e-book-backend-google.c:1469:8: error: 'GDATA_AUTHENTICATION_ERROR_NOT_VERIFIED' undeclared (first use in this function) e-book-backend-google.c:1470:8: error: 'GDATA_AUTHENTICATION_ERROR_TERMS_NOT_AGREED' undeclared (first use in this function) e-book-backend-google.c:1471:8: error: 'GDATA_AUTHENTICATION_ERROR_CAPTCHA_REQUIRED' undeclared (first use in this function) e-book-backend-google.c:1472:8: error: 'GDATA_AUTHENTICATION_ERROR_ACCOUNT_DELETED' undeclared (first use in this function) e-book-backend-google.c:1473:8: error: 'GDATA_AUTHENTICATION_ERROR_ACCOUNT_DISABLED' undeclared (first use in this function) e-book-backend-google.c:1476:8: error: 'GDATA_AUTHENTICATION_ERROR_SERVICE_DISABLED' undeclared (first use in this function) make[4]: *** [libebookbackendgoogle_la-e-book-backend-google.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/addressbook/backends/google' 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/addressbook/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/addressbook' 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
This is known, you will need to use evo-3 or find a patch for old 2.32 :/
Just remove -Werror from configure.ac, same as upstream did: http://git.gnome.org/browse/evolution-data-server/commit/configure.ac?id=3c249a79110ea44e1a1e604c910e14a19c23d8e7 Sed available at https://trac.macports.org/changeset/94167
Created attachment 316147 [details, diff] evolution-data-server-2.32.3-r2-werror-fix.patch This works for me.
+ 08 Jul 2012; Pacho Ramos <pacho@gentoo.org> + -evolution-data-server-3.2.3-r1.ebuild, -evolution-data-server-3.4.1.ebuild, + -evolution-data-server-3.4.2.ebuild, evolution-data-server-2.32.3-r2.ebuild: + Doesn't work with automake-1.12 (#425296 by Pascariu Olimpiu), drop Werror + usage allowing it compile against libgdata-0.10.x (#415043 by venom01 and + Peter Alfredsen). Drop old. +