Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298789 - app-admin/eselect adds LDPATH to /etc/profile.env
Summary: app-admin/eselect adds LDPATH to /etc/profile.env
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: eselect (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-12-28 21:24 UTC by Alistair Bush (RETIRED)
Modified: 2009-12-31 01:50 UTC (History)
0 users

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


Attachments
profile.env produced by eselect env update (profile.env.eselect_env,2.72 KB, text/plain)
2009-12-28 21:25 UTC, Alistair Bush (RETIRED)
Details
profile.env produced by env-update (profile.env.env-update,1.91 KB, text/plain)
2009-12-28 21:26 UTC, Alistair Bush (RETIRED)
Details
tarball of env.d (env.tar.bz2,3.32 KB, text/plain)
2009-12-28 21:35 UTC, Alistair Bush (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alistair Bush (RETIRED) gentoo-dev 2009-12-28 21:24:44 UTC
eselect env update adds the LDPATH environment variable to /etc/profile.env

If I run env-update LDPATH does not exist.
Comment 1 Alistair Bush (RETIRED) gentoo-dev 2009-12-28 21:25:35 UTC
Created attachment 214481 [details]
profile.env produced by eselect env update
Comment 2 Alistair Bush (RETIRED) gentoo-dev 2009-12-28 21:26:21 UTC
Created attachment 214483 [details]
profile.env produced by env-update
Comment 3 Alistair Bush (RETIRED) gentoo-dev 2009-12-28 21:31:12 UTC
Dont know whether this will help but..

# env-update
--- Invalid atom in /etc/portage/package.use: dev-java/jruby::java-overlay
>>> Regenerating /etc/ld.so.cache...
/sbin/ldconfig: /usr/lib/libxklavier.so.12 is not a symbolic link
# source /etc/profile
# unset LDPATH
# env | grep LDPATH
# grep "LDPATH" /etc/profile.env
# grep "LDPATH" /etc/profile
# eselect env update
Regenerating /etc/ld.so.cache...
ldconfig: /usr/lib/libxklavier.so.12 is not a symbolic link

# grep "LDPATH" /etc/profile.env
export LDPATH='/usr/local/lib://usr/lib32/opengl/nvidia/lib://usr/lib64/opengl/nvidia/lib:/lib:/usr/lib:/lib64:/usr/lib64:/usr/local/lib64:/lib32:/usr/lib32:/usr/local/lib32:/usr/x86_64-pc-linux-gnu/lib:/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/32:/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1:/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/32:/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3:/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/32:/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4:/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/32:/usr/lib64/nspr:/usr/lib64/nss:/usr/lib64/xulrunner-1.9.1:/usr/lib64/seamonkey:/usr/lib64/qca2:/usr/lib/qt4:/usr/lib64/qt4:/usr/lib32/qt4:/usr/qt/3/lib:/usr/qt/3/lib64:/usr/qt/3/lib32:/opt/xulrunner:/usr/games/lib:/usr/games/lib64:/usr/games/lib32:/opt/flash-libcompat:/usr/lib64/libstdc++-v3/:/usr/lib32/libstdc++-v3/'
Comment 4 Alistair Bush (RETIRED) gentoo-dev 2009-12-28 21:35:07 UTC
Created attachment 214484 [details]
tarball of env.d
Comment 5 Ulrich Müller gentoo-dev 2009-12-28 22:14:48 UTC
Fixed in SVN r743.
Comment 6 SpanKY gentoo-dev 2009-12-29 06:51:25 UTC
more reason to have eselect stop messing with env.d and let env-update do its job.  it also breaks on COLON_SEPARATED.
Comment 7 Ulrich Müller gentoo-dev 2009-12-31 01:50:46 UTC
Fixed in eselect-1.2.9.
Thank you for pointing this out.