Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74034 - gam_server binary installed as /usr/libexec/i686-pc-linux-gnu-gam_server
Summary: gam_server binary installed as /usr/libexec/i686-pc-linux-gnu-gam_server
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-10 14:20 UTC by Surakshan Mendis
Modified: 2004-12-11 22:35 UTC (History)
0 users

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


Attachments
nautilus strace (straceout,387.46 KB, text/plain)
2004-12-10 14:21 UTC, Surakshan Mendis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Surakshan Mendis 2004-12-10 14:20:06 UTC
Running Gnome 2.8.2 which is ~x86 at the time of writing.
when using Gamin with gnome, nautilus is slow to react, gnome takes much longer to load up, browsing directories takes up to 10 seconds just to right click, opening directories, files are the same.

I ran an strace on nautilus which I will soon attach, the major attraction there is

access("/usr/libexec/gam_server", R_OK|X_OK) = -1 ENOENT (No such file or directory)
write(2, "failed to find gam_server\n", 26failed to find gam_server

Whilst gamin is installed, its not at /usr/libexec/gam_server hence gam can't start, fam won't start (not installed), nautilus may be polling away...

But where is gam?
root@zodee-blue sura # slocate gam_server
/usr/libexec/i686-pc-linux-gnu-gam_server

Interesting...
Right now I've symlinked it as a dirty hack to /usr/libexec/gam_server
*appears* to work fine.

is this an ebuild problem?
Tried with gammin 18 and the new ~x86 19 version

Reproducible: Always
Steps to Reproduce:

1. stopped famd
2. removed from run-level
3. unmerged famd

4. emerged gamin
5. Exited Gnome, made user no gnome processes running (doesn't matter restarted after for anothre reason)


Actual Results:  
nautilus cannot find gam_server thus very slow

Expected Results:  
gam to be used for file monitoring

emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20040808-r1,
2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1,sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks maketest sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups divx4linux eds
encode esd f77 flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal
imagemagick imlib java jpeg junit libg++ libwww lirc mad mikmod mmx motif mpeg
mppe-mppc mysql ncurses network nls nptl oggvorbis opengl oss pam pdflib perl
pic png ppds python quicktime readline rtc samba sdl slang spell sqlite ssl svga
tcltk tcpd tiff truetype x86 xml xml2 xv xvid zlib"
Comment 1 Surakshan Mendis 2004-12-10 14:21:29 UTC
Created attachment 45700 [details]
nautilus strace

strace nautilus

shows gam_server cannot be found
Comment 2 Surakshan Mendis 2004-12-10 17:40:21 UTC
I've switched back to fam so I can do some work.
I believe the synlink trick I didn;t doesn;t work, when I tested it nautilus worked fast, but it didn't react when files were deleted or created.

But the issue is the location nautilus is looking for is not found
Comment 3 Surakshan Mendis 2004-12-10 23:19:09 UTC
apologizes, I'm actually running gnome-2.8.1-r1 which is in ~x86 at the moment, however this shouldn't affect the underlying problem
Comment 4 Mike Gardiner (RETIRED) gentoo-dev 2004-12-11 00:03:24 UTC
Okay, could be a libtool issue, could you try adding to the ebuild - 

src_unpack() {
    unpack ${A}
    cd ${S}
    libtoolize --force
    autoconf
}

see if that helps.
Comment 5 Surakshan Mendis 2004-12-11 17:16:30 UTC
added that above scr_compile.
Same issue.

When merging:
--- /usr/libexec/
>>> /usr/libexec/i686-pc-linux-gnu-gam_server

And afterwards..

root@zodee-blue sura # ls /usr/libexec/i686-pc-linux-gnu-gam_server
/usr/libexec/i686-pc-linux-gnu-gam_server

Also switched backed to gcc 3.3.4 followed by source /etc/profile, then remered gamin same problem.
Comment 6 Joe McCann (RETIRED) gentoo-dev 2004-12-11 17:25:17 UTC
this looks like a dupe of bug 73382 . Can you follow the instructions in that bug and upgrade gcc-config to see if it fixes things?
Comment 7 Surakshan Mendis 2004-12-11 22:35:29 UTC
Thanks,
I installed gcc-config 1.3.7-r6 and reset the compiler and sourced the profile. Gaim still installed incorrectly.

Then I unmerged ccache and tried again, and this time it worked. I'm unsure if unmerging ccache caused it to work with the new gcc-config or if I did something minor which I cannot "recall" that fixed it.

a search of the system revealed libgtop files, avifile files also incorrect, so reinstalled those packages. Had to remerge gnome-vfs otherwise nautilus crashed when using gamin.

So now everything regarding this problem is fixed and luckily the extent of files going under the wrong name wasn't do bad and a qpkg -f /path/to/file revealed the package it came from... perhaps gcc-config should be marked stabled (the newer version?