| Summary: | opengl-update: hazardous ebuild | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | harakiri <harakiri> |
| Component: | New packages | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | CC: | x11 |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
harakiri
2003-09-20 14:47:29 UTC
Cannot say I ever had an issue. Yes, changing from xfree to nvidia opengl or such do provide some nice crashes trying to run 3d stuff, but I never had any issues just merging a new version of nvidia-glx. I assume the issue is then more to "have opengl-update display a warning if changing opengl implementation if running X already" ? Also, you never thought to restart X ? Ok, I admit the error could have been to run opengl-update while running X. Yes, I did restart X. Several times. I did reboot several times. I lived with the problem for weeks. The errors only disappeared after emerging nvidia-glx and running opengl-update without X running. But yes, it could possibly be the opengl-command and not the actual nvidia-glx install that caused the problems... As far I could see, the mess is related to env-update. If I run opengl-update nvidia and start X, everything is fine. If I call env-update just after it, I receive the following error when starting X: dlopen: /usr/lib/libGLcore.so.1: undefined symbol: glDepthBoundsNV and the module glx isn't loaded. The strange thing is that opengl-update calls env-update, just before setting the simbolic links to the OpenGL implementation. If you move the command to the final of the script, the bug appears. Another detail: if you call the scripts in the following order: 1- opengl-update nvidia 2- env-update 3- opengl-update nvidia everything works fine. This is strange once the symbolic links env-update inside opengl-update on the third step finds are the same that env-update on the second step finds. I can verify this behaviour on my machine. (Nice hunt Max, thanks) I believe this bug is the same described in #29434 I solved the problem running the NVIDIA-Linux-x86-1.0-4496-pkg0.run script manually. I think the program removed the old libraries versions automatically and, after that, opengl-update nvidia worked out as expected. What old libraries ? As I said in my previous message, this bug is duplicated in #29434 (marked as fixed). When updating the nvidia-glx ebuild from version 1.0.4363 to 1.0.4496, some files weren't removed, causing all the mess. about the only thing to be done is to perhaps add checks to either the nvidia ebuilds or the opengl-update script to make sure there arent multiple copies of the libraries hanging around Mike, IMHO it should be an portage issue if anything - the old libs should really be unmerged with the stale version. who is to say it is portage's fault ? if some bug in a script caused the mtimes or something to be updated on the libraries then portage would have left them there ... |