Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415043 - gnome-extra/evolution-data-server-2.32.3-r2: build fail when using dev-libs/libgdata-0.10.2
Summary: gnome-extra/evolution-data-server-2.32.3-r2: build fail when using dev-libs/l...
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: 2012-05-07 16:55 UTC by Alessandro Di Federico
Modified: 2012-07-08 11:30 UTC (History)
1 user (show)

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


Attachments
evolution-data-server-2.32.3-r2-werror-fix.patch (evolution-data-server-2.32.3-r2-werror-fix.patch,693 bytes, patch)
2012-06-24 13:05 UTC, crabbed halo ablution
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Di Federico 2012-05-07 16:55:27 UTC
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
Comment 1 Pacho Ramos gentoo-dev 2012-05-07 17:35:54 UTC
This is known, you will need to use evo-3 or find a patch for old 2.32 :/
Comment 2 crabbed halo ablution 2012-06-20 12:48:54 UTC
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
Comment 3 crabbed halo ablution 2012-06-24 13:05:26 UTC
Created attachment 316147 [details, diff]
evolution-data-server-2.32.3-r2-werror-fix.patch

This works for me.
Comment 4 Pacho Ramos gentoo-dev 2012-07-08 11:30:35 UTC
+  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.
+