Latest tracker (1.0.4) in portage tree requires libmediaart-0.4.0, because updated libmediaart-0.7.0 breaks API compatibility. For example, functions 'media_art_init' and 'media_art_shutdown' no longer available. Following is the error report from emerge: --- libtool: link: x86_64-pc-linux-gnu-gcc -march=core2 -mtune=generic -O2 -pipe -Wl,--enable-new-dtags -Wl,-O1 -o .libs/tracker-extract tracker_extract-tracker-config.o tracker_extract-tracker-extract.o tracker_extract-tracker-extract-controller.o tracker_extract-tracker-extract-decorator.o tracker_extract-tracker-extract-priority-dbus.o tracker_extract-tracker-read.o tracker_extract-tracker-main.o -Wl,--export-dynamic -pthread -Wl,--as-needed ../../src/libtracker-sparql-backend/.libs/libtracker-sparql-1.0.so ../../src/libtracker-miner/.libs/libtracker-miner-1.0.so -lnm-glib -lnm-util -ldbus-glib-1 -ldbus-1 ../../src/libtracker-extract/.libs/libtracker-extract.so /var/tmp/portage/app-misc/tracker-1.0.4/work/tracker-1.0.4/src/libtracker-sparql-backend/.libs/libtracker-sparql-1.0.so /var/tmp/portage/app-misc/tracker-1.0.4/work/tracker-1.0.4/src/libtracker-data/.libs/libtracker-data.so -lexif -lenca ../../src/libtracker-data/.libs/libtracker-data.so -luuid -lz /var/tmp/portage/app-misc/tracker-1.0.4/work/tracker-1.0.4/src/libtracker-common/.libs/libtracker-common.so -lsqlite3 -licui18n -licuuc -licudata ../../src/libtracker-common/.libs/libtracker-common.so -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lmediaart-1.0 -lglib-2.0 -lm -pthread -Wl,-rpath -Wl,/usr/lib64/tracker-1.0 tracker_extract-tracker-main.o: In function `main': tracker-main.c:(.text.startup+0x10c): undefined reference to `media_art_init' tracker-main.c:(.text.startup+0x19f): undefined reference to `media_art_shutdown' tracker-main.c:(.text.startup+0x401): undefined reference to `media_art_shutdown' tracker-main.c:(.text.startup+0x41c): undefined reference to `media_art_init' tracker-main.c:(.text.startup+0x493): undefined reference to `media_art_shutdown' collect2: error: ld returned 1 exit status Makefile:1615: recipe for target 'tracker-extract' failed make[4]: *** [tracker-extract] Error 1 make[4]: Leaving directory '/var/tmp/portage/app-misc/tracker-1.0.4/work/tracker-1.0.4/src/tracker-extract' Makefile:1420: recipe for target 'all' failed make[3]: *** [all] Error 2 make[3]: Leaving directory '/var/tmp/portage/app-misc/tracker-1.0.4/work/tracker-1.0.4/src/tracker-extract' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-misc/tracker-1.0.4/work/tracker-1.0.4/src' Makefile:1135: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-misc/tracker-1.0.4/work/tracker-1.0.4' Makefile:860: recipe for target 'all' failed make: *** [all] Error 2 --- Masking '>medialibs/libmediaart-0.4.0' solves the problem. Thanks in advance!
I guess we can either hardmask this or apply: https://git.gnome.org/browse/tracker/commit/?id=a41cef78eb6d5c0a4728f08b4d4bd8f0a8f6ddfb https://git.gnome.org/browse/tracker/commit/?id=eb3d887c499795b59edb74c868c5399a3bc068d4 To tracker, as the changes are big, we can mask it and wait for 3.14 cycle (well, only broken reverse dep is tracker, looks like grilo-plugins still work ok)
+ 27 Sep 2014; Pacho Ramos <pacho@gentoo.org> package.mask: + Mask latest libmediaart (#523838) +
*** Bug 528682 has been marked as a duplicate of this bug. ***
Created attachment 391102 [details, diff] Patch to make tracker play nice with recent libmediaart nb: not 100% sure I remember whether I cobbled this together myself or what its origins are. TBH, I'm not even 100% sure I know what tracker does (although I could make an educated guess). I highly doubt there are any "intellectual property" ramifications associated with the code in the patch but if you need to be sure, don't use this or audit it. I'm pretty sure I assembled the patch from upstream patches but if I authored any of it myself then those portions may be treated as public domain. Gets the latest keyworded tracker in portage (1.0.6) working in ~amd64.
(In reply to Greg Turner from comment #4) > Created attachment 391102 [details, diff] [details, diff] > Patch to make tracker play nice with recent libmediaart > > nb: not 100% sure I remember whether I cobbled this together myself or what > its origins are. TBH, I'm not even 100% sure I know what tracker does > (although I could make an educated guess). > > I highly doubt there are any "intellectual property" ramifications > associated with the code in the patch but if you need to be sure, don't use > this or audit it. I'm pretty sure I assembled the patch from upstream > patches but if I authored any of it myself then those portions may be > treated as public domain. > > Gets the latest keyworded tracker in portage (1.0.6) working in ~amd64. Forgot to mention "why" -- for some reason (I don't recall; perhaps I adopted this patch before the upstream mask and didn't want to downgrade), I still am affected by this bug. Anyhow I've been running with the patch applied on my workstation for at least two months without any problem I'm aware of.
New tracker and rygel required >=0.7 so I unmasked it.