Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44253 - gaim 0.75-r10 bad paths, cannot load libraries
Summary: gaim 0.75-r10 bad paths, cannot load libraries
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gaim Bugs Crew
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-10 07:23 UTC by Rajiv Aaron Manglani (RETIRED)
Modified: 2004-03-11 09:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rajiv Aaron Manglani (RETIRED) gentoo-dev 2004-03-10 07:23:14 UTC
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.
Comment 1 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2004-03-10 10:46:17 UTC
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.

Comment 2 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2004-03-10 10:47:34 UTC
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"
Comment 3 Don Seiler (RETIRED) gentoo-dev 2004-03-10 10:48:38 UTC
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.
Comment 4 Don Seiler (RETIRED) gentoo-dev 2004-03-10 11:00:40 UTC
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?
Comment 5 Don Seiler (RETIRED) gentoo-dev 2004-03-10 11:07:46 UTC
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.
Comment 6 Don Seiler (RETIRED) gentoo-dev 2004-03-10 11:48:53 UTC
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.
Comment 7 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2004-03-10 11:53:09 UTC
the libs are getting installed just fine in /usr/lib/gaim. trouble is the binary
is looking for them in /var/tmp/portage/...
Comment 8 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2004-03-11 09:22:08 UTC
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.