@Calimero: AFAIK, that's not a bug. The /usr/lib/debug/.build-id/ subdirectory contains symlinks pointing to the debug info in the correct location and make it easy to find the correct debugging symbols for a binary given just its build-id.
Also: except when things like the debug prefix map is broken by the PKGBUILD, the exact layout of split -debug packages is not controlled by the PKGBUILD, and done by makepkg on its own.
(for an off-topic example: all go packages (e.g. yay) currently don't have working source directories in debug packages, they end up putting /_/github.com and /tmp/go-build into the package)
Pinned Comments
aperez commented on 2018-09-28 08:31 (UTC) (edited on 2019-03-07 16:25 (UTC) by aperez)
IMPORTANT
Please do not flag this package as out-of-date if the only change you need is to update to a newer version. It is not needed because it always fetches the sources using Git and uses the most recent version without needing to modify the PKGBUILD — just rebuild the package.
Also, please try building in a clean chroot before assuming that the PKGBUILD is broken.