GNOME Bugzilla – Bug 739347
build: Fix build failure from missing tracker-ontologies.h
Last modified: 2014-10-29 16:41:53 UTC
I am unable to build the current head (8a36eeb7). The build stops at a missing tracker-ontologies.h. tracker-writeback-taglib.c:29:50: fatal error: libtracker-common/tracker-ontologies.h: No such file or directory #include <libtracker-common/tracker-ontologies.h> By looking at commit a4d60c19 it appears that the file has moved from libtracker-common to libtracker-sparql.
Created attachment 289577 [details] Configure log
Created attachment 289579 [details] [review] build: Fix build failure from missing tracker-ontologies.h This patch updates the remaining places where tracker-ontologies.h is included. A number of defines were also renamed when the file was moved, so they are updated too.
Comment on attachment 289579 [details] [review] build: Fix build failure from missing tracker-ontologies.h Hi there, thanks for the patch, please go ahead and apply this. One thing I would note is that ideally, you should be including libtracker-sparql/tracker-sparql.h and not specific files from each sub-library in Tracker. Same goes for libtracker-common. Sorry for the extra work with the PREFIX name changes, but everyone is duplicating this work and I thought it should be done properly! :)
OK, thanks. I am not sure what you mean by go ahead and apply this though. I don't have a git account if that is what you mean.
Comment on attachment 289579 [details] [review] build: Fix build failure from missing tracker-ontologies.h I did mean push with git, but I can do it if you don't have an account. Thanks for the patch! :)
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.