Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51087 - xorg-x11 should fail if opengl-update fails
Summary: xorg-x11 should fail if opengl-update fails
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-14 14:20 UTC by Tuan Van (RETIRED)
Modified: 2004-06-08 00:19 UTC (History)
0 users

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


Attachments
edit /var/cache/edb/virtuals (virtuals,1.26 KB, text/plain)
2004-05-29 17:45 UTC, David
Details
edit /var/cache/edb/virtuals (virtuals,1.26 KB, text/plain)
2004-05-29 17:53 UTC, David
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tuan Van (RETIRED) gentoo-dev 2004-05-14 14:20:04 UTC
I emerge x11-misc/rss-glx and it failed complaint about missing gl.h. Look around and I saw this:

# cat /etc/env.d/09opengl
LDPATH=/usr/lib/opengl/xfree/lib

# cat /etc/ld.so.conf | grep opengl
/usr/lib/opengl/xfree/lib

ATM, I provide a symlink /usr/lib/opengl/xfree --> /usr/lib/opengl/xorg-x11 and I be able to emerge  x11-misc/rss-glx.
Comment 1 Sami Samhuri 2004-05-14 15:52:53 UTC
# opengl-update xorg-x11
Comment 2 Tuan Van (RETIRED) gentoo-dev 2004-05-14 16:21:54 UTC
now I look in the ebuild there is code in 'pkg_postinst()' to do it automatically(?)

                # Switch to the xorg implementation.
                # Use new opengl-update that will not reset user selected
                # OpenGL interface ...
                echo; ${ROOT}/usr/sbin/opengl-update --use-old ${PN}
Comment 3 David 2004-05-29 17:45:57 UTC
Created attachment 32277 [details]
edit /var/cache/edb/virtuals

edit /var/cache/edb/virtuals 
replace virtual/opengl x11-base/xfree by virtual/opengl x11-base/xorg-x11
Comment 4 David 2004-05-29 17:53:54 UTC
Created attachment 32279 [details]
edit /var/cache/edb/virtuals

edit /var/cache/edb/virtuals 
replace virtual/opengl x11-base/xfree by virtual/opengl x11-base/xorg-x11
Comment 5 Tuan Van (RETIRED) gentoo-dev 2004-06-01 08:48:34 UTC
Looking through my bug and bug #51726 hits me. I think the reason opengl-update failed to run when I emerge xorg-x11 because I have the opengl-update on my system overwrited by the livecd-tools. But anyway xorg-x11 should break if it failed to run opengl-update successfully. If you don't agree then please close as the summary is wrong. Sorry for mislead.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2004-06-08 00:19:12 UTC
opengl-update is merely a post-install configuration thing that we run during the xorg-x11 build to make things easier. It can easily be run independently of the build if it doesn't work during it; therefore I'm closing this.