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".
Created attachment 229015 [details, diff] fix for the bug
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