Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316921 - app-admin/eselect-opengl-1.1.1-r2: shouldn't prepend ROOT to library paths in env.d file
Summary: app-admin/eselect-opengl-1.1.1-r2: shouldn't prepend ROOT to library paths in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-24 16:05 UTC by Ambroz Bizjak
Modified: 2011-08-18 17:19 UTC (History)
0 users

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


Attachments
fix for the bug (eselect-opengl-1.1.1-root.patch,941 bytes, patch)
2010-04-24 16:06 UTC, Ambroz Bizjak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ambroz Bizjak 2010-04-24 16:05:31 UTC
When eselect-opengl is run with ROOT=/something, it prepends the root folder to library paths in the generated ${ROOT}/etc/env.d/03opengl. It should not do that, because paths there are local to the rootfs.

Reproducible: Always

Steps to Reproduce:
1. Have a Gentoo userspace with media-libs/mesa installed in /gentoo
2. # ROOT=/gentoo eselect opengl set xorg-x11
Actual Results:  
/gentoo/etc/env.d/03opengl contans LDPATH="/gentoo/usr/lib/opengl/xorg-x11/lib".

Expected Results:  
It should be LDPATH="/usr/lib/opengl/xorg-x11/lib".
Comment 1 Ambroz Bizjak 2010-04-24 16:06:05 UTC
Created attachment 229015 [details, diff]
fix for the bug
Comment 2 SpanKY gentoo-dev 2011-08-18 17:19:47 UTC
thanks ... should be fixed in upcoming eselect-opengl-1.2.4

http://sources.gentoo.org/eselect/trunk/extern/modules/opengl.eselect?r1=823&r2=824