FS#8075 - package depending on libgl installs fglrx-utils insteed of libgl-dri

Attached to Project: Pacman
Opened by Elyess (elyess) - Friday, 21 September 2007, 00:28 GMT
Last edited by Dan McGee (toofishes) - Saturday, 12 January 2008, 16:55 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To Aaron Griffin (phrakture)
Dan McGee (toofishes)
Architecture All
Severity Medium
Priority Normal
Reported Version 3.0.6
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

when installing any package that depends on libgl you got fglrx-utils which provide some ati drivers insteed of libgl-dri whch is the generic gl library.

fglrx-utils caused x to fail when auto configuring with nvidia fx5200 card and exiting with this backtrace:

Backtrace:
0: Xorg(xf86SigHandler+0x84) [0x80d0574]
1: [0xb7f69420]
2: /usr/lib/xorg/modules/drivers//fglrx_drv.so(atiddxProbeMain+0x11b) [0xb7a0cbfb]
3: Xorg(DoConfigure+0x20c) [0x80ce37c]
4: Xorg(InitOutput+0x66a) [0x809fc0a]
5: Xorg(main+0x27b) [0x806e36b]
6: /lib/libc.so.6(__libc_start_main+0xe0) [0xb7d6cf90]
7: Xorg(FontFileCompleteXLFD+0xa9) [0x806d8b1]


Additional info:
instaled x video drivers: vesa vga nv and fglrx which got installed by fglrx-utils.

with a fresh arch installation.

Steps to reproduce:

example:
force the remove of libgl-dri or fglrx-utils and reinstall mplayer or mesa.

note:
i believe this have something to do with package naming because fglrx-utils and libgl-dri both provides libgl and when installing any packages that depends on libgl it will look for the first it found by alphabitic order (pacman rule) and the first is fglrx-utils.

attached:
full xorg log when failing.
This task depends upon

Closed by  Dan McGee (toofishes)
Saturday, 12 January 2008, 16:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  Pacman handles this better now, and the original naming issue doesn't exist
Comment by Pierre Schmitz (Pierre) - Friday, 21 September 2007, 09:07 GMT
This is a pacman issue. It just installs the first package that provides libgl. Would be nice if pacman would allow you to choose a package if severel possibilities are available.

A workaround is to install the libgl package for your hardware first; in your case install the "nvidia" package.
Comment by Aaron Griffin (phrakture) - Friday, 21 September 2007, 13:29 GMT
Yup this is related to the whole "multiple provider" stuff.

There's a bunch of related bugs, I will find them later. We need a proper heuristic for installing providers to move forward.
Comment by Xavier (shining) - Friday, 21 September 2007, 14:31 GMT
I'm afraid I don't see what kind of heuristic could help for solving this problem.
If you have some ideas, it would be interesting. Maybe this could be discussed on the ML then.

But if there aren't any, letting the user choose would probably be better than just picking the first one, which will often be wrong.
Comment by Roman Kyrylych (Romashka) - Thursday, 15 November 2007, 12:08 GMT
I think we can close this one, there ara reports on "select a package from multiple providers" issue already.
Besides, the reported problem is fixed already by removing libgl-dri from repos.
Comment by Aaron Griffin (phrakture) - Thursday, 15 November 2007, 16:21 GMT
Lets just add it as a dependent bug to one of them.

Loading...