emerge gaim-0.75-r10 ... after finishing and running, no protocols are available. 'strace `which gaim`' shows: access("/var/tmp/portage/gaim-0.75-r10/image//usr/share/pixmaps/gaim/typing.png" , F_OK) = -1 ENOENT (No such file or directory) getpid() = 20930 open("/var/tmp/portage/gaim-0.75-r10/image//usr/lib/gaim/", O_RDONLY|O_NONBLOCK| O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory) so the compiled binary is looking in the wrong place for its libraries.
after 'ebuild /usr/portage/net-im/gaim/gaim-0.75-r10.ebuild compile' the binary /var/tmp/portage/gaim-0.75-r10/work/gaim-0.75/src/gaim has the proper paths (in reading output of 'strace /var/tmp/portage/gaim-0.75-r10/work/gaim-0.75/src/gaim'. however, if i then run 'ebuild /usr/portage/net-im/gaim/gaim-0.75-r10.ebuild install' then 'strace /var/tmp/portage/gaim-0.75-r10/work/gaim-0.75/src/gaim' the paths are wrong.
Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3) ================================================================= System uname: 2.6.3 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.13 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://mirrors.tds.net/gentoo http://212.219.247.10/sites/www.ibiblio.org/gentoo/ http://212.219.247.17/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg libg++ libwww mad mikmod mmx motif mpeg mysql ncurses oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcpd tiff truetype x86 xml2 xmms xv zlib"
I swear we had a bug on this before but forever reason the submitter said it suddenly went away. I'll see if I can shed some light on things.
Obviously complicated by the fact that most people aren't seeing this behavior, including myself. Just to confirm, are the libs actually being installed into /usr/lib/gaim?
OK the now-resolved bug I mentioned earlier is Bug 35800. However their solution was to simply re-emerge gaim I guess. Not very helpful.
For what it's worth: I talked it over with the folks in #gaim and explained our build/install process and they agree that it should work fine. We all agree that it is nutty that it works for most but not for some.
the libs are getting installed just fine in /usr/lib/gaim. trouble is the binary is looking for them in /var/tmp/portage/...
fixed! problem was local to the machine... the clock was set in the future by months. while it was wrong, i had emerged several packages including gtk+, glib, xfree, and gaim 0.75-r8. after fixing the clock, all the problems with gaim-0.75-r10 started. i pulled together a list of packages that were merged when the clock was wrong (from /var/log/emerge.log) and emerged all of them again. after that, gaim compiles and installs properly.