Re: possible MBF: automatically detecting unused build dependencies
Hi,
Quoting Jakub Wilk (2014-07-10 12:45:36)
> * Johannes Schauer <j.schauer@email.de>, 2014-07-09, 16:50:
> >should build dependencies which the source package only requires after
> >setting some DEB_BUILD_OPTIONS go into Build-Depends?
>
> Probably not, unless it's one of the optioned blessed by Policy §4.9.1.
> :-)
And even those are probably options which, if enabled, require less build
dependencies than for a full build rather than more.
Once build profiles arrive in stable, it will be possible to add
<!profile.nocheck> to build dependencies which are not needed when specifying
DEB_BUILD_OPTIONS=nocheck.
> >My naive assumption was that the Build-Depends line contains a list of
> >binary packages needed to build the package. Not binary packages that might
> >be needed in some situations during the lifetime of a source package?
>
> Agreed. But here I'd recommend regenerating auto* stuff unconditionally,
> rather than dropping the build-dependencies.
Yes, of course.
cheers, josch
Reply to: