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#13673 - Missing dependency for xorg-server 1.6.0-1

Attached to Project: Arch Linux
Opened by Hao (qft) - Thursday, 05 March 2009, 08:15 GMT
Last edited by Jan de Groot (JGC) - Sunday, 08 March 2009, 14:09 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The packages libdrm and glproto should both be in the makedepends for the xorg-server package, otherwise makepkg is aborted in the configuration phase with the following error message:

checking for GL... configure: error: Package requirements (glproto >= 1.4.9 gl >= 7.1.0) were not met:

No package 'glproto' found
Package libdrm was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libdrm', required by 'gl', not found

The package libdrm should be in the depends section because without it the modules dri and dri2 can not be loaded. The following is from the relevant section of Xorg.0.log:

(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
dlopen: libdrm.so.2: cannot open shared object file: No such file or directory
(EE) Failed to load /usr/lib/xorg/modules/extensions//libdri.so
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (loader failed, 7)
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
dlopen: libdrm.so.2: cannot open shared object file: No such file or directory
(EE) Failed to load /usr/lib/xorg/modules/extensions//libdri2.so
(II) UnloadModule: "dri2"
(EE) Failed to load module "dri2" (loader failed, 7)

Installing libdrm solves this problem.
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 08 March 2009, 14:09 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Thursday, 05 March 2009, 08:24 GMT
The makedepends have been fixed already. For libdrm, mesa needs an extra dependency because the pkgconfig files reference libdrm. This will also fix the dependency problem.

I guess you're an nvidia user, then you don't need dri and dri2 anyways, as Nvidia replaces the whole DRI subsystem with their own binary interface.

Loading...