Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72073 - libglib.la incorrectly points to install directory as being in /var/tmp/portage
Summary: libglib.la incorrectly points to install directory as being in /var/tmp/portage
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-22 07:39 UTC by bhunter1
Modified: 2004-11-23 08:52 UTC (History)
0 users

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


Attachments
output of emerge info (emerge.info,1.54 KB, text/plain)
2004-11-23 08:38 UTC, bhunter1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bhunter1 2004-11-22 07:39:40 UTC
I was attempting to emerge kde and I get an error when attempting to compile imlib.  It reports that it can't find libglib.la in the /var/tmp/portage directory.  Doing a grep in /usr/lib showed that several files incorrectly reported that glib was located in the /var/tmp/portage directory.  The version of glib used was glib-1.2.10-r5.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




A temporary workaround is to grep /usr/lib for the incorrect entries and
manually change them to /usr/lib/libglib.la
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2004-11-22 09:47:36 UTC
herds: I've seen this problem quite often and I guess it's not only imagemagick overwriting libtool (or invalid ebuilds). Usually `find /usr/lib -iname "*\.la" -exec sed -i -r -e "s:/var/tmp/portage/.*/image/::g" '{}' \;` is a workaround for the problem, but the changed mtime will cause portage not to uninstall the affected file(s) afaik.

Either there's a bug in some .la rewrite code which needs to get fixed or/and it should never be possible, to overwrite libtool files by other ebuilds, even w/o having the collision-protect feature enabled.
Comment 2 SpanKY gentoo-dev 2004-11-22 10:35:15 UTC
you neglected to provide `emerge info` like the bug report page says to

also, if you `emerge =glib-1*`, does the .la file still contain /var/tmp/portage references ?
Comment 3 bhunter1 2004-11-23 08:38:10 UTC
Created attachment 44579 [details]
output of emerge info
Comment 4 bhunter1 2004-11-23 08:52:46 UTC
doing an emerge =glib-1* has the correct paths in libglib.la.  The files that were affected and had the wrong path to libglib.la were libgtk.la and libgdk.la.  The problem arose when I started emerging a new system in this order:
emerge system
emerge xorg-x11
emerge kde