Re: possible MBF: automatically detecting unused build dependencies
On Mon, Jul 7, 2014 at 1:51 PM, Johannes Schauer <email@example.com> wrote:
> Can you spot obvious mistakes in the results or in the procedure used to
> generate them?
There seem to be a bunch of false positives for virtual/metapackages:
==> python-numpy_1.8.1-1.arch-all.unusedbd <==
the -all packages are basically empty packages pulling in all python
versions supported, those packages are definitely used during the
Removing them during an arch-any build should fail the build.
does sbuild --arch-all only build the indep part? If so that might
explain why your pass2 did not remove these, but so far I know we have
no way to declare this state in our control, we only have
Build-Depends and Build-Depends-Indep, no Build-Depends-Arch.
==> fftw3_3.3.4-1.arch-all.unusedbd <==
mpi-default-dev is not used directly but its dependencies are required
for the fully featured arch any build.