recent rpmbuild for redhat creates a second rpm for later install containing debug symbols.
This is a very convenient system for having symbols available for debugging but not clogging up the system until crashes happen and debugging is required.
The end result of this project should be a mk.conf flag or build target (debug-build) which would result in a set of symbol files gdb could use, and which could be distributed with the pkg.
Most parts of this project were done during Google Summer of Code 2016 as part of Split debug symbols for pkgsrc builds project. However, in order to be properly integrated in pkgsrc it will need to support multipkg, some little adjustements and more testing in the wild.