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 677558 - Build process error in kolab-util-camel.lo
Build process error in kolab-util-camel.lo
Status: RESOLVED NOTABUG
Product: evolution-kolab
Classification: Other
Component: build
3.4.x
Other Linux
: Normal blocker
: ---
Assigned To: Evolution Kolab maintainer(s)
Evolution Kolab maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-06-06 15:45 UTC by t.ask
Modified: 2012-06-21 08:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description t.ask 2012-06-06 15:45:33 UTC
Hi,
I just cloned the src and tried compile it. As I don't have gmime-2.4-dev I changed it to 2.6 like here:

diff --git a/configure.ac b/configure.ac
index 821101a..53925e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,7 +72,7 @@ PKG_CHECK_MODULES(GTK, gtk+-3.0)
 PKG_CHECK_MODULES(SOUP, libsoup-2.4 libsoup-gnome-2.4)
 PKG_CHECK_MODULES(CURL, libcurl)
 PKG_CHECK_MODULES(ICAL, libical)
-PKG_CHECK_MODULES(GMIME, gmime-2.4)
+PKG_CHECK_MODULES(GMIME, gmime-2.6)
 PKG_CHECK_MODULES(EVOLUTION, evolution-plugin-3.0 libebook-1.2 libecal-1.2)
 dnl ***********

The autogen process works without problem. The error occurs with 'make':

 make  all-recursive
make[1]: Entering directory `/home/tom/Downloads/evolution-kolab'
Making all in src
make[2]: Entering directory `/home/tom/Downloads/evolution-kolab/src'
Making all in libekolabconv
make[3]: Entering directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv'
Making all in main
make[4]: Entering directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/main'
Making all in src
make[5]: Entering directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/main/src'
Making all in evolution
make[6]: Entering directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/main/src/evolution'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/main/src/evolution'
Making all in kolab
make[6]: Entering directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/main/src/kolab'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/main/src/kolab'
Making all in structs
make[6]: Entering directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/main/src/structs'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/main/src/structs'
make[6]: Entering directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/main/src'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/main/src'
make[5]: Leaving directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/main/src'
make[5]: Entering directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/main'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/main'
make[4]: Leaving directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/main'
Making all in test
make[4]: Entering directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/test'
Making all in src
make[5]: Entering directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/test/src'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/test/src'
make[5]: Entering directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/test'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/test'
make[4]: Leaving directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv/test'
make[4]: Entering directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv'
make[3]: Leaving directory `/home/tom/Downloads/evolution-kolab/src/libekolabconv'
Making all in libekolabutil
make[3]: Entering directory `/home/tom/Downloads/evolution-kolab/src/libekolabutil'
  CC     kolab-util-camel.lo
In file included from kolab-util-camel.c:36:0:
kolab-util-camel.h:75:48: error: unknown type name 'CamelIMAPXFolder'
kolab-util-camel.c:108:48: error: unknown type name 'CamelIMAPXFolder'
make[3]: *** [kolab-util-camel.lo] Error 1
make[3]: Leaving directory `/home/tom/Downloads/evolution-kolab/src/libekolabutil'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tom/Downloads/evolution-kolab/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tom/Downloads/evolution-kolab'
make: *** [all] Error 2

I guess, it has nothing to do with my changed lib version. But it'll be nice if you could fix this, thanks.
Comment 1 Christian Hilberg 2012-06-06 16:15:51 UTC
Exactly which version of evolution-kolab do you try to build against exactly which versions of Evolution and E-D-S?
Comment 2 t.ask 2012-06-06 18:27:15 UTC
I can copy you the aptitude table:

i     evolution                                                                           3.4.2-1ubuntu2 3.4.2-1ubuntu2
i A   evolution-common                                                                    3.4.2-1ubuntu2 3.4.2-1ubuntu2
i     evolution-data-server                                                               3.4.2-1~precis 3.4.2-1~precis
i     evolution-data-server-common                                                        3.4.2-1~precis 3.4.2-1~precis
i     evolution-plugins                                                                   3.4.2-1ubuntu2 3.4.2-1ubuntu2

The first entry with 'git log' shows me:

commit 784e952aa02d9653332e4c3105cfcca19aaf7c97
Author: Christian Hilberg <hilberg@kernelconcepts.de>
Date:   Wed Jun 6 16:52:44 2012 +0200

    EPlugin: pass on name of selected source to subdialogs
    
    * alongside the name of the selected folder,
      pass on also the name of the selected source,
      if in PIM context, and display it
    * if in email context, only the folder name
      is displayed (no change there)

I packed the folder for you here:

http://free-uploading.com/ch3wuo46dm0x/evolution-kolab.tar.xz.html
Comment 3 Christian Hilberg 2012-06-08 08:10:22 UTC
You've tried to build evolution-kolab from Git master branch against Evo/E-D-S 3.4, which plainly won't work. evo-kolab Git master heads for Evo/E-D-S 3.5 already and has substantial changes, which are incompatible with the 3.4 line.

You need to use the gnome-3-4 branch of evolution-kolab. Latest commit should work. If it does not, try the EVOLUTION_KOLAB_3_4_2 tag.

On a side note, where did you get the 3.4.2 Evo/E-D-S packages from? I might try these myself.
Comment 4 Christian Hilberg 2012-06-08 10:13:15 UTC
Oh, I see... could be Ubuntu "Quantal Quetzal", it ships Evo/E-D-S 3.4 nowadays.
Comment 5 Christian Hilberg 2012-06-08 11:04:39 UTC
@Tom: Still, would be interesting to know where you got the 3.4.2 packages for Precise from. Care to share? :-)
Comment 6 t.ask 2012-06-11 08:47:11 UTC
I think,  they are coming from the PPA I found last week: http://ppa.launchpad.net/suraia/ppa/ubuntu and I got the master git from your repo: http://git.gnome.org/browse/evolution-kolab/

I know, it's not the best way to get Evolution 3.4.x but I found so many bugs in Evolution 3.2 that I could only find a PPA to get Gnome 3.4 + Evolution 3.4 working ... Unfortunately, many of these bugs are still there :( But the PPA is quite good. Many updates and stable. 

I installed a Groupware server (Citadel) and need a proper Kolab Client for Evo 3.4. As I couldn't find an official Ubuntu package I tried to compile it myself. I'll try your advice then :)
Comment 7 Christian Hilberg 2012-06-11 09:39:10 UTC
@Tom: Thanks for the PPA links.

Regarding Citadel, I guess it has/had some support for the Kolab1 data format, which evolution-kolab does not support. evolution-kolab supports the Kolab2 server *only*, and may support Kolab3 in future. Please refer to http://kolab.org/ for the sole groupware server evolution-kolab supports.

Thanks for your interest in evolution-kolab, closing the bug now.
Comment 8 t.ask 2012-06-12 14:12:31 UTC
Hi Christian,

I commited the source to Evolution 3.4.2 and with the preiouslymentioned 'libgmime-2.6-dev'  changes it build and installed without a problem. Then I started Evolution. The plugin wasn't listed here. I rechecked the plugin paths and I found all files probably needed. So I started Evolution to create an new account ... before the account assistant started Evolution crashed with:

camel-kolab:ERROR:camel-kolab-imapx-provider.c:174:camel_kolab_imapx_provider_module_init: assertion failed: (kolab_provider.object_types[CAMEL_PROVIDER_STORE] != G_TYPE_INVALID)
Aborted (core dumped)

It seems to me, that there is still something wrong. Maybe it has to do with the used libgmime-2.6-dev?! I'm not sure and hopefully you can help.
Comment 9 Christian Hilberg 2012-06-12 14:28:27 UTC
GMime is only used for the unit-tests and not in production code. This is more likely a configure/installation issue. Check your Evolution installation base path (probably /usr/lib). Try that path as PREFIX for autogen.sh / configure. If it still does not work, send a mail to http://mail.gnome.org/mailman/listinfo/evolution-kolab-devel-list/.