On Tue, Aug 15, 2023 at 12:11 AM Roberto C. Sánchez <robe...@debian.org> wrote: > > On Tue, Aug 15, 2023 at 12:03:00AM +0800, Shengjing Zhu wrote: > > > > This is not right, you should check the Built-Using field. For example > > grep-dctrl -F Built-Using golang-yaml.v2 -sPackage > > > > This will drop some packages that only use golang-yaml.v2 for tests, > > which don't need to be rebuilt. > > > The webpage which was prepared to document the steps for LTS [0], > includes this: > > Maintainer snippet: excludes source-only/arch-all packages, but misses some > packages such as ‘aptly’ (missing/incomplete Built-Using field): > > apt-cache dumpavail | \ > grep-dctrl \ > -F Built-Using 'golang-1.7' -a \ > '(' --not -F Architecture all ')' \ > -s Source,Package,Version > > The link indicates that it originated from #863956. However, in > discussion with Sylvain (who authored the page) he indicated that for > LTS this is not always a good approach, as Built-Using was much less > reliably available in buster. Are you aware of the situation being > different for buster? >
Individual package maintainers may always have mistakes in their packages, by not properly following Go packaging guide. I don't think this is specific to buster or not. -- Shengjing Zhu