[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#604397: debian-policy: build-arch and build-indep targets are required

* Roger Leigh <rleigh@debian.org>, 2010-11-21, 21:38:
Currently, Build-Depends-Indep isn't useful,

I've heard this many times, but this is not true. B-D-I is useful and many packages use it successfully.

I'd like to propose that build-arch and build-indep be changed in
Policy from "may be provided" to "must be provided" in preparation
for enabling their use.  We've wanted to fix the root problem for
at least half a decade, and I'd like to get it done for wheezy.

The only source packages that could possibly benefit from
build/build-arch/build-indep separation are those which build at least one arch:all package and at least one non-arch:all package. How about making the additional target obligatory only for them? If I calculated correctly that would reduce number of source packages affected by this transition from ~15K to ~2K.

This should probably also be accompanied by a new lintian check which
can warn if these rules are missing.

I think we should be changing policy only after the lintian check is implement and the majority of packages are fixed.

Jakub Wilk

Reply to: