Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#41992 - [xorg-server] missing dependency of libGL

Attached to Project: Arch Linux
Opened by Emil (xexaxo) - Tuesday, 16 September 2014, 15:55 GMT
Last edited by Laurent Carlier (lordheavy) - Sunday, 21 September 2014, 19:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Recently the server nuked 20+kloc which essentially "forced" libglx to link against libGL. While things currently work, it would be nice if we can add the missing (runtime) dependency.

This task depends upon

Closed by  Laurent Carlier (lordheavy)
Sunday, 21 September 2014, 19:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  xorg-server-1.16.1-1
Comment by Jan de Groot (JGC) - Tuesday, 16 September 2014, 22:36 GMT
Libglx is optional, in case of nvidia it's replaced by something in their driver.
As drivers depend on libgl through dri already, I don't see the need for libgl dependency for xorg-server.
Comment by Emil (xexaxo) - Wednesday, 17 September 2014, 11:28 GMT
So let's take a look:
In order to have the server working one can select between nvidia's libglx or the xorg-server one
- package "nvidia-libgl", provides "libgl" contains the file libglx.so
- package "mesa-libgl", provides "libgl" contains the files (symlinks) for libglx.so and libGL.so

So regardless of how I look at it, in order to have a working xorg-server (and a nice prompt at it's install time) one needs a "libgl" provider.
Am I missing something ?

Thanks

P.S.
Regarding the dri/mesa/mesa-libgl dependency I believe it's a bit off yet that's another issue.
Comment by Laurent Carlier (lordheavy) - Friday, 19 September 2014, 08:40 GMT
I've not checked but i don't think glx is mandatory to have a working xorg-server, perhaps i'm wrong?
Comment by Emil (xexaxo) - Friday, 19 September 2014, 10:49 GMT
You are absolutely correct. For glamor users (radeonsi + nouveau/maxwell) one needs libEGL, and the above two packages provide it.
So regardless of how I look at it, adding 'depends "libgl"' for the package seems like the correct thing.
Comment by Laurent Carlier (lordheavy) - Sunday, 21 September 2014, 10:52 GMT
I will add a dependency on libgl for xorg-server, because glamor need it.

It should be available with xorg-server-1.16.1

Loading...