Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202024 - app-misc/tracker-0.6.4 ebuild has incorrect dependencies
Summary: app-misc/tracker-0.6.4 ebuild has incorrect dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Saleem Abdulrasool (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-12 11:17 UTC by Cosimo Cecchi
Modified: 2007-12-13 04:58 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cosimo Cecchi 2007-12-12 11:17:29 UTC
The ebuild for app-misc/tracker-0.6.4 (and also 0.6.3) has an incorrect SQLite3 dependency, which causes Portage to give up on "emerge -uD world" with this error [1] if you have >=dev-db/sqlite-3.5* installed.
If you have a look at tracker configure.ac [2], you'll see they require sqlite3 >= 3.4*, so the dep =dev-db/sqlite-3.4* in tracker ebuild is incorrect.
Modifying it to ">=" solves this bug.

[1] : dev-db/sqlite:3

  ('ebuild', '/', 'dev-db/sqlite-3.4.2', 'merge') pulled in by
    ('ebuild', '/', 'app-misc/tracker-0.6.4', 'merge')

  ('installed', '/', 'dev-db/sqlite-3.5.3', 'nomerge') pulled in by
    ('installed', '/', 'dev-ruby/sqlite3-ruby-1.2.1', 'nomerge')
    ('installed', '/', 'net-news/liferea-1.4.9', 'nomerge')
    ('installed', '/', 'media-gfx/f-spot-0.4.0-r1', 'nomerge')
    (and 4 more)

[2] : http://svn.gnome.org/viewvc/tracker/trunk/configure.ac?view=markup
Comment 1 Cosimo Cecchi 2007-12-12 12:13:49 UTC
Also, in the aforementioned ebuild we should check for "! built_with_use threadsafe" instead of "built_with_use nothreadsafe" to check use flags for dev-db/sqlite. These two fixes make tracker compile and run fine with dev-db/sqlite-3.5*.
Comment 2 Priit Laes (IRC: plaes) 2007-12-12 20:24:32 UTC
Also in pkg_setup() part:
built_with_use fpr poppler-bindings should first check if pdf support is in USE

...
if use pdf && ! built_with_use 'app-text/poppler-bindings' 'gtk' ; then
...
Comment 3 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-12-13 04:58:45 UTC
The dep was not incorrect, it was there on purpose.  There was a bug with sqlite 3.5 for a while though we never bothered to update the autoconf scripts.  It seems that the fix did get into the release, so Ive re-enabled sqlite 3.5 as a valid provider.

@pritt: thanks for the gtk catch, fixed as well.