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 671020 - tracker 0.14 evolution miner fails to build on Ubuntu
tracker 0.14 evolution miner fails to build on Ubuntu
Status: RESOLVED NOTGNOME
Product: tracker
Classification: Core
Component: Miners
0.14.x
Other Linux
: Normal major
: ---
Assigned To: tracker-general
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2012-02-29 02:00 UTC by Jeremy Bicha
Modified: 2012-04-03 12:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
buildlog (242.26 KB, text/plain)
2012-02-29 02:00 UTC, Jeremy Bicha
Details
buildlog (238.11 KB, text/plain)
2012-03-08 14:00 UTC, Jeremy Bicha
Details
Build log here with make (6.79 KB, text/plain)
2012-04-02 17:39 UTC, Martyn Russell
Details

Description Jeremy Bicha 2012-02-29 02:00:59 UTC
Created attachment 208654 [details]
buildlog

The evolution miner fails to build on Ubuntu 12.04 amd64 with tracker 0.13.1. Ubuntu 12.04 will be sticking with evolution & eds 3.2 this cycle.

make[6]: Entering directory `/«PKGBUILDDIR»/src/plugins/evolution'
  CC     tracker-evolution-plugin.lo
/bin/bash ../../../libtool --silent --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../..  -DG_LOG_DOMAIN=\"Tracker\" -DTRACKER_COMPILATION -I../../../src -I../../../src -DGETTEXT_PACKAGE="\"tracker\"" -DLOCALEDIR="\"/usr/share/locale\"" -pthread -DCAMEL_HAVE_NSS -DCAMEL_HAVE_SSL -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libxml2 -I/usr/include/libsoup-2.4 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/evolution-3.2 -I/usr/include/gnome-desktop-3.0 -I/usr/include/gconf/2 -I/usr/include/evolution-data-server-3.2 -I/usr/include/libgtkhtml-4.0 -I/usr/include/libgtkhtml-4.0/editor -I/usr/include/enchant -I/usr/include/gsettings-desktop-schemas   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -c -o tracker-evolution-plugin.lo tracker-evolution-plugin.c
tracker-evolution-plugin.c: In function 'thread_pool_new':
tracker-evolution-plugin.c:311:2: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:271) [-Wdeprecated-declarations]
tracker-evolution-plugin.c: In function 'thread_pool_destroy':
tracker-evolution-plugin.c:353:2: warning: 'g_thread_create' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:100): Use 'g_thread_new' instead [-Wdeprecated-declarations]
tracker-evolution-plugin.c: In function 'send_sparql_update':
tracker-evolution-plugin.c:365:2: warning: 'g_static_rec_mutex_lock' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:173): Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations]
tracker-evolution-plugin.c:383:2: warning: 'g_static_rec_mutex_unlock' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:179): Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations]
tracker-evolution-plugin.c: In function 'e_plugin_lib_enable':
tracker-evolution-plugin.c:2325:2: warning: 'g_static_rec_mutex_lock' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:173): Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations]
tracker-evolution-plugin.c:2333:2: warning: 'g_static_rec_mutex_unlock' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:179): Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations]
  CCLD   liborg-freedesktop-Tracker-evolution-plugin.la
/usr/bin/ld: cannot find -leshell
/usr/bin/ld: cannot find -leutil
collect2: ld returned 1 exit status
make[6]: *** [liborg-freedesktop-Tracker-evolution-plugin.la] Error 1
make[6]: Leaving directory `/«PKGBUILDDIR»/src/plugins/evolution'
make[5]: *** [all] Error 2
rm org-freedesktop-Tracker-evolution-plugin.eplug.in
make[5]: Leaving directory `/«PKGBUILDDIR»/src/plugins/evolution'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/«PKGBUILDDIR»/src/plugins'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
Comment 1 Martyn Russell 2012-02-29 09:34:41 UTC
Hi, have you tried master, there have been some fixes since 0.13.1. I plan on doing a 0.14.0 release any day, so let me know if this is a problem after trying that please.
Comment 2 Jeremy Bicha 2012-03-04 17:24:45 UTC
I haven't been able to get master to build here so I guess I'll have to wait for your next tarball to see if this is fixed.

Maybe mixing intltool & gettext like in https://bugzilla.gnome.org/show_bug.cgi?id=627789 is part of my problem.
Comment 3 Martyn Russell 2012-03-05 12:11:38 UTC
(In reply to comment #2)
> I haven't been able to get master to build here so I guess I'll have to wait
> for your next tarball to see if this is fixed.
> 
> Maybe mixing intltool & gettext like in
> https://bugzilla.gnome.org/show_bug.cgi?id=627789 is part of my problem.

Hmm? This looks quite unrelated.

I am assuming applying the patch in that bug doesn't fix the issue for you right?

In any case, please report new bugs about unrelated issues.

What version are you using (of evolution et al)?

I am also quite suspicious here of the .la file asking for these. Are you able to remove all .la files from $prefix and git clean -dfx tracker to make sure it isn't an old linking issue?

Thanks,
Comment 4 Jeremy Bicha 2012-03-08 14:00:48 UTC
Created attachment 209250 [details]
buildlog

And it still fails to build with tracker 0.14.0
Comment 5 Jeremy Bicha 2012-03-08 16:24:03 UTC
I guess I forgot to mention that the build works fine if I use --disable-miner-evolution but of course that's a regression from what we have for tracker 0.12.

evolution 3.2.3-0ubuntu3 and evolution-data-server 3.2.3-0ubuntu4
Comment 6 Martyn Russell 2012-04-02 17:39:04 UTC
(In reply to comment #5)
> I guess I forgot to mention that the build works fine if I use
> --disable-miner-evolution but of course that's a regression from what we have
> for tracker 0.12.
> 
> evolution 3.2.3-0ubuntu3 and evolution-data-server 3.2.3-0ubuntu4

It builds here with master (which isn't too far off the tracker-0.14 branch):

rpm -qf /usr/lib64/evolution/3.2/libeutil.so
evolution-devel-3.2.3-2.fc16.x86_64

Could this be a packaging issue with Ubuntu?
I've attached my building from git and the output I get here.
Comment 7 Martyn Russell 2012-04-02 17:39:35 UTC
Created attachment 211152 [details]
Build log here with make
Comment 8 Jeremy Bicha 2012-04-03 12:49:06 UTC
Thanks for looking into this with me. It turns out that Ubuntu 12.04's evolution-dev wasn't depending on libevolution (which it looks like is causing other things to fail to build too). As a workaround, adding libevolution to my build-depends causes the build to work just fine.