On 10/4/20 11:09 PM, Josh Triplett wrote: > libstdc++6, installed on every system due to dependencies, contains > various Python scripts for GDB under /usr/share/gcc-10/python/ . These > scripts should go in a dev package, not in a library package.
There's no part in the policy that requires debugging scripts to be part of the development package, and I think it's not very intuitive. There's also no advocated policy if these scripts should be part of a dbgsym package, and there's no debhelper support to add these files to a dbgsym package. So yes, I think the library package is the correct package to have these files. It makes the library package a little bit bigger, but these don't hurt there.