New comment by ahesford on void-packages repository https://github.com/void-linux/void-packages/issues/49207#issuecomment-1997266231 Comment: This is definitely not a bug, but an expected consequence of our decision (implicit or otherwise) not to include source in debug packages. I don't believe shipping source in debug packages is a good idea in general. There are a number of reasons why people might want debug symbols, but in many cases, also having the source sitting around may not be necessary or particularly useful. Having source available for this kinds of things should be an extra opt-in. We don't have a mechanism for that except shipping `-src` packages, which I'm sure nobody wants to do. If you just need some context for debugging your own stuff, it's easy enough to `./xbps-src -I patch ` and look through the source. If you're actually trying to debug packaged software, this may be a bit more cumbersome, but there are probably better ways to debug and test packaged software than by trying to use only the packages. Also note that the generated nature of the header in your example would pose substantial challenges to properly accumulating the source for distribution anyway. I'm marking this WONTFIX; if any Void member wishes to reopen for more discussion, please do so.