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 608976 - build error with tracker 0.7.18
build error with tracker 0.7.18
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: [obsolete] Builds
0.x.x [obsolete]
Other Linux
: Normal normal
: ---
Assigned To: Tomas Bzatek
Nautilus Maintainers
Depends on: 589345
Blocks:
 
 
Reported: 2010-02-04 11:28 UTC by Frederic Peters
Modified: 2010-03-08 11:09 UTC
See Also:
GNOME target: 2.30.x
GNOME version: ---



Description Frederic Peters 2010-02-04 11:28:58 UTC
It looks like tracker deprecated some functions, and this broke the support for tracker in nautilus:

  CC     nautilus-search-engine-tracker.lo
cc1: warnings being treated as errors
nautilus-search-engine-tracker.c: In function 'finalize':
nautilus-search-engine-tracker.c:65: error: 'tracker_disconnect' is deprecated (declared at /home/jhbuild/sid-ia32/build/include/tracker-0.7/libtracker-client/tracker.h:168)
nautilus-search-engine-tracker.c: In function 'nautilus_search_engine_tracker_start':
nautilus-search-engine-tracker.c:169: error: 'tracker_search_metadata_by_text_and_mime_and_location_async' is deprecated (declared at /home/jhbuild/sid-ia32/build/include/tracker-0.7/libtracker-client/tracker.h:184)
nautilus-search-engine-tracker.c:175: error: 'tracker_search_metadata_by_text_and_mime_async' is deprecated (declared at /home/jhbuild/sid-ia32/build/include/tracker-0.7/libtracker-client/tracker.h:179)
nautilus-search-engine-tracker.c:186: error: 'tracker_search_metadata_by_text_and_location_async' is deprecated (declared at /home/jhbuild/sid-ia32/build/include/tracker-0.7/libtracker-client/tracker.h:174)
nautilus-search-engine-tracker.c:193: error: 'tracker_search_metadata_by_text_async' is deprecated (declared at /home/jhbuild/sid-ia32/build/include/tracker-0.7/libtracker-client/tracker.h:170)
nautilus-search-engine-tracker.c: In function 'nautilus_search_engine_tracker_new':
nautilus-search-engine-tracker.c:275: error: 'tracker_connect' is deprecated (declared at /home/jhbuild/sid-ia32/build/include/tracker-0.7/libtracker-client/tracker.h:166)
Comment 1 Rodrigo Moya 2010-03-04 15:01:01 UTC
I was able to complete compilation by removing the -Werror from the Makefile, but a proper fix should be done, I guess
Comment 2 Tomas Bzatek 2010-03-04 15:13:50 UTC
I'm working on it (at least as a part of bug 589345). I'll probably reuse pieces of code from tracker sources directly. Newer versions can be built with TRACKER_DISABLE_DEPRECATED so we should adapt on that.
Comment 3 Tomas Bzatek 2010-03-08 11:09:51 UTC
Per discussion over irc I've committed the patch in bug 589345 which includes support for the new tracker API. Nautilus now loads tracker and beagle dynamically which effectively fixes this bug.