After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 759716 - [regression] build failure in on/work/main.d/evolution-git/libemail-engine: mail-ops.c:935:3: error: called object is not a function or function pointer m->status (m->driver, status, pc, str, m->status_data);
[regression] build failure in on/work/main.d/evolution-git/libemail-engine: m...
Status: RESOLVED DUPLICATE of bug 759665
Product: evolution
Classification: Applications
Component: general
3.19.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2015-12-21 04:25 UTC by David Ronis
Modified: 2016-01-11 18:12 UTC
See Also:
GNOME target: ---
GNOME version: 3.19/3.20



Description David Ronis 2015-12-21 04:25:08 UTC
I'm trying to do a full  rebuild of evolution and it's dependencies (using the git-master, on an 64 bit machine running slackware 14.4+patches).  The build fails with:


on/work/main.d/evolution-git/libemail-engine'
  CC       libemail_engine_la-mail-ops.lo
mail-ops.c: In function ‘mail_fetch_mail’:
mail-ops.c:526:52: warning: passing argument 2 of ‘camel_filter_driver_set_status_func’ from incompatible pointer type [-Wincompatible-pointer-types]
   camel_filter_driver_set_status_func (fm->driver, status, status_data);
                                                    ^
In file included from /opt/garnome-3.19/include/evolution-data-server/camel/camel-session.h:29:0,
                 from /opt/garnome-3.19/include/evolution-data-server/camel/camel-cipher-context.h:28,
                 from /opt/garnome-3.19/include/evolution-data-server/camel/camel.h:30,
                 from /opt/garnome-3.19/include/evolution-data-server/libedataserver/e-source-camel.h:25,
                 from /opt/garnome-3.19/include/evolution-data-server/libedataserver/libedataserver.h:52,
                 from mail-ops.c:36:
/opt/garnome-3.19/include/evolution-data-server/camel/camel-filter-driver.h:92:6: note: expected ‘CamelFilterStatusFunc {aka void (*)(struct _CamelFilterDriver *, enum camel_filter_status_t,  int,  const char *, void *)}’ but argument is of type ‘void (**)(CamelFilterDriver *, enum camel_filter_status_t,  gint,  const gchar *, void *) {aka void (**)(struct _CamelFilterDriver *, enum camel_filter_status_t,  int,  const char *, void *)}’
 void camel_filter_driver_set_status_func      (CamelFilterDriver *d, CamelFilterStatusFunc func, gpointer data);
      ^
mail-ops.c: In function ‘report_status’:
on/work/main.d/evolution-git/libemail-engine'
  CC       libemail_engine_la-mail-ops.lo
mail-ops.c: In function ‘mail_fetch_mail’:
mail-ops.c:526:52: warning: passing argument 2 of ‘camel_filter_driver_set_status_func’ from incompatible pointer type [-Wincompatible-pointer-types]
   camel_filter_driver_set_status_func (fm->driver, status, status_data);
                                                    ^
In file included from /opt/garnome-3.19/include/evolution-data-server/camel/camel-session.h:29:0,
                 from /opt/garnome-3.19/include/evolution-data-server/camel/camel-cipher-context.h:28,
                 from /opt/garnome-3.19/include/evolution-data-server/camel/camel.h:30,
                 from /opt/garnome-3.19/include/evolution-data-server/libedataserver/e-source-camel.h:25,
                 from /opt/garnome-3.19/include/evolution-data-server/libedataserver/libedataserver.h:52,
                 from mail-ops.c:36:
/opt/garnome-3.19/include/evolution-data-server/camel/camel-filter-driver.h:92:6: note: expected ‘CamelFilterStatusFunc {aka void (*)(struct _CamelFilterDriver *, enum camel_filter_status_t,  int,  const char *, void *)}’ but argument is of type ‘void (**)(CamelFilterDriver *, enum camel_filter_status_t,  gint,  const gchar *, void *) {aka void (**)(struct _CamelFilterDriver *, enum camel_filter_status_t,  int,  const char *, void *)}’
 void camel_filter_driver_set_status_func      (CamelFilterDriver *d, CamelFilterStatusFunc func, gpointer data);
      ^
mail-ops.c: In function ‘report_status’:
mail-ops.c:935:3: error: called object is not a function or function pointer
   m->status (m->driver, status, pc, str, m->status_data);
   ^
make[4]: *** [libemail_engine_la-mail-ops.lo] Error 1

   m->status (m->driver, status, pc, str, m->status_data);
   ^
make[4]: *** [libemail_engine_la-mail-ops.lo] Error 1
Comment 1 Milan Crha 2016-01-11 18:12:59 UTC
Thanks for a bug report. This had been reported as  bug #759665, thus I mark this as a duplicate of it.

*** This bug has been marked as a duplicate of bug 759665 ***