Yo!

With the release of pacman 6.0.2 we have now support for debug packages through
`debugedit` as opposed to the awk hack used previously.

https://gitlab.archlinux.org/pacman/pacman/-/commit/ae2f506ddfd1

This should resolve several issues we have had with the existing debug packages
and I want people to test this support.

Please recreate your build chroots and/or reinstall base-devel locally. Enable
debug in a diverse set of packages you maintain. And help validate the current
assumptions:

* Debug packages for Rust, Go* and Julia should work
* Weird /build directories should not exist
* We should have header files
* The source files should be located in `/usr/src/debug/${pkgbase}-${pkgver}`

You can list them easily with `bsdtar -tf *.pkg.tar.zst`

Note pacman is currently in [testing].

In the case for Go we need to disable compressed dwarf headers with 
`-ldflags=-compressdwarf=false`.
It should be the case for any binaries with these headers as well. They can be
recognized with the weird "DWARF version 0 unhandled" error string during
stripping.

Please report back if things look good, or you are looking at weird debug
package structures :) 

If everything looks fine I intend to write an RFC for blanket enabling debug
packages in devtools!

-- 
Morten Linderud
PGP: 9C02FF419FECBE16

Attachment: signature.asc
Description: PGP signature

Reply via email to