Re: Build-Depends-Indep: debhelper, utilizing it in debian/rules clean
Marc 'HE' Brockschmidt <email@example.com> wrote:
> Andreas Metzler <firstname.lastname@example.org> writes:
>> On Fri, Dec 19, 2003 at 03:47:08PM +0100, Roland Stigge wrote:
>>> consider #216747, where a package declares "Build-Depends-Indep:
>>> debhelper" and uses e.g. dh_clean in the debian/rules clean target.
>>> Build-Depends-Indep is defined to be satisfied in the build,
>>> build-indep, binary and binary-indep targets, but not in clean.
>>> For the main distribution, "grep Build-Depends-Indep .../Sources|grep
>>> debhelper|wc -l" results in 1871 packages. I didn't check all of them
>>> but I doubt that many of them also declare "Build-Depends: debhelper" or
>>> don't use dh_clean in the clean target. So >>1000 source packages seem
>>> to behave like the package in #216747.
>> I think you are overestimating the issue. Contrary to policy the
>> buildds do not install Build-Depends-Indep when running
>> debian/rules build so these bugs are found fast.
> *cough* What about Architecture: all?
For these I would consider it more of cosmetical issue than a bug that
hurts (apt-get build and dpkg-buildpackage will force installation of
People just don't realize that using Build-Depends-Indep instead of
Build-Depends for a binary-all package is useless. - There are no
benefits, just the possibility to introduce the bug we are talking
> I've written a lintian check for this issue, see #214231.
Removing the lintian warning build-depends-without-arch-dep might help
a lot, it is the source of most of these.
Hey, da ist ein Ballonautomat auf der Toilette!
Unofficial _Debian-packages_ of latest unstable _tin_