On Thu, Oct 06, 2022 at 09:28:36AM +0200, Antonio Rojas wrote:
El jueves, 6 de octubre de 2022 1:58:46 (CEST) Allan McRae escribió:
* The source files should be located in `/usr/src/debug/${pkgbase}-${pkgver}`
That doesn't seem to be the case. The entire ${srcdir} is installed directly under /usr/src/debug. This can potentially cause conflicts, especially with out-of-tree cmake/meson builds.
Can you provide more details? Anything that uses {C,CXX,RUST}FLAGS should work.
As far as I can see, source files are being copied to /usr/src/debug [1][2]. No ${pkgbase}-${pkgver} subdir is even created
[1] https://gitlab.archlinux.org/pacman/pacman/-/blob/v6.0.2/scripts/libmakepkg/... [2] https://gitlab.archlinux.org/pacman/pacman/-/blob/v6.0.2/scripts/libmakepkg/...
I was apparently confused and missed this when I originally wrote the patch. I submitted a fix for this: https://lists.archlinux.org/archives/list/pacman-dev@lists.archlinux.org/thr... -- Morten Linderud PGP: 9C02FF419FECBE16