Re: [Tracker] Problem with porting Tracker to mips





On Thu, Jun 16, 2011 at 4:24 AM, Adrien Bustany <abustany gnome org> wrote:
Le Wed, 15 Jun 2011 17:40:06 +0900,
simon hong <simon hong81 gmail com> a écrit :

> Hi, Adrien
>
> When  I comments mime type check in
> tracker_sparql_backend_load_plugins_from_path() ,
> it works well.

OK, could you check what "file -i foobar.so" return for the so files in
/home/ykhong/cross_prj/tracker_top/lib/tracker-0.9/sparql-modules ?

file -i outputs "application/x-sharedlib"
Could my glib library have problem?

>
> On Wed, Jun 15, 2011 at 2:12 PM, Adrien Bustany <abustany gnome org>
> wrote:
>
> > Le Wed, 15 Jun 2011 12:21:31 +0900,
> > simon hong <simon hong81 gmail com> a écrit :
> >
> > > Hi, tracker folks
> > >
> > > I'm working to port tracker to mips platform.
> > >
> > > I'm using tracker-0.9.20 because we met glib compile problem
> > > (above glib-2.25).
> > >
> > > I configured most of options disabled for initial tracker test.
> > > After cross-compiling tracker with glib-2,24 (based on uclibc), I
> > > executed tracker-miner-fs (not by tracker-control).
> > >
> > > And  tracker-miner-fs process was aborted. But, tracker-store and
> > > tracker-extract looks work well.
> > >
> > > I don't know what is the reason. Following is tracker-miner-fs's
> > > log messages.
> > >
> > >
> > ============================================================================================
> > > # tracker-miner-fs
> > > Initializing tracker-miner-fs...
> > > Tracker-Message: Checking XDG_DATA_HOME is writable and exists
> > > Tracker-Message:   XDG_DATA_HOME is '(null)'
> > > Tracker-Message:   Path is OK
> > > Tracker-Message:   XDG_DATA_HOME set to '/root/.local/share'
> > > Tracker-Message:   Path is OK
> > > Tracker-Message: Setting process priority
> > > Tracker-Message: Setting up monitor for changes to config
> > > file:'/root/.config/tracker/tracker-miner-fs.cfg'
> > > Tracker-Message: Loading defaults into GKeyFile...
> > > Tracker-Message: tracker-miner-fs 0.9.20
> > > Starting log:
> > >   File:'/root/.local/share/tracker/tracker-miner-fs.log'
> > > Tracker-Message: General options:
> > > Tracker-Message:   Verbosity  ............................  3
> > > Tracker-Message:   Initial Sleep  ........................  15
> > > Tracker-Message: Indexer options:
> > > Tracker-Message:   Throttle level  .......................  0
> > > Tracker-Message:   Indexing while on battery  ............  no
> > > (first time > > > > Tracker-Message:   Low disk space limit  .................  1%
> > > Tracker-Message: Registering D-Bus service...
> > >   Name:'org.freedesktop.Tracker1.Miner.Files.Index'
> > > Tracker-Message: Checking whether to perform mtime checks during
> > > crawling: Tracker-Message:   Enabled
> > > (tracker-miner-fs:370): Tracker-DEBUG: tracker-backend.vala:151:
> > > Using backend = 'AUTO'
> > > (tracker-miner-fs:370): Tracker-DEBUG: tracker-backend.vala:159:
> > > Searching for modules in folder
> > > '/home/ykhong/cross_prj/tracker_top/lib/tracker-0.9/sparql-modules' ..
> > > **
> > > Tracker:ERROR:tracker-miner-object.c:259:tracker_miner_init:
> > > assertion failed (error == NULL): Could not load plugin, mime
> > > type was 'text/plain',
> > > expected:'application/x-sharedlib' (tracker_sparql_error-quark, 6)
> > > Aborted
> > >
> > =====================================================================================================================
> > >
> > > Any advice will be happy :)
> > >
> > > Thank you!
> > > Simon.
> > > ======================================
> > > Simon Hong
> > > "Secret of success is consistency to purpose"
> >
> > Could it be an error with your shared-mime-info, or whatever is
> > supposed to guess the mimetype? Does it work if you comment out the
> > mime type check?
> >
> > Cheers
> >
> > Adrien
> >
>
>
>




--
======================================
Simon Hong
"Secret of success is consistency to purpose"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]