Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
The Tracker or time to kill a beagle
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sun Nov 12, 2006 9:12 am    Post subject: Reply with quote

I merged the latest version of gnome-common in portage, which is
Code:
[$][~] eix gnome-common
[I] gnome-base/gnome-common
     Available versions: 
   (2)   1.2.4-r3 1.2.4-r4
   (3)   2.8.0 2.12.0
     Installed:           2.12.0(3)(10:57:36 12.11.2006)(-debug)
     Homepage:            http://www.gnome.org/
     Description:         Common files for development of Gnome packages
, but the error remains the same as posted above. Then I tried the replacing which you said above and it compiled cleanly - ok, haven't build gstreamer, yet, so I can say nothing about that.

As for your .desktop file, where/how does it complain, 'cause I didn't notice anything about that.

Thanks again for your help :)

cheers,
ph

EDIT:

Well, dbus is hell again :(
Quote:
[I] sys-apps/dbus
Available versions: 0.61-r1 (~)0.62-r1 [M](~)0.95 [M](~)1.0.0
Installed: 0.62-r1(19:53:37 03.11.2006)(-X -debug -doc gtk mono python -qt3 -qt4 -selinux)
Homepage: http://dbus.freedesktop.org/
Description: A message bus system, a simple way for applications to talk to each other


So, latest not-hardmasked version is installed.

I have
Quote:
[$][~] cat /etc/X11/Sessions/fvwm2
#!/bin/bash
eval `dbus-launch --exit-with-session --sh-syntax` &
exec /usr/bin/fvwm2


Which I start with qingy.

And my start-function in FVWM looks like this:
Quote:
DestroyFunc StartFunction
AddToFunc StartFunction
+ I Exec exec xsetroot -solid rgb:3c/3c/3c
+ I Module FvwmCommandS
+ I Module FvwmEvent
+ I Module FvwmAnimate
+ I Test (Init) Exec exec evrouter -c ~/.evrouterrc /dev/input/event1
+ I Test (Init) Exec exec urxvtd -q -f
+ I Test (Init) Exec exec unclutter -idle 1 -reset -root
+ I Module FvwmButtons FvwmTaskbar
+ I Module FvwmIconMan
+ I Test (Init) Exec exec trackerd

(The "Test (Init)" just checks, if fvwm is restarted, so the process won't start twice!)

Quote:
[$][~] ps aux | grep tracker
ph030 5069 0.0 0.2 31760 2648 pts/1 SNl+ 11:27 0:00 trackerd

Quote:
[$][~] /etc/init.d/dbus status
* status: started

Quote:
[$][~] ps aux | grep dbus
103 5172 0.0 0.0 2128 672 ? Ss 08:33 0:00 /usr/bin/dbus-daemon --system
ph030 26021 0.0 0.0 2124 856 ? Ss 11:19 0:00 dbus-daemon --fork --print-pid 8 --print-address 6 --session
ph030 26031 0.0 0.0 2124 868 ? Ss 11:19 0:00 dbus-daemon --fork --print-pid 8 --print-address 6 --session
ph030 5063 0.0 0.0 2124 868 ? Ss 11:26 0:00 dbus-daemon --fork --print-pid 8 --print-address 6 --session
ph030 5072 0.0 0.0 2124 852 ? Ss 11:27 0:00 dbus-daemon --fork --print-pid 8 --print-address 6 --session
ph030 5082 0.0 0.0 2128 868 ? Ss 11:27 0:00 dbus-daemon --fork --print-pid 8 --print-address 6 --session
ph030 5171 0.0 0.0 2848 764 pts/0 R+ 11:31 0:00 grep --colour=auto dbus


So, everything seems to run just fine, but issuing tracker-stats again gives
Quote:
[$][~] tracker-stats
Could not initialise Tracker - exiting...
and launching it as `dbus-launch tracker-stats` gives
Quote:
[$][~] dbus-launch tracker-stats

** (process:5194): WARNING **: An error has occured : Process /usr/bin/trackerd exited with status 0
but trackerd still runs :(

Killing trackerd and running it via `trackerd --enable-debug` gives:
Quote:
[$][~] trackerd --enable-debug


Tracker version 0.5.0 Copyright (c) 2005-2006 by Jamie McCracken (jamiemcc@gnome.org)

This program is free software and comes without any warranty.
It is licensed under version 2 of the General Public License which can be viewed at http://www.gnu.org/licenses/gpl.txt

Initialising tracker...
Setting ioprio best effort.
setting stopword list for language code de
Using stemmer for language de

Tracker configuration options :
Debug mode enabled : yes
Low memory mode : no
Faster indexing : no
Indexing enabled : yes
Watching enabled : yes
File content indexing enabled : yes
Thumbnailing enabled : no
Evolution email indexing enabled : no
Thunderbird email indexing enabled : no
K-Mail indexing enabled : no

Tracker indexer parameters :
Indexer language code : de
Minimum index word length : 3
Maximum index word length : 30
Stemmer enabled : yes
Using Pango word breaking : no


Setting watch directory roots to:
/home/ph030

Using Sqlite version 3.3.8
Loading prepared queries...
File loaded in 0,000000 ms
initialising the indexer
Opening index /home/ph030/.Tracker/databases/Files
Bucket count (max is 524288) is 73708 and Record Count is 788
preferred bucket count is 788
database file /home/ph030/.Tracker/databases/fulltext is present
starting database closure for thread main
Database closed for thread main
starting database closure for thread main
Database closed for thread main
Checking tracker DB version...Current version is 11 and needed version is 10
-----------------------
Fetching index stats...
Text Files : 4
Other Files : 6
Images : 25
Folders : 48
Music : 70
Videos : 183
Total files indexed : 336
-----------------------

tracker_dbus_init() could not get the session bus
5278: arguments to dbus_connection_set_exit_on_disconnect() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 2032.
This is normally a bug in some application using the D-BUS library.
5278: arguments to dbus_connection_register_object_path() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 4358.
This is normally a bug in some application using the D-BUS library.
could not register local D-BUS connection handler
database file /home/ph030/.Tracker/databases/fulltext is present
database file /home/ph030/.Tracker/databases/fulltext is present
metadata queue has 0 rows pending
metadata thread sleeping
0 files are pending with count 0
request thread sleeping
Watching directory /home/ph030 (total watches = 1)
0 files are pending with count 0
[...]
0 files are pending with count 0
waiting for file events...


while running it as `dbus-launch trackerd --enable-debug` doesn't give the error above, but still won't let me connect via tracker-stats, -search(-tool), etc.

I don't know if it's important, but I removed my ~/.Tracker and it doesn't help.
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Sun Nov 12, 2006 11:12 am    Post subject: Reply with quote

Well Jamie has fixed the missing .desktop-file :)
I don't have such problems with dbus, I started it via tracker-stats and it is running, but I have the latest dbus (masked), this and the messages you have show, that probably the masked version is required dependancy:
Quote:
tracker_dbus_init() could not get the session bus
5278: arguments to dbus_connection_set_exit_on_disconnect() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 2032.
This is normally a bug in some application using the D-BUS library.
5278: arguments to dbus_connection_register_object_path() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 4358.
This is normally a bug in some application using the D-BUS library.
could not register local D-BUS connection handl

_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
tchak
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 124
Location: France/Russia

PostPosted: Sun Nov 12, 2006 11:34 am    Post subject: Reply with quote

Hi,
I tried tracker 0.4 and now 0.5.1 and I have same problem. I eats 100% cpu until it index all data... Even Beagle have newed done something like this on my system... Any Ideas? It is build with inotify support and with -fam USE flag....
_________________
maybe this world is another planet's hell...
Athlon64 | ATI Mobility Radeon 9700 | Netgear (Prism54) + ASUS (USB2 ZD1211)
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Sun Nov 12, 2006 11:49 am    Post subject: Reply with quote

Hm I should probably rebuild my DB from scratch, to see if this happens, sure if it is the only active process it will take 100% on first indexing, but I never had any slow-downs in the GUI, because of this. In fact the indexers should be run with nice=19, making it barely impossible to kill the cpu. In the moment it just sits down here and does not eat any resources.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sun Nov 12, 2006 12:48 pm    Post subject: Reply with quote

So, I unmasked dbus-1 and dbus-glib and build them, but it didn't help, yet. revdep-rebuild is running now, so I build everything again which has a dbus-dependencie.

As for the ressource-question, I don't have the problem. I started indexing in turbo-mode and there are no problems at all.

I'll report if revdep is finished.
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Sun Nov 12, 2006 12:56 pm    Post subject: Reply with quote

Have you restarted the system wide dbus-service in /etc/init.d/?
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sun Nov 12, 2006 1:38 pm    Post subject: Reply with quote

Is this question adressed to me? If so, yes I did.

As I said, I built dbus-1, dbus-glib, gstreamer and run revdep-rebuild - everthiny compiled clean. Then I killed everything related to dbus, stopped dbus-service, changed to a non-X-shell, started dbus-service again, emerged tracker again and then started X with the same settings as stated above. Still no go.

Then I killed trackerd while being in X and started `trackerd --enable-debug` which gives:
Quote:
[$][~] trackerd --enable-debug


Tracker version 0.5.0 Copyright (c) 2005-2006 by Jamie McCracken (jamiemcc@gnome.org)

This program is free software and comes without any warranty.
It is licensed under version 2 of the General Public License which can be viewed at http://www.gnu.org/licenses/gpl.txt

Initialising tracker...
Setting ioprio best effort.
setting stopword list for language code de
Using stemmer for language de

Tracker configuration options :
Debug mode enabled : yes
Low memory mode : no
Faster indexing : no
Indexing enabled : yes
Watching enabled : yes
File content indexing enabled : yes
Thumbnailing enabled : no
Evolution email indexing enabled : no
Thunderbird email indexing enabled : no
K-Mail indexing enabled : no

Tracker indexer parameters :
Indexer language code : de
Minimum index word length : 3
Maximum index word length : 30
Stemmer enabled : yes
Using Pango word breaking : no


Setting watch directory roots to:
/home/ph030

Using Sqlite version 3.3.8
Loading prepared queries...
File loaded in 0,000000 ms
initialising the indexer
Opening index /home/ph030/.Tracker/databases/Files
Bucket count (max is 524288) is 73708 and Record Count is 742
preferred bucket count is 742
database file /home/ph030/.Tracker/databases/fulltext is present
starting database closure for thread main
Database closed for thread main
starting database closure for thread main
Database closed for thread main
Checking tracker DB version...Current version is 11 and needed version is 10
-----------------------
Fetching index stats...
Text Files : 4
Other Files : 6
Images : 25
Folders : 48
Music : 70
Videos : 183
Total files indexed : 336
-----------------------

tracker_dbus_init() could not get the session bus
process 5945: arguments to dbus_connection_set_exit_on_disconnect() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 2830.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
Abgebrochen

(Abgebrochen[german] meaning cancelled).

If I start trackerd via dbus-launch, it runs. I don't know what is causing this, cause the old version worked directly after you gave me the hint of starting dbus with my session on page one of this tread. Anyway, if I start trackerd with dbus-launch, I can't connect via dbus-launch tracker-stats/-search.
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Sun Nov 12, 2006 2:01 pm    Post subject: Reply with quote

Also there is a bug in the tracker, the dbus_connection_set_exit_on_disconnect should not be called with NULL as connection, this is what happens in your case, as to why this happens - I don't have any ideas ATM, also it fails at dbus_bus_get on your side, but why?
the relevant source is src/trackerd/tracker-dbus.c
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
tchak
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 124
Location: France/Russia

PostPosted: Sun Nov 12, 2006 3:08 pm    Post subject: Reply with quote

Hi,
After I tried to remove my old DB and reboot to new session with 0.5.1 (cvs) It looks like performance are now much better :)
I steel have a question: what is stemmer and stopword list ? What is it for?

Thank's
_________________
maybe this world is another planet's hell...
Athlon64 | ATI Mobility Radeon 9700 | Netgear (Prism54) + ASUS (USB2 ZD1211)
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Sun Nov 12, 2006 3:20 pm    Post subject: Reply with quote

well the stemmer, devides the word in prefixes, suffixes, stems and such - so it makes your search language-aware and makes searching much more correct.
I don't know what exactly is the stop-word list, probably it is a list of words, which should not be indexed at all, as they are expected to appear everywhere...
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sun Nov 12, 2006 10:28 pm    Post subject: Reply with quote

I read on the mailing-list archive, that you reported the error(thanks for that) and that Jamie said he fixed it in cvs.

So, I removed tracker, deleted the whole cvs-sources, checkedout again, built but the error remains the same :/

Very "funny" things are going on here, to make it short:

running trackerd -> error as above, but still running(checked with ps)
running dbus-launch trackerd -> works
+ running tracker-stats -> error
+ running dbus-launch tracker-stats -> error
(same for tracker-search(-tool))

running tracker-stats(while trackerd not running!) -> error
running dbus-launch tracker-stats -> works
running tracker-search -> error
running dbus-launch tracker-search -> works
(same for tracker-search-tool)

Interesting: when I run one of the working commands above and then trying to connect with one of the others, it gives an error again - doesn't matter, if w/ or w/o dbus-launch.

EDIT:
It's getting more interesting :twisted:

So, I quitted X, killed trackerd and every instance of dbus and then stopped(!) /etc/init.d/dbus.

Startet X, issued trackerd --enable-debug(temporarily deleted it from my fvwm-start) and...it runs - without dbus-launch.
Issuing tracker-stats works and trackerd doesn't die.
Issuing tracker-search works, but after spitting out the results, trackerd dies(I'll edit it soon, sitting on my desk and tracker-testing is only at my notebook right now).

EDIT as promised:
Quote:
waiting for file events...
saving basic metadata for *existing* file /home/ph030 with mime Folder and service type 1
0 files are pending with count 0
Total entities index : 53
Please wait while remaining data is flushed to the inverted word index. This may take some time...
flushing data (0 words left) - please wait
All data has been flushed - waiting for new file events...
request thread awoken
Executing GetStats Dbus Call
request thread sleeping
request thread awoken
Executing search with params Files, otsuka
searching for otsuka with smin 0 and smax 9, offset 0 and limit 512
total hit count (excluding service divisions) is 41
total hit count for service is 41
DBus connection has been lost, trackerd will shutdown
Received signal 'DBus connection lost' so now shutting down
total allocations = 53, total deallocations = 53
request thread going to deep sleep...
shutting down threads
metadata thread awoken
starting database closure for thread extract
Database closed for thread extract
starting database closure for thread main
Database closed for thread main
starting database closure for thread main
Database closed for thread main
metadata thread has exited successfully
starting database closure for thread files
Database closed for thread files
starting database closure for thread main
Database closed for thread main
files thread has exited successfully
starting database closure for thread request
Database closed for thread request
request thread has exited successfully
starting database closure for thread main
Database closed for thread main
shutting down main thread

This comes, after spitting out the results as stated above :(


Besides that, the german-translation seems not to be real utf-8. My system is utf-8 enabled and I use a capable font, but while searching via tracker-search-tool I get weird characters in the tasklist.

If you've got time, I would be glad, if you could report it to the list, 'cause I couldn't do it until tuesday.

Thanks again for your help :)

cheers,
ph
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Sun Nov 12, 2006 10:42 pm    Post subject: Reply with quote

Well, no the error I reported was only the part, which handles the failure, also there was a function call to dbus with null-pointer, but this concerns what happens after your problem. Also at least now, there should be no such message:
Quote:
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace


I still could not understand why you could not obtain the dbus-connection - I'll look for a possible solution soon.
In the meantime what's the output from:
Quote:
ps aux|grep dbus
101 6689 0.0 0.0 2288 648 ? Ss Nov10 0:00 /usr/bin/dbus-daemon --system
gero 9689 0.0 0.0 2764 504 tty1 S Nov10 0:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session
gero 9695 0.0 0.0 2288 780 ? Ss Nov10 0:02 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session

Is it similiar? If not it could be that dbus-launch is not running properly.


Quote:
Besides that, the german-translation seems not to be real utf-8. My system is utf-8 enabled and I use a capable font, but while searching via tracker-search-tool I get weird characters in the tasklist.

This is also strange, I have started it with LANG="de_DE" tracker-search-tool and it works as expected here, also all the strings are correctly translated and it shows up correctly in the taskbar...
Es zeigt "Suche läuft..." momentan :)
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Mon Nov 13, 2006 4:11 am    Post subject: Reply with quote

I think we narrow it down...

Quote:
In the meantime what's the output from:

Even if I put the string "eval `dbus-launch --exit-with-session --sh-syntax`" into my /etc/X11/Sessions/fvwm as shown one page one, it's not in the output of ps|aux but if I start it by hand while being in fvwm, than it shows up :(

It's a little late and I'm a bit tired of c&ping errormessages, so I made a screenie showing all of what's important.

Quote:
This is also strange, I have started it with LANG="de_DE" tracker-search-tool and it works as expected here, also all the strings are correctly translated and it shows up correctly in the taskbar...


Note the taskbar, tracker gives weird characters but the page from wikipedia shows up cleanly in the taskbar. BTW, the font used is the german version of artwiz-snap and as you can see it's capable of doing "umlauts".

Quote:
Es zeigt "Suche läuft..." momentan

Bei mir leider nicht, aber schön, dass ich auch so verstanden werde :)

EDIT: I'm away now 'til ~11pm, don't know, if I can check here tonight but will definetly tomorrow.

cheers,
ph

EDIT2:

So now I'm a little bit frustrated :evil:

To be absolutely sure that the problem has nothing to do with missing libs or linking, I ran an
Code:
emerge --sync && emerge -uD world && emerge -e world
.

So, when emerge -e was finished, I rebooted and tried to login -> no go, cause I forget to set some USE-Flags for qingy. I switched to a console, loged in and issued startx -> fvwm comes up fine. Just to be sure I started trackerd while recompiling qinqy and what have I seen? It works, no need for starting tracker via dbus-launch. Accessing it via tracker-stats works and also via tracker-search(-tool) and the daemon didn't fade away after a search-query.

Then I killed trackerd and X, logged in via qingy and again -> no go. Logged out, rebootet, startx from console, works. So the failure has to be in qingy, but I don't know why, 'cause it's using the same session-file as startx.

I would be glad, if you or someone else could test, if you'll get the same experience with the use of qingy.

cheers,
ph
Back to top
View user's profile Send private message
vitae
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2004
Posts: 134
Location: Germany

PostPosted: Mon Dec 04, 2006 8:11 pm    Post subject: Reply with quote

hi everybody,

I just installed tracker to replace beagle. It is quite fast. Unfortunately it doesn`t scan gaim and evolution files ;)

well my question is about the nautilus tagging feature.

what do i have to install to use that like mentioned in the link

http://www.madman2k.net/comments/56/

there is no python-nautilus in portage.

thnx

vitae
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Tue Dec 05, 2006 8:19 pm    Post subject: Reply with quote

vitae wrote:
hi everybody,

I just installed tracker to replace beagle. It is quite fast. Unfortunately it doesn`t scan gaim and evolution files ;)

There is an experimental evolution mail scan, but I'm not sure how well does it work - I'm myself sylpheed-claws user so I'm not able to test it.

vitae wrote:

well my question is about the nautilus tagging feature.

what do i have to install to use that like mentioned in the link

http://www.madman2k.net/comments/56/

there is no python-nautilus in portage.

thnx

vitae

You could try to make an ebuild (probably not that easy), although most of gnome from cvs could be installed with very straightforth ebuilds. I simply don't have the time to try and make one :(
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
vitae
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2004
Posts: 134
Location: Germany

PostPosted: Thu Dec 07, 2006 12:52 pm    Post subject: Reply with quote

i found the sources. i think an ebuild should not be so difficult.

here is the link:

http://ftp.gnome.org/pub/GNOME/sources/nautilus-python/0.4/
Back to top
View user's profile Send private message
vitae
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2004
Posts: 134
Location: Germany

PostPosted: Thu Dec 07, 2006 3:18 pm    Post subject: Reply with quote

okay... you need also masked dbus-python and masked dbus-glib, which need the new masked dbus-1.*

it is a lil bit to experimental for me, but you can easily compile nautilus-python without problems.
Back to top
View user's profile Send private message
agnitio
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2004
Posts: 136

PostPosted: Fri Jan 12, 2007 8:42 pm    Post subject: Reply with quote

Tracker is now in portage and i tried to install it, unfortunately, it wouldn't compile. Has anyone else experienced this?

Code:

make[3]: *** No rule to make target `../../src/libtracker/libtrackerclient.la', needed by `tracker-search'.  Stop.
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/tracker-search.Tpo .deps/tracker-search.Po
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -DDATADIR=\"/usr/share\" -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wchar-subscripts -Wnested-externs -Wpointer-arith -Wsign-compare -O2 -march=prescott -mtune=prescott -pipe -fomit-frame-pointer -MT tracker.lo -MD -MP -MF .deps/tracker.Tpo -c tracker.c  -fPIC -DPIC -o .libs/tracker.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -DDATADIR=\"/usr/share\" -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wchar-subscripts -Wnested-externs -Wpointer-arith -Wsign-compare -O2 -march=prescott -mtune=prescott -pipe -fomit-frame-pointer -MT tracker.lo -MD -MP -MF .deps/tracker.Tpo -c tracker.c -o tracker.o >/dev/null 2>&1
mv -f .deps/tracker.Tpo .deps/tracker.Plo
make[3]: Leaving directory `/var/tmp/portage/app-misc/tracker-0.5.3/work/tracker-0.5.3/src/libtracker'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-misc/tracker-0.5.3/work/tracker-0.5.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-misc/tracker-0.5.3/work/tracker-0.5.3'
make: *** [all] Error 2

!!! ERROR: app-misc/tracker-0.5.3 failed.
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Fri Jan 12, 2007 9:03 pm    Post subject: Reply with quote

try with MAKEOPTS="-j1" - I could not reproduce it, but there were already some ppl reporting the same problem.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
agnitio
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2004
Posts: 136

PostPosted: Fri Jan 12, 2007 10:52 pm    Post subject: Reply with quote

Confirmed, that solved the problem. My normal MAKEOPTS are "-j3", maybe that is the difference between our systems and the reason why you cannot reproduce?

UPDATE:
Now I seem to have a problem with integrating Tracker with deskbar applet, I tried the script posted in this thread, and ALL of the updated ones on the mailing list, but no-one works, they all fail on the same line, wich is line 11 in the older scripts and 15 in the newer, wich contains "try:", here's the error from "./deskbar-applet -w":

Code:

Error loading the file: /home/agnitio/.gnome2/deskbar-applet/handlers/tracker.py.
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/deskbar/ModuleLoader.py", line 91, in import_module
    mod = pydoc.importfile (filename)
  File "/usr/lib/python2.4/pydoc.py", line 240, in importfile
    raise ErrorDuringImport(path, sys.exc_info())
ErrorDuringImport: problem in /home/agnitio/.gnome2/deskbar-applet/handlers/tracker.py - SyntaxError: invalid syntax (tracker.py, line 11)


UPDATE2:
Hehe, sometimes life is funny. Totally by random accident I clicked the link to http://www.madman2k.net/comments/56/ posted above, there I found a downloadable .py-file that works perfectly.
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Sun Feb 04, 2007 8:36 pm    Post subject: Reply with quote

Hi fellow Gentoo users! I've written a simple tracker frontend for KDE. Find the source, ebuilds and a few directions here.
Back to top
View user's profile Send private message
krz
n00b
n00b


Joined: 11 Feb 2006
Posts: 19

PostPosted: Sat Mar 03, 2007 12:11 am    Post subject: Reply with quote

I killed my beagle too because it always starts indexing when you want to work. That's utterly annoying. Tracker is much better.

However I'm currently trying to write an ebuild for the tracker-svn: It's actually based off the ebuild from page 1. I removed all the dependencies and changed cvs to svn. But it's giving me a sandbox violation:
Quote:
ACCESS DENIED open_wr: /usr/share/dbus-1/services/tracker.service
/bin/install: cannot create regular file `/usr/share/dbus-1/services/tracker.service': Permission denied


Anybody knows how to work around this?

Code:

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# todo: dependencies!

inherit eutils subversion autotools

DESCRIPTION="The Tracker Search Tool"
HOMEPAGE="http://www.gnome.org/projects/tracker/"

SRC_URI=""
ESVN_REPO_URI="http://svn.gnome.org/svn/tracker/trunk"

KEYWORDS="~x86"
SLOT="0"
LICENSE="GPL-2"
IUSE=""
RDEPEND=""
DEPEND=""

src_compile (){
        local myconf="--enable-gstreamer"
        ./autogen.sh ${myconf}
        emake || die
}

src_install() {
    einstall || die
}
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Sat Mar 03, 2007 2:20 am    Post subject: Reply with quote

Code:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /root/portage/app-misc/tracker-9999.ebuild,v 1 gero Exp $

WANT_AUTOMAKE=1.7
WANT_AUTOCONF=2.5
inherit eutils subversion autotools linux-info


DESCRIPTION="The Tracker Search Tool"
HOMEPAGE="http://www.freedesktop.org/wiki/Software_2fTracker"

KEYWORDS="~x86"
SLOT="0"
LICENSE="GPL-2"
IUSE="fam gnome xine"
S=${WORKDIR}/${PN}
RDEPEND=">=dev-libs/glib-2.9.1
        >=sys-libs/zlib-1.2
        >=x11-libs/pango-1.0.0
        >=dev-libs/gmime-2.1.0
        ||      (
                        >=dev-libs/dbus-glib-0.71
                        ( <sys-apps/dbus-0.90 >=sys-apps/dbus-0.50 )
                )
        fam? ( virtual/fam )
        >=dev-db/sqlite-3.2i
        !xine? ( >=media-libs/gstreamer-0.10 )
        xine? ( >=media-libs/xine-lib-1.1.2 )
        >=app-text/poppler-0.5
        >=x11-libs/cairo-1.0
        >=x11-libs/gtk+-2.8.0
        >=media-libs/libpng-1.2
        >=media-libs/libexif-0.6
        >=gnome-extra/libgsf-1.13
        gnome?  (
                                >=gnome-base/gnome-desktop-2.14
                                >=gnome-base/libgnome-2.14
                                >=gnome-base/libgnomeui-2.14
                                >=gnome-base/gnome-vfs-2.14
                                >=gnome-base/libglade-2.5.0
                        )"
#       >=media-libs/libtheora-1.0_alpha7
DEPEND="${RDEPEND}
        >=dev-util/pkgconfig-0.9
        >=dev-util/intltool-0.34
        >=gnome-base/gnome-common-2.12.0"

ESVN_REPO_URI="http://svn.gnome.org/svn/tracker/trunk"
#ESVN_PROJECT="tracker"
pkg_setup() {


        ebegin "Checking for sqlite built without the nothreadsafe use flag"
                built_with_use dev-db/sqlite nothreadsafe
        eend $?

        if [[ $? -eq 0 ]] ; then
                ewarn "You must build sqlite without the nothreadsafe USE-flag"
                ewarn "in order to compile and use tracker"
                die
        fi

        if ! use fam; then
            linux-info_pkg_setup

            einfo "Not using fam/gamin checking the kernel"
            ebegin "Checking for linux-kernel >=2.6.13"
            kernel_is ge 2 6 13
            eend $?

            if [[ $? -ne 0 ]] ; then
                ewarn "You need a kernel >=2.6.13 for inotify support"
                die
            fi

            ebegin "Checking if inotify support was compiled in the kernel"
            linux_chkconfig_present INOTIFY
            eend $?

            if [[ $? -ne 0 ]] ; then
                ewarn "You must select CONFIG_INOTIFY in your kernel"
                die
            fi
        fi
           
}
src_unpack() {
        subversion_src_unpack || die "cvs failed"
        cd ${S} || die "cd failed"
        if ! use fam && ! has_version ">=sys-kernel/linux-headers-2.6.16"; then
            epatch ${FILESDIR}/inotify.patch
        fi

        NOCONFIGURE=1 ${S}/autogen.sh || die
}

src_compile (){
        local myconf="--enable-external-sqlite \
                                        --enable-video-extractor=gstreamer \
                                        --enable-file-monitoring=inotify \
                                        --enable-preferences \
                                        --with-deskbar-applet-handler-dir=${ROOT}usr/$(get_libdir)/deskbar-applet/handlers/"

        econf ${myconf}
        emake
}

src_install() {
    make DESTDIR=${D} install || die
}

this worked for me some 1-2 weeks ago, but note that there are still more changes in svn now, as there are extra tracker widget committed in the last 1-2 days and probably the dependancies are not fully correct.
I probably would come to updating the ebuild next week and could post it if there is interest.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Fri Jun 29, 2007 8:40 am    Post subject: Reply with quote

Hi all,

I installed tracker today (0.5.4-r1 on AMD64) and have a few questions:

1. I installed it both with and without the gnome useflag and in both cases I do *not* have any GUI app like tracker-search-tool :-/
EDIT: My apologies - after installing tracker a second time I actually *got* tracker-searck-tool installed. Or I did not see it the first time? :-/

2. What is the fam-flag precisely for? Does it loose it's functionality if I don't use it?

Thanks in advance
swimmer
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Fri Jun 29, 2007 3:56 pm    Post subject: Reply with quote

fam should not be used, for best results use the inotify backend (ie -fam) - but look at the output from configure, to make sure it is really selected, as it depends on certain versions of linux-headers/glibc and at the end tracker could fallback to polling if it does not find anything useful.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum