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#37301 - [mesa] promote some makedeps to deps

Attached to Project: Arch Linux
Opened by Emil (xexaxo) - Friday, 11 October 2013, 21:50 GMT
Last edited by Laurent Carlier (lordheavy) - Saturday, 12 October 2013, 10:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To 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:

After the latest rework of the mesa package, I've noticed that mesa is missing a few {make,}deps.
Here is a list of what I've found so far.

Note: lib32-mesa seems to be in the similar shape

For each of the {ati,intel,nouveau,svga}-dri packages
Dependencies
* expat
* libdrm
* gcc-libs

For the mesa package
Dependencies
* libx11
* libxext
* libxfixes
* libxcb
* libxdmcp
* libxau

Makedeps
* expat
+ all of the above mesa dependencies (libx11 is already in the list)

Additional info:
* package version(s)

Steps to reproduce:
* ldd /usr/lib/xorg/modules/dri/*_dri.so
* ldd /usr/lib/mesa-libGL.so.1.2.0
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Saturday, 12 October 2013, 10:02 GMT
Reason for closing:  Not a bug
Comment by Allan McRae (Allan) - Friday, 11 October 2013, 22:45 GMT
Do not use ldd. Use "readelf -d".
Comment by Emil (xexaxo) - Friday, 11 October 2013, 23:02 GMT
Thanks for the tip Allan.
AFAICS the same list pops up with "readelf -d" | grep NEEDED
Comment by Laurent Carlier (lordheavy) - Saturday, 12 October 2013, 10:02 GMT
Let's examine ati/intel/nouveau-dri packages:
* expat->dbus->systemd->mesa->mesa-libgl->ati/intel/nouveau-dri => useless as a dependency of ati/intel/nouveau-dri
* libdrm->mesa->... => useless as dependency of ati/intel/nouveau-dri
* gcc-libs->{libvdpau,elfutils,....}->mesa->... => useless as dependency of ati/intel/nouveau-dri

similar for svga-dri package (TIPS, namcap is useful to detect missing library dependencies)

And so on, everything is correct.

Loading...