Hi Fabian, i was able to track the eselect-opengl issue down to a bug(?) in eselect itself. Anyway, see the attached patch against eselect-1.0.8's lib/multilib.bash. eselect opengl list/set works on MacOS and Solaris now. Maybe one should fix prefix' etc/ld.so.conf, so that the grep-ing above the patched branch works? -- Heiko
Created attachment 207142 [details, diff] eselect-multilib-prefix.patch
Guys should we x11 guys do here something in eselect opengl? I found this bug when i searched for eselect-opengl.
@eselect: can you please look at heiko's patch to see if it makes sense to you?
Can you please attach ${EPREFIX}/etc/ld.so.conf from a Prefix system?
There is no such file in Prefix, and if it accidentially was created, it is not used by /lib/ld.so (or alike) at all.
The file should not be used, but Portage generates it regardless, I'll fix that since it makes no sense. My file contains this at the moment: # ld.so.conf autogenerated by env-update; make all changes to # contents of /Library/Gentoo/etc/env.d directory /Library/Gentoo/usr/local/lib //Library/Gentoo/usr/lib/opengl/apple-opengl/lib /Library/Gentoo/usr/powerpc-apple-darwin8/lib /Library/Gentoo/usr/lib/gcc/powerpc-apple-darwin8/4.2.1 /Library/Gentoo/usr/lib/gcc/powerpc-apple-darwin8/4.3.3 /Library/Gentoo/usr/lib/gcc/powerpc-apple-darwin8/4.0.1 /Library/Gentoo/opt/apple-jdk-bin-1.5.0/jre/lib/ppc-macos/ /Library/Gentoo/opt/apple-jdk-bin-1.5.0/jre/lib/ppc-macos/native_threads/ /Library/Gentoo/opt/apple-jdk-bin-1.5.0/jre/lib/ppc-macos/xawt/ /Library/Gentoo/opt/apple-jdk-bin-1.5.0/jre/lib/ppc-macos/server/ /Library/Gentoo//usr/lib/qt4 /Library/Gentoo/usr/games/lib /Library/Gentoo/usr/lib/octave-3.2.0
This is not a prefix specific bug, because it will always fail for non-trivial ${ROOT}. Reassigning.
Created attachment 209982 [details, diff] patch for libs/multilib.bash.in Attached patch fixes it for the case of non-trivial ${ROOT}. Please test if it also fixes the Prefix case.
I can confirm this patch makes eselect-opengl recognise the installed providers again on Prefix. Thanks
Fix committed to SVN (r723).
Ulrich, Do you plan to make a release out of this soon? If not, would you allow me to make a -r1 including your patch to have a working eselect-* packages for Prefix?
Fixed in eselect-1.2.7. Version bump will follow when the distfile has propagated to mirrors.