There's a closed pull request on the void-packages repository [RFC] mesa: reorganize dri drivers subpkgs (fixes debug info) https://github.com/void-linux/void-packages/pull/15683 Description: Aims to fix #12760 and #15104 I believe that two things must be addressed in order to fix the issue: ~~1. xbps-src must be aware of hard links when stripping debug symbols.~~ (EDIT: see third comment) 2. `libGL` must be reorganized by creating a subpackage for each "megadriver" that creates hard links (hard links to the same megadriver must be together in the same subpackage). This is currently just a first step, I moved all the hard links to `libmesa_dri_drivers.so` to a new subpackage `mesa-dri` as a first example. Next would be to create a new subpackage for the aliases to `libgallium_dri.so` and so on, while also removing the current separation by vendors. The final result is going to be a pretty big change in the template structure, so let me know whether it's a good idea or not before I go on.