Package: tracker
Version: 1.10.3-1
Severity: normal
Tags: upstream
Severity set to normal because failure of the build-time tests is
ignored anyway.
With LANG=C.UTF-8 added into the environment (see the bug I just filed),
the build-time tests get a little further but still fail, with multiple
errors similar to those below.
The build-time tests should set GSETTINGS_SCHEMA_DIR, and run a temporary
dbus-daemon whose search path for .service files includes one for the
just-built Tracker1 service.
(Unfortunately this would make them unsuitable for use as autopkgtests
in debian/tests/unit-tests, but I suspect that debian/tests/unit-tests is
not actually a particularly valid autopkgtest anyway - it doesn't take
any steps to avoid using the just-built Tracker libraries.)
S
----
ERROR: tracker-file-notifier-test
=================================
(/<<PKGBUILDDIR>>/tests/libtracker-miner/.libs/tracker-file-notifier-test:13188):
Tracker-WARNING **: Could not get SPARQL connection:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.Tracker1 was not provided by any .service files
Trace/breakpoint trap
# random seed: R02S3aef3a4fe03c08e21b56565b9e6e31d9
# Testing file notifier
1..10
# Start of libtracker-miner tests
# Start of file-notifier tests
# Tracker-FATAL-WARNING: Could not get SPARQL connection:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.Tracker1 was not provided by any .service files
ERROR: tracker-sparql
=====================
Tracker-Message: Setting database locations
Tracker-Message: Checking database directories exist
...
Tracker-Message: Opened sqlite3
database:'/<<PKGBUILDDIR>>/tests/libtracker-data/test-data/1007442307/tracker/meta.db'
Tracker-Message: Setting page size to 8192
Tracker-Message: Setting cache size to 250
(/<<PKGBUILDDIR>>/tests/libtracker-data/.libs/tracker-sparql:14837):
GLib-GIO-ERROR **: Settings schema 'org.freedesktop.Tracker.FTS' is not
installed