Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114274 - improved multilib.bash
Summary: improved multilib.bash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-12-02 08:25 UTC by Herbie Hopkins (RETIRED)
Modified: 2006-02-09 17:49 UTC (History)
0 users

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


Attachments
improved multilib.bash (multilib.bash,1.18 KB, text/plain)
2005-12-02 08:28 UTC, Herbie Hopkins (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Herbie Hopkins (RETIRED) gentoo-dev 2005-12-02 08:25:42 UTC
The list_libdirs() function in multilib.bash does not fuction correctly for
multilib profiles other than amd64. Moreover it is broken with regards to
amd64's no-lib32 profile since it does not list 'lib' on amd64.
Comment 1 Herbie Hopkins (RETIRED) gentoo-dev 2005-12-02 08:28:14 UTC
Created attachment 73945 [details]
improved multilib.bash

This attached list_libdirs() functions by simply listing any of lib, lib32,
lib64 that appear in /etc/ld.so.conf and so should work well for all profiles.
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2005-12-18 16:06:58 UTC
Herbie: Very good idea. I just added a list of valid libdirs which is used
to process ld.so.conf. In case there is no ld.so.conf, we'll fall back to
all directories that match ${ROOT}/lib*.

Additonally, your original patch didn't respect the ${ROOT} environment variable.

InSVN, will ship with next release.
Comment 3 Herbie Hopkins (RETIRED) gentoo-dev 2006-02-09 17:49:37 UTC
eselect-1.0 is now in portage, closing this.