Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83081 - libtool produces .la files without leading '/' for some dependencies
Summary: libtool produces .la files without leading '/' for some dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: Normal major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 79713 81483 82601 82935 83147 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-23 09:10 UTC by Martin Schlemmer (RETIRED)
Modified: 2005-04-10 15:33 UTC (History)
5 users (show)

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 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-23 09:10:32 UTC
For some reason references of .la's in dependency_libs of other .la's do not
have a starting '/' to their path names - for example:

-----
 # grep '[^/]usr/lib' /usr/lib/libbonoboui-2.la
dependency_libs=' usr/lib/libgnomecanvas-2.la /usr/lib/libgtk...... '
-----

This could either be an after effect of Xorg's libGL.la, etc that had a
broken libdir='usr/lib', or it might be something to do with libtool itself.

Current fix is to run:

-----
 # find /usr/lib/ -name '*.la' -print | xargs -n50 grep -rl '[^/]usr/lib'
-----

and then manually fix listed files.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-23 09:11:05 UTC
*** Bug 81483 has been marked as a duplicate of this bug. ***
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-23 09:11:09 UTC
*** Bug 79713 has been marked as a duplicate of this bug. ***
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-23 09:13:01 UTC
PS: can everybody with issues include the list from command in the description?
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-23 09:29:12 UTC
Ok, added libtool-1.5.10-r5 and updated the elibtoolize patch to verify that we
do have a leading '/' if we need to replace '/'.  Note that this will not fix
the issue, but prevent future issues like this if this is the problem.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-23 10:49:51 UTC
*** Bug 82601 has been marked as a duplicate of this bug. ***
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-23 10:50:42 UTC
*** Bug 82935 has been marked as a duplicate of this bug. ***
Comment 7 Christopher Rude 2005-02-23 23:15:27 UTC
find /usr/lib/ -name '*.la' -print | xargs -n50 grep -rl '[^/]usr/lib' resulted in the following:
/usr/lib/libgnomevfs.la --- new during world rebuild, manualy fixed it now thanks :)

had already manulally fixed before my current inprogress rebuild of world (I had logged these as an attachement in bug 8201.
/usr/lib/libgstcontrol-0.8.la
/usr/lib/libgstreamer-0.8.la
/usr/lib/libgmodule-2.0.la
/usr/lib/libhal-storage.la
/usr/lib/libhal.la
/usr/lib/liboaf.la
/usr/lib/libpopt.la


hope this helps, and thanks for your quick reponse :)
Comment 8 foser (RETIRED) gentoo-dev 2005-02-24 05:24:21 UTC
*** Bug 83147 has been marked as a duplicate of this bug. ***
Comment 9 genbug 2005-02-25 05:58:27 UTC
Well I see this is marked as fixed now which is great news.
Trouble my portage is still broken .

It seems nothing is propagating to fix what is already out there and broken , and , sorry to seem dumb that bit of cryptic hyroglypics just shows up two files from libonobo that do not seen to relate in any way to my breakage.

I have the same issue in libgnomeui failing on gnomelib.la

Could some kind sole explain what I should fix and how?

TIA
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-25 10:42:46 UTC
Well, do the find/grep command, and then edit the files showing to include the
leading '/' for paths missing.
Comment 11 SpanKY gentoo-dev 2005-04-10 15:33:16 UTC
should be all set now thanks to az