GNOME Bugzilla – Bug 671020
tracker 0.14 evolution miner fails to build on Ubuntu
Last modified: 2012-04-03 12:49:06 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
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.
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.
(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,
Created attachment 209250 [details] buildlog And it still fails to build with tracker 0.14.0
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
(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.
Created attachment 211152 [details] Build log here with make
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.