Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523838 - =app-misc/tracker-1.0.4: can't be built against updated medialibs/libmediaart-0.7.0
Summary: =app-misc/tracker-1.0.4: can't be built against updated medialibs/libmediaart...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 528682 (view as bug list)
Depends on:
Blocks: gnome-3.14
  Show dependency tree
 
Reported: 2014-09-27 06:52 UTC by Garri
Modified: 2014-12-25 23:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to make tracker play nice with recent libmediaart (libmediaart-1.0-0.700.0-1.patch,20.91 KB, patch)
2014-12-06 22:38 UTC, Greg Turner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Garri 2014-09-27 06:52:26 UTC
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!
Comment 1 Pacho Ramos gentoo-dev 2014-09-27 13:42:31 UTC
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)
Comment 2 Pacho Ramos gentoo-dev 2014-09-27 13:44:10 UTC
+  27 Sep 2014; Pacho Ramos <pacho@gentoo.org> package.mask:
+  Mask latest libmediaart (#523838)
+
Comment 3 Pacho Ramos gentoo-dev 2014-11-10 10:55:26 UTC
*** Bug 528682 has been marked as a duplicate of this bug. ***
Comment 4 Greg Turner 2014-12-06 22:38:59 UTC
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.
Comment 5 Greg Turner 2014-12-06 22:42:00 UTC
(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.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-12-25 23:24:04 UTC
New tracker and rygel required >=0.7 so I unmasked it.